New payment gateway support?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
nviusguy
Ensign (ENS)
Ensign (ENS)
Posts: 5
Joined: Fri Oct 26, 2007 5:38 pm

New payment gateway support?

Post by nviusguy » Sat Oct 27, 2007 9:36 am

I read that new merchant providers are not going to be added until post Launch, and will be added based on the 5.5 listed providers list.

I have two questions:
1> In our model, we have a primary provider (Optimal Payments) that isn't supported, and want to know how we can integrate them myself pre-release, as we can't switch providers due to our relationship with this provider.

2> We also have a need to support other payment providers, esp. for foreign currencies. I've used nsoftware's iBizPay module to support the various gateways in the past as they have over 30 integrated. The module uses two types of interface methods: API/Direct, and HTTPS Post, to the gateway providers' systems, and offers an easy way to add custom fields for Level2 transactions. Since this is a .net referenced library, I'm referring to the iBizpay's API, but is there going to be some support for Level 2 data post-launch, or will I need to extend to support that?

Thanks!

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Mon Oct 29, 2007 12:58 pm

1) Anyone can add a payment gateway. All you have to do is create a class that inherits from CommerceBuilder.Payments.Providers.PaymentProviderBase. Basically you will have to create implementations for the "DoAuthorize", "DoCapture", etc.

Visual Studio 2005 makes this pretty easy to figure out, once you type the " : CommerceBuilder.Payments.Providers.PaymentProviderBase" after your class name, you can use the little drop down icon to choose "Implement..." and it will create all of the method stubs for you to fill in.

2) We have a project in place to integrate the IBiz API so that we can offer those processors. I do not know the current status.

EDIT: You should be able to get access to the level 2 data you required without customization of the framework. Depending on what is required, you might have to pass additional information with the request.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Orrsys
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Oct 10, 2007 2:47 am
Location: UK

Post by Orrsys » Mon Oct 29, 2007 2:59 pm

I take it you need the source code to do this?

Thanks

John

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

Post by afm » Mon Oct 29, 2007 4:16 pm

Orrsys wrote:I take it you need the source code to do this?
No. If you have Visual Studio, just reference the CommerceBuilder assembly and then inherit CommerceBuilder.Payments.Providers.PaymentProviderBase. You can use any .NET language you want to create your PaymentProvider. For example, in C# is might look like:

Code: Select all

namespace Me
{
  public class MyPaymentProvider : CommerceBuilder.Payments.Providers.PaymentProviderBase
  {
    ...
  }
}
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Mon Oct 29, 2007 4:27 pm

No, source code is not required. The class that you must inherit from is public. So you would create a new Visual Studio project. Add a reference to "CommerceBuilder.DLL". Then create your new class and make it inherit from the base class I listed above.

Once you compile your project, place the resulting DLL assembly into the "bin" folder of your AbleCommerce installation. The payment gateway admin pages will automatically detect your new provider integration and it will be available on the menus.

In the past we have provided a sample provider project. I am sure we will get one of those put together along with API documentation in the near future. It would be very helpful because it is too much detail for me to do well to describe here.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Orrsys
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Oct 10, 2007 2:47 am
Location: UK

Post by Orrsys » Tue Oct 30, 2007 1:47 am

What about the issue which Mike has commented on below:
The currency feature is a display only feature on the retail side. So even If I select to display my currency in CDN, it will still send the USD amount to the process in USD.
Does this require the source code to be modified so we can take and receive payment in our currency :?:

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Post by Shopping Cart Admin » Tue Oct 30, 2007 8:43 am

Hello,

It will process in what ever is the base (default) currency, so if you have the base set to CDN then it will process in CDN.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

Orrsys
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Oct 10, 2007 2:47 am
Location: UK

Post by Orrsys » Tue Oct 30, 2007 10:26 am

Hi,

So for us to use Able 7 in the UK all we need to do is add a UK payment gate way using Visual Studio:?:

Thanks

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Post by Shopping Cart Admin » Tue Oct 30, 2007 10:32 am

Hello,

Yes, that would be correct. Which processor is popular in UK?
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

Orrsys
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Oct 10, 2007 2:47 am
Location: UK

Post by Orrsys » Tue Oct 30, 2007 11:52 am

Hi

Protx probs the most popular.

Thanks

Orrsys
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Oct 10, 2007 2:47 am
Location: UK

Post by Orrsys » Tue Oct 30, 2007 12:38 pm

Hi,

Are you aware of 3D secure?

Will this pose a problem when adding a UK payment gateway using Visual Studio?

Thanks

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Post by sohaib » Tue Oct 30, 2007 1:44 pm

Hello,

My knowledge about 3D secure is limited ... however I suppose it is an enhanced payment processing gateway with some additional security checks for fraud?

In this context I can't really understand what you mean to ask when you say
Will this pose a problem when adding a UK payment gateway using Visual Studio?
I don't know why 3D secure should pose any problem if you add a UK or any other payment gateway using Visual Studio.

If you mean whether you could implement 3D secure using the method described above ... then the answer is yes if there is API provided by 3D secure for integration... which I am sure there must be...


Thanks,
Sohaib

Orrsys
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Oct 10, 2007 2:47 am
Location: UK

Post by Orrsys » Tue Oct 30, 2007 2:11 pm

Ok

Thanks for your advice :wink:

Post Reply