• Resolved crpeng

    (@crpeng)


    If I allow customers to create account when checking out, after they have paid with FPX, they would return to the same checkout page, later refreshed to be a page with only “Checkout” (the title) and blank below. However, the payment and order are captured. But the customer would be left confused and wondering whether the order has been successful.

    The problem seems specific to FPX only. Credit card payment works as expected.

    If I allow customers to checkout as guests, without requiring member creation, all payment works as expected.

    If a customer login first, and then make a purchase, all paymentworks as expected.

    Plugins disabled to a minimum, with just Jetpack and Google Site Kit, and WP SMTP. ALso tried with WooCommerce Storefront theme, to the same effect. So I believe theme choice is irrelevant.

    So, the problem seems to me is that the account creation process DURING checkout somehow messed up the webhook call to Stripe for Woocommerce.

    Thank you

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @crpeng,

    Thank you for contacting us. I was able to recreate this issue and found the source of the problem. When the redirect url is created at the time of checkout page render, a nonce is generated using wp_create_nonce.

    WooCommerce hooks in to that nonce and changes the value if the customer is not logged in so when the account is created and the customer redirected from FPX back to your site, the nonce is invalidated since the customer is now logged in. I have made note to include a fix for this in the next release of the plugin.

    Thank you for bringing this to my attention.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @crpeng,

    I added a patch to the current version 3.2.8 which resolves this issue. You can delete then re-install the plugin and the issue will be fixed.

    Kind Regards,

    Thread Starter crpeng

    (@crpeng)

    I am glad to report that the issue has been resolved. I noticed there’s another unresolved thread with similar issue. It could be due to the same reason.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stuck on Checkout Page if allowing customer to create account’ is closed to new replies.