#OHMelin-email

1 messages · Page 1 of 1 (latest)

solar crown
#

Hi! You would need to:

  1. Listen to a wehbook event to know that the payment is successful (for example checkout.session.completed if you are using Checkout Session)
  2. And then write some code to fulfil your order. In your case you would send an email to your customer that includes the licence.
dense stratus
#

Thanks, but is it possible to have Stripe handle purchase emails?

solar crown
#

Stripe can send receipts email (as explained here https://stripe.com/docs/receipts) but they cannot be customized.
So if you want to include a licence, you'll have to send the emails yourself.

dense stratus
#

Okay 😄
Is there a tutorial or guide for this?

solar crown
dense stratus
#

Thanks!

Does your webhook include the order ID of their payment?

faint pawn
#

Hello there. That depends on what you mean by 'order ID'?