#Manu-set-receipt-email
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Juggling between a few threads at the moment
give me a few to catch up ๐ thanks
Absolutely, thank you!
Thank you for your patience
Looking into this
I'm not seeing anything on the subscription itself
now looking into alternatives
So a subscription object should have a latest_invoice linked to it
You can expand it to find the PaymentIntent ID and update it using PaymentIntent API
However, I'm not sure if it would send the receipt retroactively
You can tweak your settings to send receipts automatically
https://stripe.com/docs/receipts#receipts-with-billing
Thank you for the response. I'm looking into sending receipts automatically, currently we are using test clocks to simulate different scenarios and need the receipts via email
Hi @pseudo raptor, stepping in for @smoky oak as they need to step away. By flipping the settings mentioned above, receipts will be sent automatically. However, this won't occur in testmode, as we don't want to spam emails in testmode.
You can generate a receipt in testmode via your Dashboard
I just read that
By viewing the PaymentIntenet and clicking "send receipt"
So I turned on the option to send receipts automatically and sent a receipt from the latest payment via the dashboard
receipt arrived fine
I guess the only way to make sure this works in prod would be to make a payment and see if the email with the receipt arrives, right?
Yes, though testing in livemode is technically against card network regulations. Really you should just trust that it works since it works in testmode when you send the receipt ๐
Okay, thanks again bismarck!