Adding a payment provider - Worldpay form redirect method
Hey,
I'm creating a payment provider for Worldpay (using the form redirect method where a form is built up and redirected to Worldpay to handle the transaction) but I have a few queries regarding the Payment provider setup.
All methods in PaymentGatewayMethodBase return IPaymentResult however I do not wish to create a payment at this stage. I only want to execute payment logic when the user has returned from the payment gateway.
I'm currently overriding PerformAuthorizePayment to do the following:
which will throw an null ref when Merchello.Core.Gateways.GatewayEvents.CreateOrder is called.
Is there another way to execute the redirect without having to create a payment?
If that isn't possible and I create a payment, can I then update applied payment status on response of WorldPay? (when I have found the invoice of course) Or must I add a new payment?
Adding a payment provider - Worldpay form redirect method
Hey,
I'm creating a payment provider for Worldpay (using the form redirect method where a form is built up and redirected to Worldpay to handle the transaction) but I have a few queries regarding the Payment provider setup.
All methods in PaymentGatewayMethodBase return IPaymentResult however I do not wish to create a payment at this stage. I only want to execute payment logic when the user has returned from the payment gateway.
I'm currently overriding PerformAuthorizePayment to do the following:
which will throw an null ref when Merchello.Core.Gateways.GatewayEvents.CreateOrder is called.
Is there another way to execute the redirect without having to create a payment?
If that isn't possible and I create a payment, can I then update applied payment status on response of WorldPay? (when I have found the invoice of course) Or must I add a new payment?
Thanks! John
Hi John,
Did you find an answer for your question?
I'm currently at the same stage as you..
Regards, Márcio Duarte
Hi John and Marcio,
Did you guys find the answer to this issue? I'm about to come to this and saw it as a potential issue.
regards, Michelle
I realise this is another year older, but was there any solution?
Thanks.
is working on a reply...