#.rjcustodio
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure why you shared this other screenshot. Can you clarify?
this is the endpoint that im using, but yea nvm the other screenshot, i got it on your first answer
i have another question
is this possible?
Create Invoice
Add Invoice Items
Finalize the Invoice
Then since I want to have a modified checkout page.
Can I attach this invoice in creating new checkout session?
You can create and invoice and attach items after now, yes, but you cannot link that to a checkout session in any way, no
What are you trying to achieve by doing that? Perhaps there is another way.
first our concern is the design.
second is the success URL or cancel URL
so we can update the customer records on our database.
third is to send an email for their invoice and receipt with our modifed invoice number of our system
instead of showing this. once paid
Checkout and invoices have similar visual branding/customization options
What do you need to know about the success and cancel URLs? We recommend relying on web hooks following checkout sessions to drive your fulfillment flows, not customers visiting those URLs.
alright webhook got it.
but is there a way to hide this third screenshot after paying?
What are you trying to do with emailed invoices and receipts? Those are different things. You can configure receipt emails in your Dashboard settings, and Checkout supports creating an invoice alongside payment:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What do you mean?
That's the hosted invoice page for a paid invoice, right?
that is the hosted invoice page, after inputting the card information, this show's up.
OK, and what do you want to do?
If we can show success message instead of showing this.