#jaram

1 messages · Page 1 of 1 (latest)

marsh kestrelBOT
native basalt
#

Hi! Could you please share more context?
What kind of emails do customers receive?

marsh kestrelBOT
torpid ferry
#

It is when the customer purchase an order.

rocky sapphire
#

Do you have the ID of the payment that this happened for?

torpid ferry
#

This is example of the receipt:

#

What ID do you mean?

rocky sapphire
#

The ID will look like pi_1234... and it will show up in the URL of your dashboard page when you are looking at the payment in your dashboard

torpid ferry
#

pi_3MqF2JEd38G7C1rb16gWnjH7

rocky sapphire
#

Thank you for the ID

torpid ferry
#

Does it help?

rocky sapphire
#

Yes though I am still looking in to this and will get back to you

#

Were you just trying to have the email included as a billing detail on the payment intent itself?

torpid ferry
#

Yes, it is just to keep track of the customers

#

We check the email, if the same email and name, we add the payment to the same

#

Not for sending recepipt

rocky sapphire
#

In that case you might either want to check against your customer object, which also looks to have this email here, or you can set the email in the payment intent's metadata

#

Setting it as the receipt email will always ensure an email is sent as far as I am aware

torpid ferry
#

And there is no flag in the DTO which stops the mail sending?

rocky sapphire
#

Not if that field is set no

#

That field is more or less for ensuring that you will send an email