#salim-bt_api
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/1390677811055956071
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- salim-bt_api, 20 hours ago, 26 messages
- salim-bt_api, 1 day ago, 15 messages
- salim-bt_api, 1 day ago, 83 messages
- salim-bt_api, 3 days ago, 25 messages
hi there!
Hello!
hello
hope you're doing well today)
this is code of our express checkout, for better understanding
๐ taking over for my colleague. Let me catch up.
we need redirect user to page depends on his payment status , for example, success payment - redirect to /success-route, declined payment - redirect to /declined route. To do that i think we need create separated page and pass url of this page to params.return_url. Then at this page take url params and check status of payment, right?
correct
and we will add the payment_intent and payment_intent_client_secret as query params to the return_url https://docs.stripe.com/payments/save-during-payment#:~:text=Make sure the,the PaymentIntent object.
I'm sorry we need to close discord, anything else I could help with before?
so we can check it only at frontend?
you can use https://docs.stripe.com/api/payment_intents/retrieve#retrieve_payment_intent-client_secret and you'll get a reduced view of the PI (the information we can expose so no PII included)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
got it, thank you! Another Q not related to this topic. Is it possible force stripe open payment windows (amazon pay for example) always in new tab, not in new window?
you can use the same thing explained here https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-redirect regardless of the payment method type
actually wait scratch that
it's correct, but there's one step first
so you need to confirm by payment method and pass in handleAction:false
and then you can get the redirect_url and open it in a new tab