I am using Chris's version of the SagePay plugin (https://github.com/chris64digital/Merchello.Plugins.SagePay) and have got to the point where I have a button on the checkout confirm page.
The problem is I am not sure what I need to do now. I have created a controller which inherits from BazaarPaymentMethodFormControllerBase. I assume I need to add code to this:
Although, it did make me wonder if my controller should be inheriting from SagePayPaymentGatewayMethodBase rather than BazaarPaymentMethodFormControllerBase?
I am currently trying that but I'm not sure I'm right ...
The only exception to what @Biagio stated is if you are using the controller base that is defined in the Bazaar, you would need to take the Bazaar dll as a dependency.
It was super interesting for me to see how you and Barry did your implementations - and yes it did give me some ideas how to make payment methods that require a redirection easier for Bazaar implementations.
Help with SagePay controller
I am using Chris's version of the SagePay plugin (https://github.com/chris64digital/Merchello.Plugins.SagePay) and have got to the point where I have a button on the checkout confirm page.
The problem is I am not sure what I need to do now. I have created a controller which inherits from BazaarPaymentMethodFormControllerBase. I assume I need to add code to this:
I am currently stuck on what that code should be :-(
I blogged a bit about the Bazaar setup yesterday -http://uditty.com/articles/archive/merchello-bazaar-resolvable-payment-forms/
good
Yeah ... sorry, didn't really help :-(
Although, it did make me wonder if my controller should be inheriting from SagePayPaymentGatewayMethodBase rather than BazaarPaymentMethodFormControllerBase?
I am currently trying that but I'm not sure I'm right ...
Does a plugin need to be written with Bazaar integration built in?
No...Plugin is not dipendent from Bazaar.
@Biagio @Gordon
The only exception to what @Biagio stated is if you are using the controller base that is defined in the Bazaar, you would need to take the Bazaar dll as a dependency.
It is now working, here are details of what I needed to do (I am using Merchello 1.9 and Bazaar with the SagePay version from Chris64
Partial view (SagePayFormPaymentMethodForm.cshtml) in Bazaar theme:
A payment gateway controller in my project (VintageFineArmsPaymentMethodController.cs). This is a modified version of the base controller in Bazaar:
///
Awesome Gordon!
It was super interesting for me to see how you and Barry did your implementations - and yes it did give me some ideas how to make payment methods that require a redirection easier for Bazaar implementations.
I'll have a play at it.
is working on a reply...