#Victor Chaos

1 messages ยท Page 1 of 1 (latest)

eternal tulipBOT
flint river
#

Following payment you can find this on the Charge object:
https://stripe.com/docs/api/charges/object#charge_object-receipt_url
which you can reach via the latest_charge (or charges array) on the payment intent from the session:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge

paper pollen
#

Thanks for the reply, my aim is to email the receipt to users. Is there a way I can do this using the info you have provided?

flint river
#

You can get the receipt url and share that with them, yes!

paper pollen
#

I have two workflows, customers can either buy a one time digital product or subscribe. I noticed that subscriptions generate invoices that are viewable in the customer portal, but one time purchases do not. Is it possible to one time purchases in this portal too?

flint river
#

No, those are invoices, which are not created for one time payments currently

paper pollen
flint river
#

No, you can set your settings to email receipts for all payments

paper pollen
#

oh

#

So thats done via the dashboard, not via the Python API?

flint river
flint river
#

The above is where that links to, and you can enable it there

paper pollen
#

Yeh ok, appreciate that. I think its exactly what I want

#

Just confusing having settings in two places effectively

#

Is there anyway to create an invoice and mark it as Paid after the checkout session has finished?

#

For a one time payment

flint river
#

Not currently, but we're working on ways to enable that

paper pollen
#

Any ETA on that feature?

steel timber
#

๐Ÿ‘‹ stepping in

#

You are looking for creating Invoices with Checkout?

#

I'd recommend reaching out to our Support team about that. As noted, there is work being done and it is possible they could get you early access or at least keep you up to date for when this will be released.

paper pollen
#

Oh cool, thanks @steel timber

#

Will do

paper pollen
steel timber
#

No receipts aren't sent in testmode

#

So as to not spam folks

#

You can generate them manually from the Dashboard to see what they look like