• Resolved digitalbeans

    (@robbidb)


    Hi there,

    At the minute when I check WooCommerce email settings, I can’t disable the Stripe receipts.

    If I uncheck the box and save settings, they are turned on again after page reload.

    Is there a way I can disable those receipts?

    I tried the following from a previous thread:

    function remove_receipt_email($args){
    
          unset($args['receipt_email'];
    
          return $args;
    
    }
    
    add_filter('wc_stripe_payment_intent_args', 'remove_receipt_email');

    But I get a critical error on the website.

    Is there another way to do this?

    Thanks for your help! 🙂
    Robbi

Viewing 1 replies (of 1 total)
  • Plugin Author Clayton R

    (@mrclayton)

    If I uncheck the box and save settings, they are turned on again after page reload.

    That sounds like a problem regarding your site’s ability to save settings which you might want to resolve.

    But I get a critical error on the website.

    You should add that filter in your child theme’s functions.php.

    Kind Regards,

Viewing 1 replies (of 1 total)

The topic ‘Disable email receipts’ is closed to new replies.