• Hello!

    We have the problem that many customers (payment via Paypal). The customer applies a coupon code, in the checkout the coupon code is displayed correctly, also with Paypal. This amount (order total minus discount) is authorized at Paypal. However, WordPress then wants to debit the amount without the discount. Why the order is rejected

    After checking the logs in our system, I found the following values:

    "amount": {
    "currency_code": "EUR",
    "value": "48.16",
    "breakdown": {
    "item_total": {
    "currency_code": "EUR",
    "value": "58.02"
    },
    "shipping": {
    "currency_code": "EUR",
    "value": "0.00"
    },
    "tax_total": {
    "currency_code": "EUR",
    "value": "0.00"
    },
    "discount": {
    "currency_code": "EUR",
    "value": "9.86"
    }
    }

    It appears that the attempted amount of 58.02 euros does not have a discount of 9.86 euros applied.

    Translated with www.DeepL.com/Translator (free version)

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

Viewing 1 replies (of 1 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @daniel12344

    Typically, most payment gateways initiate the payment procedure after the WooCommerce order creation. However, the PayPal Payments plugin creates the PayPal order before the WooCommerce order. That’s why the updated order totals may not be visible on the PayPal popup when they were changed too late in the process with the incorrect hook.

    iI would be helpful to know more about how you are applying these coupons. If you could share the specific conditions under which the coupons are applied, or the name of the plugin used for generating these coupons, that would be immensely helpful. It’s possible that the current coupon plugin might not be fully compatible with the PayPal Payments plugin, and identifying this could lead us to a more robust solution.

    Kind Regards,

    Krystian

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.