#heleem

1 messages · Page 1 of 1 (latest)

visual cobaltBOT
ripe pendant
#

hi! that's a good feature request but not something that PaymentLinks + Connect natively support today.

#

The only way to do it would be to manually add your own line items(separate Prices) with descriptive names into the PaymentLink, as a kind of workaround, but I don't think it would work very well.

jovial needle
#

I am using checkout.sessions.create to generate the link. Is that similar ?

ripe pendant
#

yes, same thing

jovial needle
#

Okay, Thank you.

#

Hello,
Is there any way to close the window on returning from the checkout session url?

ripe pendant
#

which window are you referring to?

#

and wouldn't that be really confusing to the customer, to complete a payment and then their browser window closes?

jovial needle
#

I am actully sending the session url in the mail so the user will be directly redirect to the payment page

ripe pendant
#

you can not send the CheckoutSession URL in a mail, that won't work.

#

The URL expires after 24 hours

#

either send a link to a page on your server that then calls the CheckoutSession API and redirects, or send a PaymentLink url (that's one of the use cases it was created for)

jovial needle
#

okay