#gggpound_docs
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1257981395884703776
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
You can use a flow where you create a PaymentIntent after collecting payment details: https://docs.stripe.com/payments/accept-a-payment-deferred
i will try it ,thx
Happy to help.
If I am only using Stripe in my embedded page, how will the return_url work here?
What do you mean by "embedded page" exactly?
This will be used in case the customer is redirected to complete the payment elsewhere, e.g. Klarna or PayPal.
In a React page, when using components to complete a payment, there is no involvement of URL changes.
Only if you use card.
Hey! Taking over for my colleague. Let me catch up.
Yes that should workn are you facing a particular Issue ?
between, why not using Stripe PaymentElement ?
Card Element is a deprecated Stripe Element
i cannot access the address information inside the PaymentElement component using PaymentElement.
Is there any way to get the address information from the PaymentElement?
i will use PaymentElement rather than cardElement.
Will PaymentElement jump to another page?
Not the PaymentElement will jump, but for some PaymentMethod will requires the merchant to be redirected to the issuer webpage in order to complete the payment
so you'll need to provide return_url in all wases, in order to handle those scenarios.
【some PaymentMethod will requires 】 can u give me some example?
How Do I know I need to jump to another page? Is there a code?
How Do I know I need to jump to another page after stripe.confirmPayment run?
Which field indicates that you want to jump to a third-party page?
How Do I know I need to jump to another page after stripe.confirmPayment run?
No you can't, simply monitor the return_url
Which field indicates that you want to jump to a third-party page?
No this is something you can't control. This is redirection required by the bank issuer of the customer who's paying you
OK, I see, so I just need to set 【return_url】 to my current page?
Yes.
thx