I keep having null reference exception and I am not too sure why. My service is set up with my delivery service and for the country, etc. After choosing the custom payment service I'm trying to set up (Moneris) the following line gets excuted in Payment.cshtml Razor script:
This goes to my class MonerisPurchase which implements IPaymentFactory and IPaymentMethodService and everything required to build the project is there but each one needs a request which is never recieved from TransactionLibrary.CreatePayment.
CreatePayment, RequestPayment and ProcessPaymentRequest all failing for me because they don't recieve a PaymentRequest, maybe there is something I'm really missing here? Please help?
IPaymentFactory does not receive PaymentRequest
I keep having null reference exception and I am not too sure why. My service is set up with my delivery service and for the country, etc. After choosing the custom payment service I'm trying to set up (Moneris) the following line gets excuted in Payment.cshtml Razor script:
TransactionLibrary.CreatePayment(newPaymentMethodId, -1, true, true);
This goes to my class MonerisPurchase which implements IPaymentFactory and IPaymentMethodService and everything required to build the project is there but each one needs a request which is never recieved from TransactionLibrary.CreatePayment.
CreatePayment, RequestPayment and ProcessPaymentRequest all failing for me because they don't recieve a PaymentRequest, maybe there is something I'm really missing here? Please help?
Thanks!
is working on a reply...