#dvsk

1 messages · Page 1 of 1 (latest)

fierce mountainBOT
minor frost
weary frost
#

okay

#

So, can stripe send email like it does in automatic email sending case?

minor frost
#

Hmm, I might have misunderstood your question. I thought you said you'd need to turn off the automatic email receipts?

#

Is that not the case?

#

Can you reword the question please?

weary frost
#

Yes, I have to turn it off. But I am still looking if there is some API method of stripe, something like '/sendEmail' that I can invoke in the charge.succeeded in the webhook and that '/sendEmail' sends receipt to the customer?

minor frost
#

I see, no there is not.

weary frost
#

ok is there some other way that Stripe can send the receipt to the customer, in this scenario?

minor frost
#

I'd highly recommend that you test this on your end

weary frost
#

exactly... I was just thinking I can update payment intent object but I don't know when to invoke update payment intent in the whole process.

#

like how can I get the payment intent object id in the webhook? should i handle 'payment_intent.succeeded' event?

minor frost
#

Unless you're also updating other parameters, that should not be the case.

#

Yes, 'payment_intent.succeeded' and then make the update call and pass the email address

weary frost
#

what should not be the case?

minor frost
#

' I was just thinking I can update payment intent object but I don't know when to invoke update payment intent in the whole process.'

#

I think I mis-interpreted that.

#

But to invoke it, you listen to 'payment_intent.succeeded' and then make the update call and pass the email address

weary frost
#

ok understood

#

now, another question please... do we have an option to include the customer's name in the receipt? I saw that we only have the option of changing the icons and the email receipt would only contain the payment information, correct, but doesn't have customer's name who paid it?

minor frost
weary frost
#

oh, Sorry but may I know the reason that I should contact support for this query? It's a question related to development only right?

minor frost
#

Not the content of the email

weary frost
#

oh! Got you

minor frost
#

I think your ask, does it include the customer's name which is now the content.

weary frost
#

Yes I want to know if we have an option to include the customer's name in the email receipt

minor frost
#

Yeap, that would be our support team.

#

They have more expertise on this.