#mzzay
1 messages · Page 1 of 1 (latest)
Depends what you mean by an invoice? Terminal supports receipts: https://docs.stripe.com/terminal/features/receipts
But for an invoice you'd need to implement that manually
Once it's send, is it possible to retrieve it to save it ?
The receipt? It's available via the API sure: https://docs.stripe.com/api/charges/object#charge_object-receipt_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.
Wait, charge and receipt are the same thing ? I don't understand.
Here I have to define an email_adresse, but I would like to download it in my server first, and if user provided his email, send it.
For terminal payment, user may not have defined his email_adress
The Charge object is a representation of the transaction created by the Payment Intent you used with Terminal. On there we store the receipt_url to share/access
Yes, then the receipt_url field on that object is what you need
Ok so after each payment, a receipt is created, then I just have to decide if I want to send it or not
There is always a receipt – we only send it if you pass receipt_email