To fix issue when user make a payment via non omise payment then order email for on-hold status won't be send to merchant
Description of change
Non Omise Payment will always send email to merchant for order with status on-hold
Quality assurance
When user make payment with non Omise payment then order email with status on-hold will always send to the merchant but with Omise payment there should be no order email with status on-hold send to the merchant
🔧 Environments:
Tested locally by pointing OMISE_API_URL to Staging
To fix issue when user make a payment via non omise payment then order email for on-hold status won't be send to merchant
Non Omise Payment will always send email to merchant for order with status on-hold
When user make payment with non Omise payment then order email with status on-hold will always send to the merchant but with Omise payment there should be no order email with status on-hold send to the merchant
🔧 Environments:
Tested locally by pointing OMISE_API_URL to Staging
WooCommerce: v5.7.1 WordPress: v5.8 PHP version: 7.1
No impact, this is to ensure the behavior remains the same as before
High