#Gallo
1 messages · Page 1 of 1 (latest)
It would seem that this is the intended/expected behaviour when selecting Oxxo during Checkout, to allow your customer to get the voucher details without you needing to build this:
After submitting the Checkout form successfully, the customer is redirected to the hosted_voucher_url.
From: https://stripe.com/docs/payments/oxxo/accept-a-payment?platform=web&ui=checkout#redirect-to-stripe-hosted-voucher-page
Hi synthrider!!!, yes I had read the information on that url. So after the payment, you are redirected to the payment coupon and the whole process is finished there?. I mean there is no way to then redirect to the original site.
No, there is not, as far as i can tell after reading and testing. Were you hoping to redirect to your own site and implement the voucher display there?
Actually, I wanted that after the voucher, the buyer would be redirected to the original site where the purchase was made, to a thank you page. And to be able to close the whole buying circuit, starting on the website and ending there.
I also needed to implement a webhook, to receive payment notifications when payments are made.
Gotcha - so some kind of "return to Gallo Inc" button for when the customer is done printing the voucher?
Yes, and to be able to receive the session id, in order to identify which customer the payment corresponds to when Stripe notifies the checkout.session.
Right -- in some way redirecting to your success url like other sessions
Seems like good feedback, I agree it would be helpful to have some option for that, but it doesn't currently look possible
I can share that request internally, though
yes
Yes share it, so Stripe can improve on that aspect. Sorry it's not available now
As for the redirect to a success url, I understand that for now there is no solution.
As for being able to determine to which customer is each payment made by Oxxo, the only way I found (which is not the best) is to receive the checkout.session, get the email and compare it with my database. It is not the best but well...
It may happen that the buyer left one email when purchasing and a different one when paying at Oxxo. So the right thing to do would be to be able to get the session id and save it in the DB, and then be able to compare for something that is unique.
Yes, you'd need to listen to the checkout webhooks following payment and examine the customer or email, depending on how you use Checkout
I'd filed a feedback feature request for this kind of redirect, I hope we can add it in the future!
Thank you, I hope to see you soon.
One more question outside of the code.
I am from Argentina and if I want to create a Stripe account, my country does not appear in the list when creating an account. Do you know if there is any way or possibility that a person from Argentina can create a Stripe account?
First, sign up to be notified here: https://stripe.com/global
FOr now, you'd need a legal entity in a supported country. One possible route is using Atlas to create a US corporation: https://stripe.com/atlas
Ok, thanks