#selenium-receipt

1 messages · Page 1 of 1 (latest)

still oak
#

Hi there, can you send me the event ID?

little perch
#

pi_3KvL4VGAV0HD5jS00Tz4QR6D

still oak
#

Thanks for the ID, the receipt_number will be null until a receipt has been sent.

little perch
#

Is there any way to get receipt number in live mode at the initial response from the stripe?

still oak
#

You'll only have the receipt_number after the receipt is sent, in either live or test modes.

little perch
#

Yes. I saw in the documentation that, we can enable email receipts by providing a receipt_email when creating the payment intent. Here I am refering initial response as the response which we get after the payment completes. The receipt will be sent automatically right?

still oak
#

Yes receipt will be sent when the payment is succeeded.

little perch
#

and the receipt number will included in the "payment_intent.succeeded" event right?

still oak
#

Ah, I know the problem now.

#

No email receipts are sent in test mode, and that's why you don't have the receipt_number because there's no email being sent.

#

In live mode you should get the receipt_number in payment_intent.succeeded.

little perch
#

Ok cool. thank you so much

#

because we need to store the receipt number