Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

209
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda