#fenwicks_silent_assassin
1 messages ยท Page 1 of 1 (latest)
๐ How can we help?
Can the two settings inside the redbox in this screenshot be set via the API?
This is the dashboard only function. It can't be set via API
Alright thankyou, another question...
If I have 'Successful payments' enabled and have an email address stored against the customer. When a PaymentIntent has been approved and i provided an email address using the email_address property, will it send a receipt email to both the email against the customer and the email i've used with the payment intent?
Email will be sent to receipt_email set in the Payment Intent creation: https://stripe.com/docs/receipts#automatically-send-receipts-when-payments-are-successful
so it will only send an email to the receipt email and not against the customer?
If receipt_email is not set, email won't be sent
so it will only send an email to the receipt email and not against the customer?
Yup
Ah I see
However, if you use Stripe Invoice or Subscription product, email will be sent to the email address on the customer
Where to send an email depends on your integration
Yeah I saw that in the documentation. I was talking in regards to using the payment intent
Which you've answered
Yup! Then that sounds good!
if the 'successful payments' toggle hasn't been enabled and we have set an email on the Payment Intent will it still send the email?
is the toggle only controlling Stripe Invoice?
If you set receipt_email on the Payment Intent, the settings on the dashboard will be ignored
This toggle also control the email settings of payment created by Checkout Session
Sorry I should have seen that but i appreciate that you've provided it
Checkout Session is the payment hosted page provided by Stripe
Alright that answers everything thankyou
No problem! Happy to help ๐
I have another scenario, if the 'successful payments' toggle is enabled and we dont provide an an email address on the payment intent, will it still send an email?
If you use Payment Intent API, email will not be sent if receipt_email is not set