#OHMelin-receipt
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Yes you can retrieve the receipt number from the charge using the API
https://stripe.com/docs/api/charges/object?lang=ruby#charge_object-receipt_number
Thanks, is this possible to get from one of the endpoint events?
I don't see it being returned https://paste.helpch.at/pakahucegu.js
Lmk if I should send the text elsewhere if you don't want to click the link
Also, could the cause of this be because of me being in test mode?
Yup seems like it could be related to charge/receipt being in test mode
Let me see if there's a workaround for test mode
Thanks! Otherwise would we have to make our product $1 and then test through actual purchases?
yeah
My theory is that if you use the Charge details page on Dashboard to send the receipt manually (via a button) that should update receipt_number on a charge
trying to run a quick test to make sure that's correct
yup so if you send the receipt manually using the dashboard (in test mode), it'll update the original charge (which you can locate on the payment intent) with a receipt_number
In live mode, it'll not be a null value
Perfect, but where do I locate the payment intent? ๐