#gggpound_docs

1 messages · Page 1 of 1 (latest)

obtuse sequoiaBOT
#

👋 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.

uneven kernel
#

Hi, let me help you with this.

hidden aspen
#

i will try it ,thx

uneven kernel
#

Happy to help.

hidden aspen
#

If I am only using Stripe in my embedded page, how will the return_url work here?

uneven kernel
#

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.

hidden aspen
obtuse sequoiaBOT
hidden aspen
#

exactly like that?

wanton sluice
#

Hey! Taking over for my colleague. Let me catch up.

wanton sluice
wanton sluice
#

Card Element is a deprecated Stripe Element

hidden aspen
#

i cannot access the address information inside the PaymentElement component using PaymentElement.

#

Is there any way to get the address information from the PaymentElement?

wanton sluice
#

You can use Address Element with PaymentElement

hidden aspen
#

i will use PaymentElement rather than cardElement.
Will PaymentElement jump to another page?

wanton sluice
#

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.

hidden aspen
#

How Do I know I need to jump to another page? Is there a code?

wanton sluice
#

This parameter is only used for cards and other redirect-based payment methods.

hidden aspen
#

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?

wanton sluice
#

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

hidden aspen
#

OK, I see, so I just need to set 【return_url】 to my current page?

wanton sluice
#

Yes.

hidden aspen
#

thx