Automatic email after stripe payment

I have implemented a two steps payment within my site.

  1. Using a stripe contact form collecting name and email address from my customer. Next button opens a new page
  2. This new page is my custom payment page with two buttons for payment online without using the Wix store app.
    One button uses Wix paypal app and the other one is a custom button linked to my stripe account.

The question is : how can I set up automatic confirmation emailling to my customers with the amount entered on page 2 ?

Thank you for you support !

Take a look at the article How to Send an Email on Form Submission on how to send emails.

Using the Stripe Example as a way to explain… in the Paynow() function, where the Stripe charge ID is received, you could send the email.

Have fun,

Yisrael