Extending PaymentProviderBase class issue

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
jeff.bray
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Mon Nov 10, 2014 11:43 am

Extending PaymentProviderBase class issue

Post by jeff.bray » Mon Nov 10, 2014 12:24 pm

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Extending PaymentProviderBase class issue

Post by mazhar » Tue Nov 11, 2014 4:56 am

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
 }

Post Reply