#Stripper-charge-receipt
1 messages · Page 1 of 1 (latest)
Hi there! This is currently a Dashboard-only feature. You can't trigger a new receipt via the API.
But there is a "Send receipt" button in the Dashboard when you view the charge.
ok. thanks.
So you could manually resend it if that works for your use-case.
yeah im aware of the manual feature - was just looking for more control.
If I configure in settings to send emails ...while in test mode ... will they still be sent?
..send emails on transactions like charge and subscribe...
No we don't send emails in test mode in order to not spam.
ahhh...that explains why i didnt get emails.
is there a way to turn them on so that we can see what they look like without having to be in production?
and generally close the loop test wise?
If you use the owner email on the account as the customer email we do send Invoice emails. I believe we also send charge receipt emails in that case as well, but I can't remember that 100%
Also, I may have a workaround to re-send the receipt
One sec, let me test something
Actually it likely won't work in testmode... but I do think it may work in production. Give me a moment to see if I can confirm.
ok!
Okay yeah, I forgot there is a workaround here!
So we will send the receipt email if you update the receipt_email on the charge: https://stripe.com/docs/api/charges/update#update_charge-receipt_email
If you are already setting this, then you can update the to set it to null and then update it again to set it back to the email address desired.
That will trigger the receipt to get re-sent.
Ohhh
interesting!
Will read through and give it a shot. Thanks!
Oh and feature request: It would be great to be able to turn on emails for all accounts in test. Lots of reasons including automation, knowing what field values show up in prod before we push changes, etc.
The owner account is good to know but doesnt scale well for us.
Thanks again for the workaround on the email receipt!
Wait - i just realized that we can manually send receipts to confirm what they would look like. Manually sent receipts look the same as auto sent ones right?
Yep that's correct.
ok. gotcha. Thanks again!