#Yolmack-one-time-payments
1 messages · Page 1 of 1 (latest)
Hey there. Invoices for one-time payments via Checkout are not something we currently support. They just produce standard receipts
Hi, thanks for the help.
Do you know if I can do it reverse ?
Generate an invoice and then a session (payment page) from this invoice.
I only saw that I can send invoices threw email
Sure, you can create an Invoice object (via API or Dashboard) and your customer will receive a hosted invoice page where they can pay: https://stripe.com/docs/invoicing/hosted-invoice-page
Can I get the hosted invoice page url from the api and once payed redirect the customer to a success page as if it was a session ?
Unfortunately there's no success_url with the Invoice pages no
Ok and can I access the url from the api without sending email ?
The URL for the payment page? Yep: https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.