Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Adrian Blake 10 posts 40 karma points
    Nov 30, 2013 @ 01:33
    Adrian Blake
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft