#pedro-charge-receipt
1 messages ยท Page 1 of 1 (latest)
What documentation are you referring to?
Can you link
Just want to be sure we're on the same page
Ah this is for terminal
Gotcha. One sec
That doesn't look like a terminal payment though
Looks like one from the payment element
Yes, this is a payment made through the payment element. i would like to create a custom receipt after the payment is successful. How can I retrieve the receipt data with the payment intent id?
What you linked it terminal-only functionality
You can get the receipt url off the payment intent's charge object though: https://stripe.com/docs/api/charges/object#charge_object-receipt_url
For the Stripe-created receipt
Thanks, that worked ๐
Great ๐ Happy to hear it ๐