• Resolved rag1972

    (@rag1972)


    I would like Stripe to send receipts to customers automatically. I’ve enabled the relevant tick boxes in the Stripe dashboard. Stripe Support are saying:-

    “Since WooCommerce isn’t sending the “receipt_email” parameter with the charge request, we’re not sending an email receipt out. Once that information is successfully sent over to Stripe, we will send the email receipts.”

    Can anybody point me in the right direction please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rag1972

    (@rag1972)

    This excerpt is from Github (2017):-

    ‘Currently, we do not populate the [receipt_email] and [receipt_number] fields when sending transactions to Stripe. Instead, we only pass this as metadata. Because of this, you aren’t able to use Stripe’s built in receipt function.’

    Is this still the case?

    Hi @rag1972,

    I located the issue you were referencing there. It makes mention that you can enable this via a WordPress filter. You can either add this to your theme’s functions.php file or with a plugin called Code Snippets.

    
    add_filter( 'wc_stripe_send_stripe_receipt', '__return_true' ); 
    

    https://github.com/woocommerce/woocommerce-gateway-stripe/issues/260#issuecomment-301859259

    The plugin has this filter available so people can send the receipt fields with the request to Stripe. Some site’s need this and others don’t so this filter makes a way for these to be turned on as needed.

    I hope that helps out,

    Hi @rag1972,

    As we appear to have a solution I am going to mark this thread as Resolved. If you have further questions please open a new thread and let us know!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatically send receipts’ is closed to new replies.