#golden_star_77826
1 messages · Page 1 of 1 (latest)
Hi there, did you write the code by yourself or you are using a 3rd-party plugin for your integration?
We are using stripe 3.4.4 version module. provided by stripe. Only the patch file was created by us to debug the issue
OK, what's the problem that you are trying to solve? I don't understand what you said earlier, can you elaborate?
After adding the card details and clicking on place order, user is getting redirected to the empty cart page instead of Order Success page.
How do you submit the order, can you share with me the relevant code?
We have a customized step to move to review step. So, in form.html we are calling beforePlaceOrder Function to move user to review step and the placeorder.
I dont see stripe is related in funcion beforePlaceOrder
After clicking the the place order button stripe is getting called and the user is getting redireced to the cart page. Since, we are using stripe payment gateway to place order.
I mean redirecting to cart page or success page is the logic that you implemented? am I right?
We have not written any logic to redirect the user to cart page / success page.
This is happening from the stripe module
Let me rephrase it a bit, what is the redirect_url that you specify when calling stripe.confirmPayment ?
Usually a white popup appears from stripe end and user is redirected to the success page.
https://test-www-casio-com-aem.casio.jp/sg/checkout/onepage/success/ this is going to 302 and user is redirected to cart page. When stripe popup doesnt appear this scenario appears.
You didn't answer my question
Or do you want to check with your frontend engineer and see what code they wrote to confirm the PaymentIntent?
will let you know in some time