• Resolved a8dev

    (@a8dev)


    Hey we’re having some issues with the Square payment gateway.

    When the page initially loads it has a console error: [Analytics] A Token request is already in place.

    Then when we try to checkout with an AMEX card, we get error: “An error occurred, please try again or try an alternate form of payment.”

    This is the output to the log for the error:
    07-14-2020 @ 11:34:46 – Square.js Response:
    Array
    (
    [code] => BAD_REQUEST
    [type] => INVALID_REQUEST_ERROR
    [message] => Unsupported token type: payment_source
    )

    I'm not sure how to address this, any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there @a8dev,

    Does the issue persist with AMEX cards only?

    I tried AMEX test card on my test site and it went through without any issues in Sandbox mode.

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
     
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Let us know how that goes!

    Hi there @a8dev,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unable to complete checkout’ is closed to new replies.