Page 1 of 1

Extending PaymentProviderBase class issue

Posted: Mon Nov 10, 2014 12:24 pm
by jeff.bray
CommerceBuilder Version: 7.88.5267.6803

I'm extending the PaymentProviderBase class and when I try to compile, I get the following error. No suitable method found to override on the Initialize method. If I remove the override keyword from the method it will compile but the Initialize method is never called. Any feedback ASAP would be appreciated.

Thanks

JB

Re: Extending PaymentProviderBase class issue

Posted: Tue Nov 11, 2014 4:56 am
by mazhar
Maybe you missed some in parameter? Try it like this and see what does it say

Code: Select all

 public override void Initialize(int PaymentGatewayId, IDictionary<string, string> ConfigurationData)
 {
            base.Initialize(PaymentGatewayId, ConfigurationData);
            // YOUR CUSTOM CODE GOES HERE
 }