Hi. I have a very minor but very important feature request which will benefit your plugin and its users a lot. Currently, when using Stripe gateway for credit/debit card payments, a receipt is not sent automatically because the MEC plugin is not setting the “receipt_email” parameter in the Stripe API request ( as explained on https://stripe.com/docs/receipts )
It’s a very minor change in the modern-events-calendar/app/features/gateways.php file. Here’s the diff of the change I made locally and it worked:
598c598
id)) $stripe->paymentIntents->update($results[‘id’], [‘customer’ => $customer->id]);
—
> if($customer and isset($customer->id)) $stripe->paymentIntents->update($results[‘id’], [‘customer’ => $customer->id, ‘receipt_email’ => $user_email]);
1774c1774
id)) $stripe->paymentIntents->update($results[‘id’], [‘customer’ => $customer->id]);
—
> if($customer and isset($customer->id)) $stripe->paymentIntents->update($results[‘id’], [‘customer’ => $customer->id, ‘receipt_email’ => $user_email]);
Please add this change to the official file and release an updated version soon. Thanks!
