#Trapov
1 messages · Page 1 of 1 (latest)
Hi there!
hello
As mentioned in the documentation:
This is the transaction number that appears on email receipts sent for this charge. This attribute will be null until a receipt has been sent.
https://stripe.com/docs/api/charges/object#charge_object-receipt_number
So was the recipe already sent?
no, I've created the session and then trying to fetch the payment and charge
and the charge doesn't have any info the receipt number
although it has the url
Can you share the charge ID (ch_xxx)?
well I don't have it right now but I can create one in a minute
oh wait
now it has the number
so how long should I wait till the receipt is sent?
Not sure, but if the payment is succeeded it should happen almost immediately.
So I need to poll the charge until it’s set?
Yes I think so
thank you