• A customer tried to order through our webshop several times in vain.
    Each time he obtained the message “Error – Amount must match the 3D Secure authorization amount.”

    We are using
    Wordpress 5.30,
    WooCommerce 3.8.1, and the
    WooCommerce Braintree Gateway 1.9.3
    WooCommerce EU VAT Number
    WooCommerce Services 1.22.1
    Theme: Escapade

    I asked Braintree for support and they supplied the following (I have changed the name, email address, merchant_id and IP because of GDPR):

    <—

    A snippet of the parameters sent for one of the transactions that resulted in an error.
    “Parameters: {\”transaction\”=>{\”type\”=>\”sale\”, \”amount\”=>\”199.20\”, \”payment_method_nonce\”=>\”0c7ef01b-7e9a-0b5b-f0c0-679afdf60267\”, \”channel\”=>\”TipsandTricks_SP\”, \”customer\”=>{\”first_name\”=>\”Christopher\”, \”last_name\”=>\”*…***\”, \”phone\”=>nil, \”email\”=>\”*…***@*…**.uk\”}, \”options\”=>{\”submit_for_settlement\”=>true}}, \”merchant_id\”=>\”…\”}”

    Now here is a snippet of the 3D Secure request sent by your integration.

    “Parameters: {\”amount\”=>\”166\”, \”braintreeLibraryVersion\”=>\”braintree/web/3.43.0\”, \”_meta\”=>{\”merchantAppId\”=>\”polyhedron.com\”, \”platform\”=>\”web\”, \”sdkVersion\”=>\”3.43.0\”, \”source\”=>\”client\”, \”integration\”=>\”custom\”, \”integrationType\”=>\”custom\”, \”sessionId\”=>\”7a66d338-2d09-4759-9bbf-6d19e59fb828\”},\”merchant_id\”=>\”…\”, \”version\”=>\”1\”, \”payment_method_nonce\”=>\”tokencc_bh_5f3s6k_7pf9b6_bsfpvp_3hnkxj_8d6\”}” […]

    During the 3D Secure authentication, an amount of 166 was authenticated. After the 3D Secure authentication, a transaction request of 199.20 was created, leading to the error. You need to make sure that the amount you pass on the client-side(3DS amount) matches the amount you pass with your server-side Transaction Sale API call.

    –>

    “WooCommerce” provides the following data (for the most recent attempt):
    IP Address 130….
    IP Country United Kingdom (UK)
    Billing Country United Kingdom (UK)

    Order notes:
    Unpaid order cancelled – time limit reached. Order status changed from Pending payment to Cancelled.
    December 10, 2019 at 5:47 pm

    The amount is £199.20 (£166.00 + VAT £33.20)

    The customer tried
    December 10, 2019 at 5:47 pm
    December 10, 2019 at 12:32 pm
    December 6, 2019 at 5:31 pm
    December 6, 2019 at 1:27 pm

    I should mention that there have been a few orders that were successfully processed, even with VAT.

    Hope you can help us. Thank you.

    Kind regards,

    Joerg

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter wp4jk

    (@wp4jk)

    Thank you. I have used now version 1.9.4t2. Same procedure as before – and, sorry, same result. The “3D Secure Windows” still shows the subtotal (and not the total incl. the VAT) and so the result is: “Error – Amount must match the 3D Secure authorization amount.”
    Is there a way to obtain the ‘Total’ amount displayed in the ‘CheckOut view’ instead of that shown in the ‘Basket view’?

    Thread Starter wp4jk

    (@wp4jk)

    Thank you. I have tried version 1.9.4t2, but – sorry – I get the same result. Once the ‘Total’ in the “Basket view” is different from that in the “Checkout view”, things go awry and end up in “Error – Amount must match the 3D Secure authorization amount.” The 3D secure window (popping up after CC details have been entered and the ‘Place order’ button has been pressed) shows the amount of the ‘Total’ in the “Basket view”.
    Does this
    https://stackoverflow.com/questions/39529582/woocommerce-get-total-on-checkout-page
    help?

    Thread Starter wp4jk

    (@wp4jk)

    Dear Alexander,
    since the VAT problem still persists, I wonder if an update to v4.3.1 of WooCommerce will help (we are still running 3.9.3).
    Is your WooCommerce Braintree Payment Gateway 1.9.4 compatible with WooCommerce 4.3.1?

    Joerg

    Plugin Support Alexander C.

    (@alexanderfoxc)

    Hi Joerg.

    Is your WooCommerce Braintree Payment Gateway 1.9.4 compatible with WooCommerce 4.3.1?

    Yep. At least there were no reports it isn’t.

    since the VAT problem still persists, I wonder if an update to v4.3.1 of WooCommerce will help (we are still running 3.9.3).

    I doubt it. Since the issue is caused by a possible conflict between plugins, the only way to get this fixed is to figure out why this is happening using your setup. Perhaps you have a staging or dev site where I can have a look at the things in your environment?

    Thread Starter wp4jk

    (@wp4jk)

    Hi Alexander,
    thanks a lot for your quick reply.
    I have WordPress, WooCommerce and all the other plugins updated to the most recent version.
    The system status report only complains about the following issues:
    ### Active Plugins (8) ###

    Visual Form Builder: by Matthew Muro – 3.0.1
    WooCommerce Braintree Payment Gateway: by wp.insider – 1.9.4 – Installed version not tested with active version of WooCommerce 4.3.1
    WooCommerce EU VAT Number: by WooCommerce – 2.3.14 – Installed version not tested with active version of WooCommerce 4.3.1
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 (I think we don’t use this plugin).
    WooCommerce Services: by Automattic – 1.23.2 – Installed version not tested with active version of WooCommerce 4.3.1
    WooCommerce: by Automattic – 4.3.1

    Let’s see if this help to solve the problem.

    Unfortunately we don’t have a staging or development site. For debugging, would you need administror rights only to the WordPress website or to our complete webspace (e.g. to access files individually)? Or can I prepare something that would help you for testing?

    Plugin Support Alexander C.

    (@alexanderfoxc)

    Good start would be if you can provide URL to your website so I can have a closer look.

    Thread Starter wp4jk

    (@wp4jk)

    Thread Starter wp4jk

    (@wp4jk)

    Hello again,

    unfortunately, the problem still persists. Today we had the case that someone from the UK ordered some item, but his payment was blocked. He wrote:
    I’ve tried to make the purchase on your (new?) website, however it is impossible to complete. The reason for this, it seems, is that the card validation is failing because the amount requested at validation is the subtotal (£253), excluding VAT, however the subsequent request is the full amount, which is automatically blocked (please see images below).

    At present we use the following plugin versions:

    Jetpack by WordPress.com: by Automattic – 8.9.1
    TablePress: by Tobias B?thge – 1.12
    Visual Form Builder: by Matthew Muro – 3.0.1
    WooCommerce Braintree Payment Gateway: by wp.insider – 1.9.4 – Installed version not tested with active version of WooCommerce 4.5.2
    WooCommerce EU VAT Number: by WooCommerce – 2.3.23 – Installed version not tested with active version of WooCommerce 4.5.2
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 – Installed version not tested with active version of WooCommerce 4.5.2
    WooCommerce Services: by Automattic – 1.24.3 – Installed version not tested with active version of WooCommerce 4.5.2
    WooCommerce: by Automattic – 4.5.2

    Is there anything we can do about it?

    Joerg

    Thread Starter wp4jk

    (@wp4jk)

    Just an update:

    The problem still persists.

    Today a customer from the UK reported (again) that a purchase failed because of

    Error – Amount must match the 3D Secure authorization amount.

    If someone knows an alternative plugin for the BraintreePayment Gateway that works, I’d be happy to know about.

    Current plugin status:
    WordPress address (URL): https://polyhedron.com
    Site address (URL): https://polyhedron.com
    WC Version: 4.8.0
    REST API Version: ? 4.8.0
    WC Blocks Version: ? 3.8.1
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.7.3
    Log Directory Writable: ?
    WP Version: ? 5.5.3 – There is a newer version of WordPress available (5.6)

    WC Database Version: 4.8.0

    ### Active Plugins (8) ###

    Jetpack by WordPress.com: by Automattic – 9.2.1
    TablePress: by Tobias B?thge – 1.12
    Visual Form Builder: by Matthew Muro – 3.0.1
    WooCommerce Braintree Payment Gateway: by wp.insider – 1.9.4
    WooCommerce EU VAT Number: by WooCommerce – 2.3.25
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.1
    WooCommerce Shipping & Tax: by Automattic – 1.25.3 (update to version 1.25.4 is available)
    WooCommerce: by Automattic – 4.8.0

    ### Theme ###
    Name: Escapade
    Version: 1.1.3

    Server Info: Apache
    PHP Version: 7.3.25
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.74.0
    OpenSSL/1.1.1i

    Thread Starter wp4jk

    (@wp4jk)

    I have deactivated the “WooCommerce Braintree Payment Gateway (by wp.insider)” in WooCommercie and I have activated the “Braintree For WooCommerce (by Payment Plugins)”.
    Hope that’s doing better.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Error – Amount must match the 3D Secure authorization amount’ is closed to new replies.