Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter sheldony

    (@sheldony)

    Hi. I sent an email through your web form on your site. Thanks!

    Thread Starter sheldony

    (@sheldony)

    I can private message the log and the details of the errors.

    Thread Starter sheldony

    (@sheldony)

    I found the answer from another post in the forum using

    function enqueue_wc_cart_fragments() { wp_enqueue_script( ‘wc-cart-fragments’ ); }
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_wc_cart_fragments’ );

    and code snippet. Thanks anyway.

    Thread Starter sheldony

    (@sheldony)

    Nevermind I found the answer on the forum about using

    function enqueue_wc_cart_fragments() { wp_enqueue_script( ‘wc-cart-fragments’ ); }
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_wc_cart_fragments’ );

    and code snippet. Thanks anyway!

    Thread Starter sheldony

    (@sheldony)

    hi @yordansoares do you have any thoughts on how to fix this?

    Thread Starter sheldony

    (@sheldony)

    Hi. I am not using any cache plugin

    Thread Starter sheldony

    (@sheldony)

    hi @webtoffee I just wanted to check in and see if you have any new thoughts.
    Thanks for all your help.

    Thread Starter sheldony

    (@sheldony)

    Oops. Sorry.
    Here is the correct URL.

    https://www.ads-software.com/plugins/flexible-shipping/

    Thread Starter sheldony

    (@sheldony)

    Thread Starter sheldony

    (@sheldony)

    Hi @webtoffee
    I just wanted to check in and see if you have any thoughts on my issues.
    Thanks in advance.

    Thread Starter sheldony

    (@sheldony)

    Hi
    We are also using the “flexible shipping” plugin, woocommerce, and twenty twenty theme. We set up tax through woocommerce settings. 8.875% for only New York deliveries.

    Please let me know your thoughts. Thanks again for the help.

    Thread Starter sheldony

    (@sheldony)

    Hi, I just wanted to check in and see if anyone at @webtoffee have any thoughts about this issue? Thanks in advance.

    Thread Starter sheldony

    (@sheldony)

    I assume the below is what you are requesting? The customer shipping address was in Brooklyn NY for $75 for “tack day seconds bag” first name Logan. Thanks in advance.

    2022-05-23T20:20:04+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_L0aJ5J7OayKzw&order_id=2232&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcheckout%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2232",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Zipper Pull",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "quantity": 1
                    },
                    {
                        "name": "NYC Map",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 34
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Bandolier",
                        "description": "color : Duck Hunter Camo",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 140
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Hemisphere pouch",
                        "description": "color : Charcoal Black",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 39
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Tack Day",
                        "description": "color : Brooklyn Navy",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 121
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 386.51,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 341
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 14
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 31.51
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account "
                    },
                    "address": {
                        "address_line_1": "111 house st",
                        "address_line_2": "",
                        "admin_area_2": "brown",
                        "admin_area_1": "NY",
                        "postal_code": "11222",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:20:05+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "1EG16201KV691171V",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/1EG16201KV691171V",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.sandbox.paypal.com\/checkoutnow?token=1EG16201KV691171V",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/1EG16201KV691171V",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/1EG16201KV691171V\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:20:28+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_s91mpHQGfJHlK&order_id=2233&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcheckout%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2233",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Zipper Pull",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "quantity": 1
                    },
                    {
                        "name": "NYC Map",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 34
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Bandolier",
                        "description": "color : Duck Hunter Camo",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 140
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Hemisphere pouch",
                        "description": "color : Charcoal Black",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 39
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Tack Day",
                        "description": "color : Brooklyn Navy",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 121
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 386.51,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 341
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 14
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 31.51
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account "
                    },
                    "address": {
                        "address_line_1": "111 house st",
                        "address_line_2": "",
                        "admin_area_2": "brown",
                        "admin_area_1": "NY",
                        "postal_code": "11222",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:20:29+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "4W167613VM685512B",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4W167613VM685512B",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.sandbox.paypal.com\/checkoutnow?token=4W167613VM685512B",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4W167613VM685512B",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4W167613VM685512B\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:20:38+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_stzETV3v1ceEB&order_id=2234&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcheckout%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2234",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Zipper Pull",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "quantity": 1
                    },
                    {
                        "name": "NYC Map",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 34
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Bandolier",
                        "description": "color : Duck Hunter Camo",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 140
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Hemisphere pouch",
                        "description": "color : Charcoal Black",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 39
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Tack Day",
                        "description": "color : Brooklyn Navy",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 121
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 386.51,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 341
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 14
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 31.51
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account "
                    },
                    "address": {
                        "address_line_1": "111 house st",
                        "address_line_2": "",
                        "admin_area_2": "brown",
                        "admin_area_1": "NY",
                        "postal_code": "11222",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:20:39+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "8GV75749WG421521F",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.sandbox.paypal.com\/checkoutnow?token=8GV75749WG421521F",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:22:38+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Get Order Details API ) ------------------->
    {
        "id": "8GV75749WG421521F"
    }
    2022-05-23T20:22:38+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Order Details ) ------------------->
    {
        "id": "8GV75749WG421521F",
        "intent": "CAPTURE",
        "status": "APPROVED",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "USD",
                    "value": "386.51",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": "341.00"
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": "14.00"
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": "31.51"
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "[email protected]",
                    "merchant_id": "CC69P8J3C5JQJ",
                    "display_data": {
                        "brand_name": "SSCY \u2013 City of New York"
                    }
                },
                "invoice_id": "SSCY INV-2234",
                "items": [
                    {
                        "name": "black test 1",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "1.00"
                        },
                        "quantity": "1",
                        "description": ""
                    },
                    {
                        "name": "Zipper Pull",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "6.00"
                        },
                        "quantity": "1",
                        "description": ""
                    },
                    {
                        "name": "NYC Map",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "34.00"
                        },
                        "quantity": "1",
                        "description": ""
                    },
                    {
                        "name": "Bandolier",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "140.00"
                        },
                        "quantity": "1",
                        "description": "color : Duck Hunter Camo"
                    },
                    {
                        "name": "Hemisphere pouch",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "39.00"
                        },
                        "quantity": "1",
                        "description": "color : Charcoal Black"
                    },
                    {
                        "name": "Tack Day",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "121.00"
                        },
                        "quantity": "1",
                        "description": "color : Brooklyn Navy"
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "test buyer"
                    },
                    "address": {
                        "address_line_1": "1111 house st",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "test",
                "surname": "buyer"
            },
            "email_address": "[email protected]",
            "payer_id": "4RUKD3UZJNAD6",
            "address": {
                "country_code": "US"
            }
        },
        "create_time": "2022-05-23T20:20:39Z",
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:22:40+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Captue Order API ) ------------------->
    {
        "id": "8GV75749WG421521F"
    }
    2022-05-23T20:22:41+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Capture Order ) ------------------->
    {
        "id": "8GV75749WG421521F",
        "status": "COMPLETED",
        "purchase_units": [
            {
                "reference_id": "default",
                "shipping": {
                    "name": {
                        "full_name": "test buyer"
                    },
                    "address": {
                        "address_line_1": "1111 house st",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                },
                "payments": {
                    "captures": [
                        {
                            "id": "5C256877AL802335K",
                            "status": "PENDING",
                            "status_details": {
                                "reason": "PENDING_REVIEW"
                            },
                            "amount": {
                                "currency_code": "USD",
                                "value": "386.51"
                            },
                            "final_capture": true,
                            "seller_protection": {
                                "status": "NOT_ELIGIBLE"
                            },
                            "invoice_id": "SSCY INV-2234",
                            "links": [
                                {
                                    "href": "https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/5C256877AL802335K",
                                    "rel": "self",
                                    "method": "GET"
                                },
                                {
                                    "href": "https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/5C256877AL802335K\/refund",
                                    "rel": "refund",
                                    "method": "POST"
                                },
                                {
                                    "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F",
                                    "rel": "up",
                                    "method": "GET"
                                }
                            ],
                            "create_time": "2022-05-23T20:22:41Z",
                            "update_time": "2022-05-23T20:22:41Z"
                        }
                    ]
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "test",
                "surname": "buyer"
            },
            "email_address": "[email protected]",
            "payer_id": "4RUKD3UZJNAD6",
            "address": {
                "address_line_1": "1111 house st",
                "admin_area_2": "brooklyn",
                "admin_area_1": "NY",
                "postal_code": "11237",
                "country_code": "US"
            }
        },
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8GV75749WG421521F",
                "rel": "self",
                "method": "GET"
            }
        ]
    }
    2022-05-23T20:23:17+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/cart\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_4yGReplxvBXOw&order_id=2235&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcart%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2235",
                "items": [
                    {
                        "name": "Tack",
                        "description": "color : Brooklyn Navy Cotton Twill",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 220
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 249.87,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 220
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 9.5
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 20.37
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account "
                    },
                    "address": {
                        "address_line_1": "111 house st",
                        "address_line_2": "",
                        "admin_area_2": "brown",
                        "admin_area_1": "NY",
                        "postal_code": "11222",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:23:18+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "3KN70030YX587583L",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.sandbox.paypal.com\/checkoutnow?token=3KN70030YX587583L",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:24:03+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Get Order Details API ) ------------------->
    {
        "id": "3KN70030YX587583L"
    }
    2022-05-23T20:24:04+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Order Details ) ------------------->
    {
        "id": "3KN70030YX587583L",
        "intent": "CAPTURE",
        "status": "APPROVED",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "USD",
                    "value": "249.87",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": "220.00"
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": "9.50"
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": "20.37"
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "[email protected]",
                    "merchant_id": "CC69P8J3C5JQJ",
                    "display_data": {
                        "brand_name": "SSCY \u2013 City of New York"
                    }
                },
                "invoice_id": "SSCY INV-2235",
                "items": [
                    {
                        "name": "Tack",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "220.00"
                        },
                        "quantity": "1",
                        "description": "color : Brooklyn Navy Cotton Twill"
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "Test Buyer"
                    },
                    "address": {
                        "address_line_1": "1 Main St",
                        "admin_area_2": "San Jose",
                        "admin_area_1": "CA",
                        "postal_code": "95131",
                        "country_code": "US"
                    }
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "Test",
                "surname": "Buyer"
            },
            "email_address": "[email protected]",
            "payer_id": "JVHS24MQPFSXS",
            "address": {
                "country_code": "US"
            }
        },
        "create_time": "2022-05-23T20:23:18Z",
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:24:11+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Captue Order API ) ------------------->
    {
        "id": "3KN70030YX587583L"
    }
    2022-05-23T20:24:12+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Capture Order ) ------------------->
    {
        "id": "3KN70030YX587583L",
        "status": "COMPLETED",
        "purchase_units": [
            {
                "reference_id": "default",
                "shipping": {
                    "name": {
                        "full_name": "Test Buyer"
                    },
                    "address": {
                        "address_line_1": "1 Main St",
                        "admin_area_2": "San Jose",
                        "admin_area_1": "CA",
                        "postal_code": "95131",
                        "country_code": "US"
                    }
                },
                "payments": {
                    "captures": [
                        {
                            "id": "0TF72492XB324611K",
                            "status": "PENDING",
                            "status_details": {
                                "reason": "PENDING_REVIEW"
                            },
                            "amount": {
                                "currency_code": "USD",
                                "value": "249.87"
                            },
                            "final_capture": true,
                            "seller_protection": {
                                "status": "NOT_ELIGIBLE"
                            },
                            "invoice_id": "SSCY INV-2235",
                            "links": [
                                {
                                    "href": "https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/0TF72492XB324611K",
                                    "rel": "self",
                                    "method": "GET"
                                },
                                {
                                    "href": "https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/0TF72492XB324611K\/refund",
                                    "rel": "refund",
                                    "method": "POST"
                                },
                                {
                                    "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L",
                                    "rel": "up",
                                    "method": "GET"
                                }
                            ],
                            "create_time": "2022-05-23T20:24:11Z",
                            "update_time": "2022-05-23T20:24:11Z"
                        }
                    ]
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "Test",
                "surname": "Buyer"
            },
            "email_address": "[email protected]",
            "payer_id": "JVHS24MQPFSXS",
            "address": {
                "address_line_1": "1 Main St",
                "admin_area_2": "San Jose",
                "admin_area_1": "CA",
                "postal_code": "95131",
                "country_code": "US"
            }
        },
        "links": [
            {
                "href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/3KN70030YX587583L",
                "rel": "self",
                "method": "GET"
            }
        ]
    }
    2022-05-23T20:46:34+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_OyvSUMseydvtF&order_id=2236&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcheckout%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2236",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 7.62,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0.62
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account "
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:46:35+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "73G422524X4862148",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/73G422524X4862148",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=73G422524X4862148",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/73G422524X4862148",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/73G422524X4862148\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:47:54+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_dH1vzrDA5zK6e&order_id=2237&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcheckout%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2237",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 7.62,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0.62
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:47:54+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "2EN96346R32722623",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=2EN96346R32722623",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:48:36+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Get Order Details API ) ------------------->
    {
        "id": "2EN96346R32722623"
    }
    2022-05-23T20:48:37+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Order Details ) ------------------->
    {
        "id": "2EN96346R32722623",
        "intent": "CAPTURE",
        "status": "APPROVED",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "USD",
                    "value": "7.62",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": "1.00"
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": "6.00"
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": "0.62"
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "[email protected]",
                    "merchant_id": "SMGP2RDQBMLFY",
                    "display_data": {
                        "brand_name": "SSCY \u2013 City of New York"
                    }
                },
                "invoice_id": "SSCY INV-2237",
                "items": [
                    {
                        "name": "black test 1",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "1.00"
                        },
                        "quantity": "1",
                        "description": ""
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "test account"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "seldon",
                "surname": "yuan"
            },
            "email_address": "[email protected]",
            "payer_id": "9ZSD58S7GA3SW",
            "address": {
                "country_code": "US"
            }
        },
        "create_time": "2022-05-23T20:47:54Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:48:38+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Captue Order API ) ------------------->
    {
        "id": "2EN96346R32722623"
    }
    2022-05-23T20:48:39+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Capture Order ) ------------------->
    {
        "id": "2EN96346R32722623",
        "status": "COMPLETED",
        "purchase_units": [
            {
                "reference_id": "default",
                "shipping": {
                    "name": {
                        "full_name": "test account"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                },
                "payments": {
                    "captures": [
                        {
                            "id": "5SU930659F376571T",
                            "status": "COMPLETED",
                            "amount": {
                                "currency_code": "USD",
                                "value": "7.62"
                            },
                            "final_capture": true,
                            "seller_protection": {
                                "status": "ELIGIBLE",
                                "dispute_categories": [
                                    "ITEM_NOT_RECEIVED",
                                    "UNAUTHORIZED_TRANSACTION"
                                ]
                            },
                            "seller_receivable_breakdown": {
                                "gross_amount": {
                                    "currency_code": "USD",
                                    "value": "7.62"
                                },
                                "paypal_fee": {
                                    "currency_code": "USD",
                                    "value": "0.76"
                                },
                                "net_amount": {
                                    "currency_code": "USD",
                                    "value": "6.86"
                                }
                            },
                            "invoice_id": "SSCY INV-2237",
                            "links": [
                                {
                                    "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5SU930659F376571T",
                                    "rel": "self",
                                    "method": "GET"
                                },
                                {
                                    "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5SU930659F376571T\/refund",
                                    "rel": "refund",
                                    "method": "POST"
                                },
                                {
                                    "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623",
                                    "rel": "up",
                                    "method": "GET"
                                }
                            ],
                            "create_time": "2022-05-23T20:48:38Z",
                            "update_time": "2022-05-23T20:48:38Z"
                        }
                    ]
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "seldon",
                "surname": "yuan"
            },
            "email_address": "[email protected]",
            "payer_id": "9ZSD58S7GA3SW",
            "address": {
                "address_line_1": "101 wyckoff ave",
                "address_line_2": "4c",
                "admin_area_2": "brooklyn",
                "admin_area_1": "NY",
                "postal_code": "11237",
                "country_code": "US"
            }
        },
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2EN96346R32722623",
                "rel": "self",
                "method": "GET"
            }
        ]
    }
    2022-05-23T20:49:09+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/cart\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_Q7da5Px6eAVee&order_id=2238&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcart%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2238",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 7.62,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0.62
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:49:10+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "0CH06750GV0793541",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0CH06750GV0793541",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=0CH06750GV0793541",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0CH06750GV0793541",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0CH06750GV0793541\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:49:19+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "SSCY \u2013 City of New York",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "GET_FROM_FILE",
            "user_action": "PAY_NOW",
            "return_url": "https:\/\/www.sscy.org\/wp\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/www.sscy.org\/wp\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/www.sscy.org\/wp\/cart\/?cancel_order=true&order=wc_order_ddnry9rv2bkMj&order_id=2239&redirect=https%3A%2F%2Fwww.sscy.org%2Fwp%2Fcheckout%2F&_wpnonce=2e4ff84945&cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "invoice_id": "SSCY INV-2239",
                "items": [
                    {
                        "name": "black test 1",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "quantity": 1
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 7.62,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 1
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 6
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0.62
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "test account"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2022-05-23T20:49:19+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "08S55436C3766650F",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=08S55436C3766650F",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:51:36+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Get Order Details API ) ------------------->
    {
        "id": "08S55436C3766650F"
    }
    2022-05-23T20:51:36+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Order Details ) ------------------->
    {
        "id": "08S55436C3766650F",
        "intent": "CAPTURE",
        "status": "APPROVED",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "USD",
                    "value": "7.62",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": "1.00"
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": "6.00"
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": "0.62"
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "[email protected]",
                    "merchant_id": "SMGP2RDQBMLFY",
                    "display_data": {
                        "brand_name": "SSCY \u2013 City of New York"
                    }
                },
                "invoice_id": "SSCY INV-2239",
                "items": [
                    {
                        "name": "black test 1",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": "1.00"
                        },
                        "quantity": "1",
                        "description": ""
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "seldon yuan"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "seldon",
                "surname": "yuan"
            },
            "email_address": "[email protected]",
            "payer_id": "GPZ49BD3TLDJE",
            "address": {
                "country_code": "US"
            }
        },
        "create_time": "2022-05-23T20:49:19Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2022-05-23T20:51:37+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Captue Order API ) ------------------->
    {
        "id": "08S55436C3766650F"
    }
    2022-05-23T20:51:38+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Capture Order ) ------------------->
    {
        "id": "08S55436C3766650F",
        "status": "COMPLETED",
        "purchase_units": [
            {
                "reference_id": "default",
                "shipping": {
                    "name": {
                        "full_name": "seldon yuan"
                    },
                    "address": {
                        "address_line_1": "101 wyckoff ave",
                        "address_line_2": "4c",
                        "admin_area_2": "brooklyn",
                        "admin_area_1": "NY",
                        "postal_code": "11237",
                        "country_code": "US"
                    }
                },
                "payments": {
                    "captures": [
                        {
                            "id": "7H2461618T799523L",
                            "status": "COMPLETED",
                            "amount": {
                                "currency_code": "USD",
                                "value": "7.62"
                            },
                            "final_capture": true,
                            "seller_protection": {
                                "status": "ELIGIBLE",
                                "dispute_categories": [
                                    "ITEM_NOT_RECEIVED",
                                    "UNAUTHORIZED_TRANSACTION"
                                ]
                            },
                            "seller_receivable_breakdown": {
                                "gross_amount": {
                                    "currency_code": "USD",
                                    "value": "7.62"
                                },
                                "paypal_fee": {
                                    "currency_code": "USD",
                                    "value": "0.72"
                                },
                                "net_amount": {
                                    "currency_code": "USD",
                                    "value": "6.90"
                                }
                            },
                            "invoice_id": "SSCY INV-2239",
                            "links": [
                                {
                                    "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/7H2461618T799523L",
                                    "rel": "self",
                                    "method": "GET"
                                },
                                {
                                    "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/7H2461618T799523L\/refund",
                                    "rel": "refund",
                                    "method": "POST"
                                },
                                {
                                    "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F",
                                    "rel": "up",
                                    "method": "GET"
                                }
                            ],
                            "create_time": "2022-05-23T20:51:37Z",
                            "update_time": "2022-05-23T20:51:37Z"
                        }
                    ]
                }
            }
        ],
        "payer": {
            "name": {
                "given_name": "seldon",
                "surname": "yuan"
            },
            "email_address": "[email protected]",
            "payer_id": "GPZ49BD3TLDJE",
            "address": {
                "address_line_1": "101 wyckoff ave",
                "address_line_2": "4c",
                "admin_area_2": "brooklyn",
                "admin_area_1": "NY",
                "postal_code": "11237",
                "country_code": "US"
            }
        },
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/08S55436C3766650F",
                "rel": "self",
                "method": "GET"
            }
        ]
    }
    Thread Starter sheldony

    (@sheldony)

    Thank you for the plugin suggestion. It’s a good quick fix even if it has some disadvantages. Very grateful for your help and suggestions!

    Thread Starter sheldony

    (@sheldony)

    Amazing! Thank you so much!

Viewing 15 replies - 1 through 15 (of 18 total)