• Resolved alexnek

    (@alexnek)


    Hi,
    I often got this message whenever my customer made a FPX payment. May I know what should I do to fix this? I’m using Stripe plugin for Woocommerce currently.

    Error message
    “message”: “You must provide a return_url when confirming a PaymentIntent with the payment method type fpx.”
    “type”: “invalid_request_error”

    ————–

    I checked the response body and it seems like return_url is missing. Could this be the reason why whenever customer completed a payment it does not auto bring them back to my website. Instead it shows a button and lets customer choose if they want to return to merchant site or not.

    Please help.

    • This topic was modified 3 years, 6 months ago by alexnek.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @alexnek

    Have you configured your webhook? That’s a requirement.

    Does the customer see this error on the checkout page?

    Are you able to re-create the error?

    Kind regards

    Thread Starter alexnek

    (@alexnek)

    Hi Clayton,
    I’m new with Woocommerce so may know where do I configure the return_URL webhook?

    Customer did not see this error I think but it looks like the page did auto redirect after payment. I tried to recreate this error too but I couldn’t. However I notice the page did not redirect to my website after payment successful though.

    Thank you

    Plugin Author Payment Plugins

    (@mrclayton)

    I’m new with Woocommerce so may know where do I configure the return_URL webhook

    You don’t configure the return_url, it’s provided when the payment intent is confirmed.

    Customer did not see this error I think but it looks like the page did auto redirect after payment.

    If you’re customer did not see this error then where was it seen? Are you looking in the Stripe logs to find this?

    Per my previous response, did you configure your webhook? That is a requirement when using FPX.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @alexnek,

    I did some more testing. This error can only occur if you reach the Stripe FPX test page, then re-open another checkout page on your site. That causes an inconsistent payment intent status.

    I will go ahead and code for this scenario but it’s unlikely it will ever occur in a live site.

    I’ll set this to resolved since the next release of the plugin will account for this scenario.

    Kind Regards,

    Thread Starter alexnek

    (@alexnek)

    Hi Clayton,
    Thank you for your quick reply.

    What about the issue where after payment completed at bank login page, it will not auto redirect to merchant website? Will this issue be addressed too?

    Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    What about the issue where after payment completed at bank login page, it will not auto redirect to merchant website? Will this issue be addressed too?

    That redirect is not controlled by the plugin. You’re on a 3rd party site at that point, the plugin has no influence on a third party site.

    If you’re not being redirected from FPX to your site, that’s an FPX issue.

    Kind Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Return URL error – FPX (stripe)’ is closed to new replies.