• Resolved leone77

    (@leone77)


    Several people reported an error when checking out and using a voucher with a discount code. The mollie software returns an error:

    “Error executing API call: (422 Unprocessable Entity): the amount of the order does not match the total amount from the order lines. Expected order amount 39,44 but got 19,44)

    Duh.. yes because we used a € 20,- store credit coupon. Please can this be fixed urgently?

    • This topic was modified 3 years ago by leone77.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @leone77,

    I assume those are not regular WooCommerce coupons? Could you please provide more details about how you apply the discount code, e.g. with a plugin?
    You can always revert back to the previous Mollie version if you encounter any issues with the latest update: https://downloads.www.ads-software.com/plugin/mollie-payments-for-woocommerce.7.0.2.zip
    Thanks!

    Kind regards,
    Niklas

    Thread Starter leone77

    (@leone77)

    Thank you. We use the Smart Coupons for WooCommerce plugin from Webtoffee; this is an extension of the normal WooCommerce coupons and should use the same process. We were using Mollie 6.3.1 plugin before updating. This worked fine.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Could you please send us a private message with a copy of the discount plugin?: https://mollie.inpsyde.com/docs/request-support/
    Please also include a link to this thread.
    We can’t reproduce the reported behavior with the regular WooCommerce coupon codes, so we would need to give it a try with the plugin. Then we should be able to find a solution for you.
    Thanks!

    Kind regards,
    Niklas

    RAM050

    (@allardreisiger)

    Jaap de Wit

    (@hitec4ever)

    @niklasinpsyde I also have the same issue. Using WooCommerce Discount Rules Pro 2.0.

    Error: [2022-03-22T09:36:14+0000] Error executing API call (422: Unprocessable Entity): The amount of the order does not match the total amount from the order lines. Expected order amount to be €115.04 but got €114.00. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"status":422,"title":"Unprocessable Entity","detail":"The amount of the order does not match the total amount from the order lines. Expected order amount to be \u20ac115.04 but got \u20ac114.00","field":"amount","_links":{"documentation":{"href":"https://docs.mollie.com/overview/handling-errors","type":"text/html"}}}. Field: amount

    Regards,
    Jaap

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi everyone,

    From our experience, the discount rules plugin usually works better when setting Apply cart discount as to Cart instead of Fee.
    In any case, please give it a try with the latest version 7.0.4 as this should resolve the issue and let us know if anything remains unclear.
    Thanks!

    Kind regards,
    Niklas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mollie Payment in cobination with discount voucher error’ is closed to new replies.