#rc

1 messages · Page 1 of 1 (latest)

craggy nebulaBOT
silk lynx
#

Hi there!

#

In the Checkout Session there's a PaymentIntent object. The PaymentIntent object contains a Charge object. And the Charge has the receipt.

brave edge
#

Thanks!

#

Follow up: the documentation mentions receipt links expire after 30 days. What happens if a user clicks on a receipt link after 30 days?

silk lynx
#

Where did you see that it expire after 30 days?

brave edge
#

https://stripe.com/docs/receipts

As a security measure, receipt links expire within 30 days. Accessing an expired receipt link resends the receipt to the original recipient.

Is that for the Stripe dashboard only?

Send payment or refund receipts automatically.

silk lynx
#

Wait, this is different. This is for email receipts. I though you meant payment receipts.

brave edge
#

Actually I meant payment receipts 😄

I'm probably looking at the wrong documentation, then?

silk lynx
#

Then ignore the link you just shared, I try what I suggested earlier:

In the Checkout Session there's a PaymentIntent object. The PaymentIntent object contains a Charge object. And the Charge has the receipt.
I don't think this will expire

brave edge
#

Session -> PaymentIntent -> Charge.receipt_url gives me exactly what I need

#

Thank you!