• Resolved dcumpton

    (@dcumpton)


    Updated from 3.2.3 to 4.0.1 and now getting ‘Payment processing failed. Please retry.’ error. Then updated to 4.0.2 and still getting error.

    Working in a staging environment, not publicly accessible. I have seen some chatter around this issue, any potential fixes coming?

    Or are there any known conflicts? Disabling all plugins is not a great option as we have a slightly involved WooCommerce setup that relies on other plugins to even reach the checkout process.

    Was working great before upgrade.

    Thanks!

Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Contributor royho

    (@royho)

    If you have anything that changes the checkout fields or does any sort of redirects when people purchase is what we’ve seen so far to cause the issue.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Also @dcumpton, if you have 4.0.2 installed, can you ensure logging is enabled and take a look at the Stripe logs under WooCommerce > Status > Logs and let us know if there are any indicators of what went wrong?

    Thanks,

    Thread Starter dcumpton

    (@dcumpton)

    Thank you for your replies.

    @royho, I had a 3rd party form validation script running on the checkout form, I disabled it, but still getting the same error.

    I am also using Stripe Checkout, so I believe the redirect to /order-received should be default behavior, but is not happening due to error.

    I have also confirmed that there are no JS errors in the console.

    @dougaitken, I am seeing this error consistently in logs:

    Error: stdClass Object
    (
    [token_id] =>
    [customer] =>
    [source] =>
    )

    Plugin Contributor royho

    (@royho)

    Can you try adding this to your functions.php file add_filter( 'wc_stripe_use_elements_checkout_form', '__return_false' );

    Had exactly the same issue, seems like the updated version 4.0.3 released today has it fixed.. at least my test order after the gateway update to 4.0.3 went through.

    • This reply was modified 6 years, 10 months ago by Jan Zikmund.
    Plugin Support Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Hi @dcumpton,

    Can you please update to the most recent version 4.0.3 of Stripe and check if the issue persists?

    Cheers!

    Hi Praveen,
    I have updated to Woocomerce Stripe Version 4.0.3 but I still get the same error and the same log entry when trying to pay via Credit Card in Test Mode.

    01-22-2018 @ 09:53:36 – ====Start Log====
    Error: stdClass Object
    (
    [token_id] =>
    [customer] =>
    [source] =>
    )

    ====End Log====

    The payment via Stripe SOFORT in the Test Mode works fine.

    You can access the test frontend here:
    https://test.obsthof-am-steinberg.de

    Thanks for your support.
    Oliver

    Same issue here.

    Thread Starter dcumpton

    (@dcumpton)

    @spraveenitpro, I have updated to 4.0.3 and I am still getting the same error:

    Error: stdClass Object
    (
    [token_id] =>
    [customer] =>
    [source] =>
    )

    @royho, removing the stripe checkout form does not look to be working in version 4.0.2 or 4.0.3.

    I have also confirmed that I have the Stripe webhook active in my Stripe settings.

    Thanks.

    Plugin Contributor royho

    (@royho)

    @dcumpton, check that you haven’t mixed up your test keys with live keys. Try emptying it out and re-pasting it in.

    Thread Starter dcumpton

    (@dcumpton)

    @royho, I have confirmed this, still getting same error:

    01-22-2018 @ 11:23:23 – ====Start Log====
    Error: stdClass Object
    (
    [token_id] =>
    [customer] =>
    [source] =>
    )

    ====End Log====

    Plugin Contributor royho

    (@royho)

    @dcumpton perhaps you want to post a link so we can take a look?

    Plugin Contributor royho

    (@royho)

    @dcumpton, So I am seeing several JS errors on your site which can be the culprit. try turning off your custom login plugin. Re-test.

    Plugin Contributor royho

    (@royho)

    @dcumpton, Another error is related to something perhaps named “PubNation”?? Turn that off too.

    Thread Starter dcumpton

    (@dcumpton)

    @royho, I have resolved all js errors and still getting the same Stripe gateway error in WooCommerce logs.

    Please note, those same js errors did not impact this plugin when running 3.2.3.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Update from 3.2.3 to 4.0.1: Payment processing failed. Please retry.’ is closed to new replies.