• Resolved aldyofficial

    (@aldyofficial)


    Hello @webtoffee

    My woocommerce store is using 2 currencies, IDR and USD, so in order to use Paypal as the payment gateway, my customer must change the currency into USD. All things work in checkout page, the shipping cost and handling fee are all displayed in the checkout page.

    The problem is when you proceed to make the payment in PayPal, the total there does not include shipping costs and the handling fee.

    Can you help with this issue?

    Best regards

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter aldyofficial

    (@aldyofficial)

    to make it more clear, here I attached images from the settings, checkout and the paypal payment page.

    https://tamanhayat.com/wp-content/uploads/2023/03/paypal-settings.png

    https://tamanhayat.com/wp-content/uploads/2023/03/paypal-checkout.png

    https://tamanhayat.com/wp-content/uploads/2023/03/paypal-paymentpage.png

    as you can see I’m using extre fee plugin (handling fee), I already looking for answers from this support forum that sometimes extra fee plugin can be the problem, so I already try to inactive the plugin and try it again, but the result is still the same, shipping price not calculated / included in the paypal payment page.

    hope you can help us solve this problem.

    best regards,

    Frinaldy Wibianto

    Thread Starter aldyofficial

    (@aldyofficial)

    Sorry for multiple post, here I also attached the log, I can see that the shipping and handling fee value is 0.

    2023-03-10T04:13:45+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Access token response ) ------------------->
    {
        "scope": "https:\/\/uri.paypal.com\/services\/checkout\/one-click-with-merchant-issued-token https:\/\/uri.paypal.com\/services\/invoicing https:\/\/uri.paypal.com\/services\/vault\/payment-tokens\/read https:\/\/uri.paypal.com\/services\/disputes\/read-buyer https:\/\/uri.paypal.com\/services\/payments\/realtimepayment https:\/\/uri.paypal.com\/services\/disputes\/update-seller https:\/\/uri.paypal.com\/services\/payments\/payment\/authcapture openid https:\/\/uri.paypal.com\/services\/disputes\/read-seller Braintree:Vault https:\/\/uri.paypal.com\/services\/payments\/refund https:\/\/api.paypal.com\/v1\/vault\/credit-card https:\/\/uri.paypal.com\/services\/billing-agreements https:\/\/api.paypal.com\/v1\/payments\/.* https:\/\/uri.paypal.com\/payments\/payouts https:\/\/uri.paypal.com\/services\/vault\/payment-tokens\/readwrite https:\/\/api.paypal.com\/v1\/vault\/credit-card\/.* https:\/\/uri.paypal.com\/services\/shipping\/trackers\/readwrite https:\/\/uri.paypal.com\/services\/subscriptions https:\/\/uri.paypal.com\/services\/applications\/webhooks",
        "token_type": "Bearer",
        "app_id": "APP-2GK3142062938883J",
        "expires_in": 32400,
        "nonce": "2023-03-10T04:13:45ZJ6CIHpFSvr0ErYScsIyVz8CGGKbBDLv5Soqi9yybaxE"
    }
    2023-03-10T04:13:45+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "Taman Hayat",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "SET_PROVIDED_ADDRESS",
            "user_action": "CONTINUE",
            "return_url": "https:\/\/tamanhayat.com\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/tamanhayat.com\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/tamanhayat.com\/checkout\/?cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "items": [
                    {
                        "name": "NAUTILUS RVMP 25 [\u00d818,4cm | H14cm]",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 53.7
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Extra line item",
                        "description": "",
                        "quantity": 1,
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 0.3
                        }
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 54,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 54
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "handling": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "Frinaldy Wibianto"
                    },
                    "address": {
                        "address_line_1": "Jl.Petojo utara 7 no.159",
                        "address_line_2": "",
                        "admin_area_2": "Kota Jakarta Pusat",
                        "admin_area_1": "6",
                        "postal_code": "10130",
                        "country_code": "ID"
                    }
                }
            }
        ]
    }
    2023-03-10T04:13:45+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "11S74888W82471428",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/11S74888W82471428",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=11S74888W82471428",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/11S74888W82471428",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/11S74888W82471428\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2023-03-10T04:14:15+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "Taman Hayat",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "SET_PROVIDED_ADDRESS",
            "user_action": "CONTINUE",
            "return_url": "https:\/\/tamanhayat.com\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/tamanhayat.com\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/tamanhayat.com\/checkout\/?cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "items": [
                    {
                        "name": "NAUTILUS RVMP 25 [\u00d818,4cm | H14cm]",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 53.7
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Extra line item",
                        "description": "",
                        "quantity": 1,
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 0.3
                        }
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 54,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 54
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "handling": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "Frinaldy Wibianto"
                    },
                    "address": {
                        "address_line_1": "Jl.Petojo utara 7 no.159",
                        "address_line_2": "",
                        "admin_area_2": "Kota Jakarta Pusat",
                        "admin_area_1": "6",
                        "postal_code": "10130",
                        "country_code": "ID"
                    }
                }
            }
        ]
    }
    2023-03-10T04:14:16+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "3CB89849V43777250",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/3CB89849V43777250",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=3CB89849V43777250",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/3CB89849V43777250",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/3CB89849V43777250\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    2023-03-10T07:19:27+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Create Order API ) ------------------->
    {
        "intent": "CAPTURE",
        "application_context": {
            "brand_name": "Taman Hayat",
            "locale": "en-US",
            "landing_page": "BILLING",
            "shipping_preference": "SET_PROVIDED_ADDRESS",
            "user_action": "CONTINUE",
            "return_url": "https:\/\/tamanhayat.com\/wc-api\/Eh_PayPal_Express_Payment\/?c=order_details&p=https:\/\/tamanhayat.com\/checkout\/&intent=CAPTURE",
            "cancel_url": "https:\/\/tamanhayat.com\/checkout\/?cancel_express_checkout=cancel"
        },
        "purchase_units": [
            {
                "items": [
                    {
                        "name": "NAUTILUS RVMP 25 [\u00d818,4cm | H14cm]",
                        "description": "",
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 53.7
                        },
                        "quantity": 1
                    },
                    {
                        "name": "Extra line item",
                        "description": "",
                        "quantity": 1,
                        "unit_amount": {
                            "currency_code": "USD",
                            "value": 0.3
                        }
                    }
                ],
                "amount": {
                    "currency_code": "USD",
                    "value": 54,
                    "breakdown": {
                        "item_total": {
                            "currency_code": "USD",
                            "value": 54
                        },
                        "shipping": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "tax_total": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "shipping_discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "discount": {
                            "currency_code": "USD",
                            "value": 0
                        },
                        "handling": {
                            "currency_code": "USD",
                            "value": 0
                        }
                    }
                },
                "shipping": {
                    "name": {
                        "full_name": "Frinaldy Wibianto"
                    },
                    "address": {
                        "address_line_1": "3448 Ile De France St #242",
                        "address_line_2": "",
                        "admin_area_2": "Fort Wainwright",
                        "admin_area_1": "AK",
                        "postal_code": "99703",
                        "country_code": "US"
                    }
                }
            }
        ]
    }
    2023-03-10T07:19:27+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) ------------------->
    {
        "id": "91D32073NA006283C",
        "status": "CREATED",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/91D32073NA006283C",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/www.paypal.com\/checkoutnow?token=91D32073NA006283C",
                "rel": "approve",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/91D32073NA006283C",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/91D32073NA006283C\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ]
    }
    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @aldyofficial,

    Greetings from WebToffee support.

    It seems like the Shipping fee and the handling fee is not forwarded to PayPal. The issue is possibly due to conflicts with the plugins providing the shipping and handling fees.

    Kindly share the URLs of these plugins so we can take a better look.

    Thread Starter aldyofficial

    (@aldyofficial)

    Hello @webtoffeesupport

    thank you for your response, here are the URLS of the plugins :

    Shipping: https://www.ads-software.com/plugins/woongkir/ or https://tonjoostudio.com/product/woo-ongkir/ (it’s basically the same)

    Handling Fee: https://www.ads-software.com/plugins/woo-conditional-product-fees-for-checkout/

    I hope this details can help, please let me know if more details needed.

    Thread Starter aldyofficial

    (@aldyofficial)

    Hello @webtoffeesupport

    Any updates for this issue? We are thinking about buy the pro version of this plugin, is it will help us solve the issue or it has nothing to do with it?

    I hope you guys can respond out question a bit faster because our client keep asking about the updates.

    Regards,

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @aldyofficial,

    We will check with these plugins and let you know if anything.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @aldyofficial,

    We checked the PayPal Express Checkout plugin with the Extra fee plugin and it was working for us as expected. The fee is correctly passed to PayPal and saved in orders. Please see the attached screen recording for reference: https://vimeo.com/814892057

    However, we weren’t able to set up the shipping plugin. So we couldn’t check its compatibility with the PayPal Express Checkout plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shipping Cost Not Included in Paypal Payment Page’ is closed to new replies.