Monday, January 12, 2015

Coming soon: A PayEx payment provider for EPiServer Commerce

One of the projects I've been working on lately is a new PayEx payment provider for EPiServer Commerce and I'm very excited to announce that the provider will be available very soon!

Supported payment methods
In its first version, the provider will support several of the PayEx payment methods:
The prerequisites for the provider are the following: 
  • EPiServer.CMS version 7.6.3 or higher
  • EPiServer.Commerce version 7.6.1 or higher
  • .NET Framework 4.5 or higher
How does the payment provider work? 
When developing this payment provider, I've focused on simple installation and extensibility. Looking at the install instructions of the other payment providers available for EPiServer Commerce, I found that they all require lots of copying files from one folder to another, manual labor that will result in the provider not working as expected if you make a mistake. To avoid this issue in the PayEx payment provider, anything that could be automated has been automated. And needless to say, new payment methods should be easy to add in the future. 
The PayEx payment provider consists of two NuGet packages which will be available from the EPiServer NuGet feed, one will be added to your web project and one will be added to your Commerce Manager. 
During initialization, the PayEx payment provider will check whether the required MetaClasses and MetaFields exist. If they don't exist, they will be created for you automatically. An instance of all the available payment methods will also be created for you, so you simply need to activate the ones you want to use. 
After including your PayEx account information in the module settings for the payment provider, you will be all set. You will need to write some code to handle transaction callbacks etc., but this should be fairly straight forward as example code will be included. 
So stay posted, I'll let you know as soon as the payment provider is made public! 

No comments:

Post a Comment