How to use Different Payment Gateway.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/10/2013 6:54:41 AM
Gravatar
Total Posts 28

How to use Different Payment Gateway.

Can we intergrate different payment gateway other than the options provided in Ecommerce configuration.
I would like to use PAY PAL & CCAVENUE AS PAYMENT GATEWAY.
since ccavenue is not provided in the list 
is it possible for me to easily integrate the functionality for this gateway.

7/10/2013 10:38:28 AM
Gravatar
Total Posts 18439

Re: How to use Different Payment Gateway.

PayPal support is built in as is WorldPay both of which require the user to complete payment away from your site. There is no easy way to add other payment gateways that require the user to leave your site without forking the code which I don't recommend.

For direct credit card processing gateways (ie where the user never leaves your site and a server to server post is made to the process the credit card), we have a plugin system to allow developers to implement and plugin new gateways.

However the only currently available documentation for how to do it is the source code for existing plugins, ie one can study the code for the Authorize.NET or PlugNPay payment gateways to see how a new one could be implemented based on documentation from the provider that you wish to implement. Once implemented the dll for the new plugin goes in the bin folder and an entry must be made in the payment gateway config file, typically one would copy and rename the mojoPaymentGateway.config file that exists in the root of the site, add a declaration for the new gateway and then put a setting in user.config to make it use the new file instead of the default one

ie you would override this default setting:

<add key="PaymentGatewayConfigFileName" value="mojoPaymentGateway.config" />

It is not a trivial task and does require an experienced developer.

 

You must sign in to post in the forums. This thread is closed to new posts.