I've created a custom Stripe payment provider for a project, based on the included PayPal one (fairly heavily modified, as Stripe has a very different workflow). For the record, it currently supports only Checkout.
The payment provider appears to work perfectly in all bar one respect - I have
the standard SMTP Notification Provider set up and an Order Confirmation email configured. However, with the Stripe payment provider it's never sent.
If I enable the Cash payment provider then the order confirmation email is sent when I capture funds, so the SMTP provider is configured correctly.
Everything else works fine with the Stripe provider - funds are captured, an order is created and so on.
I presume I've missed something out in the Stripe provider, but I can't for the life of me see what it is. Can you point me in the right direction?
Oh, this is running on Merchello v2.6.0 and Umbraco v7.7.9, and the site uses a modified version of FastTrack.
Worked this out eventually - the payment providers raise an event and then consume it, firing the notification.
I have to confess I don't get this architecture - I would have thought that the notification should be fired when the order is complete. The payment provider shouldn't need to have any knowledge of notifications, it should be solely concerned with processing payments!
Custom Stripe payment provider - no Order Confirmation email sent
I've created a custom Stripe payment provider for a project, based on the included PayPal one (fairly heavily modified, as Stripe has a very different workflow). For the record, it currently supports only Checkout.
The payment provider appears to work perfectly in all bar one respect - I have the standard SMTP Notification Provider set up and an Order Confirmation email configured. However, with the Stripe payment provider it's never sent.
If I enable the Cash payment provider then the order confirmation email is sent when I capture funds, so the SMTP provider is configured correctly.
Everything else works fine with the Stripe provider - funds are captured, an order is created and so on.
I presume I've missed something out in the Stripe provider, but I can't for the life of me see what it is. Can you point me in the right direction?
Oh, this is running on Merchello v2.6.0 and Umbraco v7.7.9, and the site uses a modified version of FastTrack.
Worked this out eventually - the payment providers raise an event and then consume it, firing the notification.
I have to confess I don't get this architecture - I would have thought that the notification should be fired when the order is complete. The payment provider shouldn't need to have any knowledge of notifications, it should be solely concerned with processing payments!
is working on a reply...