Zen Cart Logo
Forums / Addon Payment Modules / Direcpay Payment Gateway Integration

Direcpay Payment Gateway Integration

Views: 6,699

Results 1 to 15 of 15
22 Jan 2010, 5:31 AM
#1
muteyaar avatar

muteyaar

Zen Follower

Join Date:
Oct 2007
Posts:
134
Plugin Contributions:
0

Direcpay Payment Gateway Integration

Hi,

I have an active account with https://www.direcpay.com for using their gateway service for receiving online payments through net banking and credit cards etc. in Indian Rupees.
I want to integrate this to my zen cart website. But I do not know how this has to be done.

Can anyone help me in this regard?

I am using paypal as the payment method at present, which I added to tthe website myself by adding paypal MOD.

But I do not know how to add Direcpay MOD.And where to get this MOD or how to make this MOD.

I will be very thank ful if someone can help me.

thanks,

virpal singh


28 May 2010, 1:00 PM
#2
status avatar

status

New Zenner

Join Date:
Aug 2005
Posts:
24
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

Hello,
I need to integrate a payment Gateway to accept CC and Net Trasfer Payments in Indian Rupees.
I have been provided with the code. However I am not sure how and where do I add the same in the script.

I am supposed to send the data to the gateway's transaction URL in a pipe separated format in a parameter named 'requestparameter'.

Please check the below code provided by the Payment Gateway technical Team

global $requestparameter, $order, $currencies, $customer_id, $MerchantId,
$Amount, $OrderId, $Url, $opmode, $succURL, $failureURL, $collaboratorid,
$country, $otherdtls;

$Url = "https://test.timesofmoney.com/direcpay/secure/dpMerchantParams.jsp";
$MerchantId = "2xxxx5xxxx00xx2";
$Amount = "100.00";
$OrderId = "testorder0001";
$succURL = "http://www.xyz.com/checkout_success.php";
$failureURL = "http://www.xyz.com/checkout_failure.php";
$otherdtls = "notrequired";
$opmode = "DOM";
$collaboratorid = "TOML";
$currencies = "INR";
$country = "IND";
$BankID-BankName = "3340-Wallet365 Bank";
$CardType = "DD";
$requestparameter_string = $MerchantId
."|".$opmode."|".$country."|".$currencies."|".$Amount."|".$OrderId."|".$succ
URL."|".$failureURL."|".$collaboratorid."|".$BankID-BankName."|".$CardType;

28 May 2010, 2:30 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

This is not something that you just paste into a file somewere... a complete module needs to be written. The safest approach is to ask for commercial help... these jobs are very complex and specialized.

24 Nov 2010, 5:13 AM
#4
jbold avatar

jbold

New Zenner

Join Date:
Nov 2010
Posts:
1
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

I need to integrate a custom payment gateway - can someone point me to where I do this? what files i need to edit/interact with? I took a look at the amazon custom payment module - can i just mod that or the google checkout one?

Thanks,

JR

24 Nov 2010, 11:04 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

The payment gateway you are considering will be the best place to start, as they will provide information and API details indicating how their systems require information to flow into their payment processing program.

You will then need detailed understanding of how zencart processes payment information on its side, and then write appropriate code that allows both zencart and the payment gateway to communicate with each other.

This is not usually a job for novices to undertake...

22 Mar 2011, 10:35 AM
#6
einzigtech avatar

einzigtech

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

Hello,
We have made the module nearly but there is some problems that we are facing few serious problems.
We are able to send the values properly to the DirecPay but when the payment is over and DirecPay is sending us back to our main site's checkout_success page, we get stuck. :frusty:
According to the support team they are sending a variable as "$_REQUEST['responseparams']" where all the values are send as pipeline separation. We are unable to fetch the response and to redirect them successfully as the order can be enlisted in the database and the admin can get it from the control panel. :shocking:
Any help or suggestion is highly appreciable.
Thanks

22 Mar 2011, 2:07 PM
#7
einzigtech avatar

einzigtech

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

How to get started to Integrate or where to get the information on zencart processes payment?:cry::cry:

22 Mar 2011, 2:25 PM
#8
einzigtech avatar

einzigtech

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

Hello,
We are also working with the DirecPay as the payment gateway.
We have developed half of the module where we are able to send the complete information to the DirecPay website. Its working just fine.
The issue is when we are returned to your website from DirecPay, we cannot handle the way to make the order from the basket to the order table. :frusty:
Any help is highly appreciable.
Thanks,
EinzigTech

22 Mar 2011, 2:40 PM
#9
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,621
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

Moderator's note - 3 threads dealing with the same subject have been merged here.

Please do not continue to post in multiple threads.

22 Mar 2011, 2:44 PM
#10
einzigtech avatar

einzigtech

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

Hello Kim,
Sorry for the matter but I had posted all the 3 posts in different locations.
Thanks for the help

23 Mar 2011, 11:21 AM
#11
einzigtech avatar

einzigtech

New Zenner

Join Date:
Nov 2010
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

Hi ALL,
Thanks for all your support and thanks to Zen Cart team.
I have figured it out and made the complete module for the payment of DirecPay. Its working just fine.:clap:
But the problem I am facing is if it is a FAILED transaction, the Payment Confirmation still shows the last order of the client instead of showing the error message.:yuck:
Any help is highly appreciable.
Thanks in advance

19 Apr 2011, 11:23 PM
#12
misstish avatar

misstish

New Zenner

Join Date:
Dec 2010
Posts:
18
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

I want to create a custom payment module for IntelliPay, a payment gateway that my client is using. Can you please educate me regarding what steps needed to be taken to properly interface with Zen Cart payment processing? What a great help it would be!

Miss Tish! ~~ :smartalec:

29 Jun 2011, 7:04 AM
#13
coolu avatar

coolu

New Zenner

Join Date:
Jun 2011
Posts:
1
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

hi can anyone provide me the module for directpay :smile:

14 Feb 2012, 2:54 PM
#14
amitvkaria avatar

amitvkaria

New Zenner

Join Date:
Feb 2012
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

DirecPay provides the installation procedure for Zen Cart amongst other Open source ecommerce shopping carts but the one provided for Zen Cart is giving some errors - Am after them to provide me a solution will update here if I get the solution - am looking in the meanwhile.

26 Apr 2013, 10:47 AM
#15
amitvkaria avatar

amitvkaria

New Zenner

Join Date:
Feb 2012
Posts:
7
Plugin Contributions:
0

Re: Direcpay Payment Gateway Integration

DirecPay are usually helpful and were able to ensure my integration works fine with their Payment gateway now. If you still face a problem let me know and Ill send the files across and where they have to be changed/ integrated - their website has a manual to do this as well.

All the best.