Custom gateway, how to send emails?
-
Hi ??
Am I creating my own custom online payment gateway. It works extremely different from the built-in PayPal, so I couldn’t really use that as a reference… I’ve got everything working (payment page, payment link, customer can pay online, webhook is correctly called, invoice status (term) is correctly updated, invoice history is updated, etc.)
The only thing I cannot get to work, is sending out emails for “payment_received” to admin and client.
I tried looking on your Developer section, but nothing helped me there. ??
Could you please provide a hook or (better yet) a snippet to trigger the payment received emails, please?
Many thanks in advance,
Patrick.
- The topic ‘Custom gateway, how to send emails?’ is closed to new replies.