Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Stripe Not Sending Email Post Purchase

I'm configuring Stripe and have the whole checkout process working, except for the fact that despite configuring the 'receipt_email' variable, Stripe does not send me an email with the receipt after a (test) purchase has been made.

const response = await stripe.confirmPayment({
    elements,
    confirmParams: {
        return_url: `${process.env.REACT_APP_BASE_URL}/projects/${project.id}`,
        payment_method_data: {
            billing_details: {
                name: name,
                email: email
            },
        },
        receipt_email: email
    },
    redirect: "if_required"
})

The email address does appear on the Stripe dashboard against the receipt_email, but an email with the receipt is not sent.

I've also enabled stripe emails as per below:

Stripe email settings

Am I configuring this wrong? Is there something else I need to do? Is it just because I'm on test mode? Any help would be appreciated.

Edit

I found a page on stripe support which talks about the reasons why a person may not be receiving emails. One of the reasons says:

Ensure the email you’re expecting is for a live transaction. Stripe only sends email receipts for payments that are made with your live API key or through your live Dashboard. If you are expecting an email for a test transaction, one will not be sent.

This would answer the 'why' of this question, but I find it hard to believe that Stripe wouldn't offer a way to test the email functionality until live prod deployment when real money gets involved. Is there really no way to test the automation?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Unfortunately, there really isn't a way to test receipts being sent automatically for payments created using your test API keys. This is mentioned here : https://stripe.com/docs/receipts

Instead, you can view or manually send a receipt using the Dashboard by finding the payment in the Dashboard and click "Send Receipt" under "Receipt history".

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!