#golden-PaymentLink

1 messages ยท Page 1 of 1 (latest)

violet snow
#

Hi there, so you want to pass a callback URL for the PaymentLink?

violet snow
lethal totem
#

As I talked, for ex, if user click purchase button, shows payment link and once user finish the payment, back to my site, and my site should know the payment result

violet snow
#

You can embed {CHECKOUT_SESSION_ID} into the URL to have the id of the completed checkout session included. After that you can pass this session ID to your backend, retrieve the checkout session with payment_intent field expanded (https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_intent) , and check the payment status.

lethal totem
#

Exciting.. THanks for your great guide!

violet snow
#

No problem!

lethal totem
#

One more question.. Sorry.. When create payment link url in dashboard manually,, I cannot see any after_completion options.. These options can be set by only api call? Is it impossible to set after_completion options manully on dashboard

#

?

violet snow
#

You can set the redirect URL here.

lethal totem
#

Ah.. This is after_completion page?

#

Thanks

violet snow
#

Yes you can try it out ๐Ÿ™‚