Register a payment module to the payment workflow
Posted: Thu May 14, 2015 9:55 am
Hello Guys !
I've been through Braintree simple as hell API and been looking at Broadleaf's Payment Gateway architecture. I can tell that its pretty well designed. I get most of it except for a small part.
The server participation in braintree's payment workflow is pretty limited. All his expected from the server is to confirm the transaction initiated by the JS Client.
My question is the following, should I absolutely fit my Transaction confirmation inside the payment workflow mechanism provided by Broadleaf ? For now, all I have to do is have my JS front end call my specific PaymentGatewayController and call the TransactionService. It is not really generic since the UI is calling directly the controller for braintree.
Thanks for your heads up !
Regards,
Daniel Lavoie
I've been through Braintree simple as hell API and been looking at Broadleaf's Payment Gateway architecture. I can tell that its pretty well designed. I get most of it except for a small part.
The server participation in braintree's payment workflow is pretty limited. All his expected from the server is to confirm the transaction initiated by the JS Client.
My question is the following, should I absolutely fit my Transaction confirmation inside the payment workflow mechanism provided by Broadleaf ? For now, all I have to do is have my JS front end call my specific PaymentGatewayController and call the TransactionService. It is not really generic since the UI is calling directly the controller for braintree.
Thanks for your heads up !
Regards,
Daniel Lavoie