2

I need to send the confirmation e-mail to customer only on successful payment. How can I do it?

I need to place that code in the controller that inserts the payment information in database and before redirecting to the success page.

  • are you using custom payment method or default payment method? – Abdul Apr 6 '16 at 13:25
  • Custom payment method. It is all OK but the confirmation e-mail to customer. – jstuardo Apr 7 '16 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.