#vladt
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Can you clarify what you mean here? Stripe Checkout is the Stripe hosted interface you can use to collect payment. Payment links use Checkout but you can also create your own Checkout Session using the API.
https://site-admin.stripe.com/docs/api/checkout/sessions/create
@leaden jasper I have a service where I send a payment link to pay for the order. I have used the Checkout session but it looks like a bad choice because I only can use it for 1 day (while people can open email in 15 days)...
Correct, Checkout Sessions expire after 24 hours. However, Payment Links are non-customer specific. How are you integrating with Stripe? Do you have a server where you can hit the Stripe API with code you control?
Yes. And in that code I used the checkout sessions. What do you mean non-customer specific? I manage payment-order-user management within my system, so when some payment is made I know for which order it is.
I think then I should swap my Checkout usage to Payment Link
If you have server-code you can manage then you could include a link to your server that creates a new Checkout Session and redirects the user. That would allow you to keep using Checkout.
With Payment Links they either 1) create a new customer or 2) use a "Guest customer". So if having a the purchase related to a Customer object in Stripe is important to your integration that approach may not work
@leaden jasper or what you think works best here?
We are doing B2B E-commerce where the client can pay within 15 days and if they pay within 7 they get the discount (promo code).
We would need an invoice and to show the link both in email and in website.
Hm, its a very good idea about the redirect
That level of customization sounds like something that could be tough with Payment Links. I think bringing the user onto your site and then redirecting them would work better
It is more work for you but it allows much more fine-tuned modification
We don`t use any customer or something ๐
We tried to just integrate the simplest possbile stripe link so that we just enter amount for "payment" in the backoffice and the client gets the email + can see in the website that he has a new payment to be made
@leaden jasper I try to identify our tradeoff here. If we switch to payment we will "create customers" or use some "guest customer"? Which is not something we want to take care much now.
But, with payment link - even if the guy closes the page, he will be able to reopen it? For a long time?
Payment Links are meant to be anonymous and persistent. They map to products/prices.