#heleem
1 messages · Page 1 of 1 (latest)
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.
I am using checkout.sessions.create to generate the link. Is that similar ?
yes, same thing
Okay, Thank you.
Hello,
Is there any way to close the window on returning from the checkout session url?
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?
I am actully sending the session url in the mail so the user will be directly redirect to the payment page
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)
okay