#.rjcustodio

1 messages · Page 1 of 1 (latest)

primal pivotBOT
neon lion
#

Hi there!

knotty zealot
#

this is what im trying to get from API

knotty zealot
primal pivotBOT
neon lion
#

I'm not sure why you shared this other screenshot. Can you clarify?

knotty zealot
#

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?

snow scaffold
#

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.

knotty zealot
#

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

snow scaffold
#

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.

knotty zealot
#

alright webhook got it.
but is there a way to hide this third screenshot after paying?

snow scaffold
#

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

snow scaffold
#

That's the hosted invoice page for a paid invoice, right?

knotty zealot
#

that is the hosted invoice page, after inputting the card information, this show's up.

snow scaffold
#

OK, and what do you want to do?

knotty zealot
#

If we can show success message instead of showing this.

snow scaffold
#

You can show whatever you want following Checkout payment

#

If you're using the hosted invoice page for payment collection, no that cannot be customized the same way