#ggmghoul
1 messages · Page 1 of 1 (latest)
Hi there, I'm afraid that you can't specify a customer for payment link.
is there an alternative for that ?
i can't use the checkout session cause it expires after 24 hours
Yes, you can use Checkout Session API instead
which is not the case i prefer
yes i am already but i need more time
i also know about the retreive session action when the session expires but is there another way
Alternatively you may want to use Invoicing, you customer can complete the payment with a Stripe hosted invoice page.
so in that case i create an invoice for a customer that last for a specific periode ?
well i'll try that it might do the trick
thank you
Sure, you can set a due_date on an invoice (https://stripe.com/docs/api/invoices/create#create_invoice-due_date)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes i'm already on it
just one thing
i can't seem to find the attribute for the wanted amount
You can't specify an amount in an invoice directly. You need to create price/product, then invoice item, and finally invoice. https://stripe.com/docs/invoicing/integration/quickstart