#equilibrium_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1283732304811917354
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
I am not sure I understand the issue. Could you please make a screen recording?
Hello
yeah sure, Im looking into this
Just a quick 2 images, if they are not very useful, I can look into sharing a screen recording
as you can see, I am using CashApp in Stripe test mode
I clicked "Simulate Scan".. which opened a tab 2 that I shared in screenshot 2
If I click "AUTHORIZE TEST PAYMENT" .. both tab 1 and tab 2 redirect to the return_url
const result = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: `${window.location.origin}/install-your-esim?email=${email}`,
payment_method_data: {
billing_details: {
email: email,
},
},
},
});
So now both tabs get redirect to return_url and that causes 2 receipts sent to the end user
on mobile, I believe Cash App is fine
we also didn't have this issue with other wallets like Apple Pay
I hope this is clearer now, otherwise happy to do a screen recording
It's just a Test mode issue, since you wouldn't normally click "Simulate scan" but do the authentication on your phone.
Got it, so just to clarify, Cash App isn't available on the desktop, right?
and this 2 tabs issue won't usually happen since this is mostly a mobile payment wallet
so on live, this issue won't happen, right?
if you have any reference for this in the docs (if possible) that would be great
The reference is just to confirm that this is an expected behavior
so on live, this issue won't happen, right?
Yes
I don't think docs mention this anywhere, but yes, this is just Test mode behavior.
got it then, I appreciate it a lot
thank you for confirming that i was worried customers are getting duplicate receipts on live
Happy to help.