Zen Cart Logo
Forums / Addon Payment Modules / ProxyPay3 payment gateway

ProxyPay3 payment gateway

Locked

Views: 6,250

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
27 Apr 2007, 12:06 PM
#1
oschellas avatar

oschellas

New Zenner

Join Date:
Apr 2007
Location:
Athens - Greece
Posts:
7
Plugin Contributions:
1

ProxyPay3 payment gateway

Today I contributed a creditcard payment module designed to work with a Greek bank (EFG Eurobank Ergasias).

This module uses php sock and posts xml credit card information through http over a secure connection (SSL). Advantage of this module is that it does not use a redirect.

With some modifications it could also work with other banks in Greece (Alpha Bank, Piraeus Bank, Winbank, National Bank of Greece, Nova Bank, Geniki, Emporiki Bank etc.).

Post a message if you have any problem with operating this contribution.

20 Aug 2008, 11:39 AM
#2
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi there,

I have just downloaded your module and I have a question. Is there any web site running with the module installed? I needed as we are in discussions with Eurobank about setting account etc.

Also if I understand it correct the module would require an SSL connection on our server, am I correct? The reason been is that Eurobank allows for their proxy server to be used by sending the purchase info and then once there enter the cc data rather than on our site. Would that be easy to convert your module to handle that?

Thanks
Tassos

21 Aug 2008, 4:37 AM
#3
oschellas avatar

oschellas

New Zenner

Join Date:
Apr 2007
Location:
Athens - Greece
Posts:
7
Plugin Contributions:
1

Re: ProxyPay3 payment gateway

It is not difficult to create a payment gateway with redirecting for Eurobank, but it has to be created and tested.

22 Aug 2008, 11:58 AM
#4
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Kalimera oschellas

I am glad you are still around :-)

Now I have shorted it out with Eurobank and they are ok with using the script. The problem is that I am testing it but nothing happens. Even when I use the 4000000000000002 number which is supposed to give me an error as you mention in the readme file the cart is processed as if the card is valid. I have even changed it to live mode with a rela credit card but nothing happens other than the cart accepting it but nothing in the back office of the proxypay server.

Tassos

22 Aug 2008, 1:03 PM
#5
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi again,

I have just noticed (sorry) that the script uses SSL
"$fp = pfsockopen("ssl://".$host, 443, $errno, $errstr, 120); "

Can I tested without SSL? I do not want to necessary buy the certificate only to find out that it does not work

Tassos

23 Aug 2008, 8:08 AM
#6
oschellas avatar

oschellas

New Zenner

Join Date:
Apr 2007
Location:
Athens - Greece
Posts:
7
Plugin Contributions:
1

Re: ProxyPay3 payment gateway

As far as I know, while in the testing mode it is not needed to have a ssl certificate, it is needed however that openssl and sockets are available on your server. You can check your server configuration with the phpinfo() function. You can't switch to live mode before Eurobank has upgraded your account.

Ask Eurobank for a demo creditcard which you can use for testing, the 4000000000000002 doesn't work anymore.

5 Sep 2008, 12:24 PM
#7
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi oschellas,

I am getting an error. Finally I got the SSL up and running and made sure that the sockets are open. I did run tests scripts and everything came clear. Now when I try to connect to the bank i am getting the error

[05-Sep-2008 05:18:57] PHP Warning: pfsockopen() [<a href='function.pfsockopen'>function.pfsockopen</a>]: unable to connect to ssl://mysitename:443 (Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?) in /***********/includes/modules/payment/cc_eurobank.php on line 84

I tried and even changed the ssl://mysitename to https://mysitename but nothing still error

Any ideas will be great :-) as this is only what is left before going live.

Tassos

6 Sep 2008, 1:35 AM
#8
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

hrinfo:

Hi oschellas,

I am getting an error. Finally I got the SSL up and running and made sure that the sockets are open. I did run tests scripts and everything came clear. Now when I try to connect to the bank i am getting the error

I tried and even changed the ssl://mysitename to https://mysitename but nothing still error

Any ideas will be great :-) as this is only what is left before going live.

Tassos

Hi again,

Sorry I was wrong. For everyone else check first that pfsockopen works in normal mode. If it does and you get the error in ssl mode then it is the server that blocks the connection.

Tassos

9 Sep 2008, 2:44 PM
#9
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi again (sorry)

Ok now pfsockopen works just fine. Openssl and sockets working but now when I try to process the payment on the final sage I am getting the error:

There was a problem with the server, please try again later or contact us if the problem persists.

I checked the logs but there is nothing there. Any ideas?

Tassos

10 Sep 2008, 1:23 PM
#10
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

OK finally got everything working or so it looks like. For everybody else it looks like that the bank has disabled the eptest.**** site adn they run the test on the main domain by giving you a test account.

Tassos

9 Mar 2009, 9:24 AM
#11
zoreli avatar

zoreli

New Zenner

Join Date:
May 2005
Posts:
49
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi

I install your module and it works like a charm.

However at this time, you are using PreAuth datatype, which mean that if customer does not confirm the transaction from the Eurobank back office, he will not get the money on his account.

(According to my customer, and that was also confirmed to me by Eurobank support staff.)

In case that customer doesn't want to confirm each transaction, I should change the datatype from PreAuth to Capture.

I change the following line:

//$typeData = "PreAuth";
$typeData = "Capture";

(arround line 277) but I am getting Error 30.

Can you help me to solve this issue somehow?

Regards, Zoreli

10 Mar 2009, 8:52 AM
#12
oschellas avatar

oschellas

New Zenner

Join Date:
Apr 2007
Location:
Athens - Greece
Posts:
7
Plugin Contributions:
1

Re: ProxyPay3 payment gateway

Helo Zoreli,

You would have to make a second request with the capture type after the pre authoring request. The reference must be identical in both requests.

Tom

10 Mar 2009, 2:17 PM
#13
zoreli avatar

zoreli

New Zenner

Join Date:
May 2005
Posts:
49
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi Tom

Thanks for your response. I try to did this:

$typeData =              "PreAuth";
$cc_owner =     $_POST['cc_owner'];
$cc_type =       $_POST['cc_type'];
$cc_number =   $_POST['cc_number'];
$cvc_number = $_POST['cvc_number'];
$cc_expires = $_POST['cc_expires'];
$debug_string = 'error';
$customer_data = $this->createXML_msg($typeData,$cc_owner,$cc_type,$cc_number, $cvc_number, $cc_expires,  $amount, $customer_email, $merchant_id, $password,$description,$customer_ip);


$typeData =              "Capture";
$cc_owner =     $_POST['cc_owner'];
$cc_type =       $_POST['cc_type'];
$cc_number =   $_POST['cc_number'];
$cvc_number = $_POST['cvc_number'];
$cc_expires = $_POST['cc_expires'];
$debug_string = 'error';
$customer_data = $this->createXML_msg($typeData,$cc_owner,$cc_type,$cc_number, $cvc_number, $cc_expires,  $amount, $customer_email, $merchant_id, $password,$description,$customer_ip);

 

and I get error 30. can you point me how to do it right please?

Regards, Zoreli

15 Jul 2009, 11:07 AM
#14
sport_billy avatar

sport_billy

New Zenner

Join Date:
Jun 2009
Location:
Greece
Posts:
31
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hallo i have installed the module on zen cart version 1.3.8 and it works with a serious problem ..when a transaction is made the price shown in the bank backend is 1/10 of the true price.For example if something costs 10 euro in the backend it says 1 euro,if it costs 7 euro it says 0.7 euro...
Does anyone else has the same problem?Is there a way i can fix it?

21 Jul 2009, 11:55 AM
#15
zoreli avatar

zoreli

New Zenner

Join Date:
May 2005
Posts:
49
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi

Winbank has recenctly upgrade their redirection method and now they require additional parameter named acquirerid

Anyone has any idea where can I add this parameter? Which page should I alter?

I have module named winbank in my payments/modules folder, and I try to add it there without sucess.

Anyone know which page is main_page=checkout_confirmation

Regards, Zoreli

2 Oct 2009, 12:06 PM
#16
sport_billy avatar

sport_billy

New Zenner

Join Date:
Jun 2009
Location:
Greece
Posts:
31
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

hrinfo:

Kalimera oschellas

I am glad you are still around :-)

Now I have shorted it out with Eurobank and they are ok with using the script. The problem is that I am testing it but nothing happens. Even when I use the 4000000000000002 number which is supposed to give me an error as you mention in the readme file the cart is processed as if the card is valid. I have even changed it to live mode with a rela credit card but nothing happens other than the cart accepting it but nothing in the back office of the proxypay server.

Tassos

The same problem here on my 1.3.8 version.It was working properly before 2 months,but now i have the same problem,and i have not changed something neither on my server nor the script.
Any help appreciated.

6 Jan 2010, 9:47 PM
#17
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hallo, and happy new year!

I am about to install this module on zencart 1.3.8. Does it still support winbank?

Kind regards,
orange_juice

8 Aug 2010, 2:43 PM
#18
thesinner avatar

thesinner

New Zenner

Join Date:
Jun 2010
Posts:
25
Plugin Contributions:
0

Re: ProxyPay3 payment gateway

Hi. this works to zen cart "1.3.9" or "1.3.8"?
I need one of the two.

27 Jun 2011, 2:04 PM
#19
oschellas avatar

oschellas

New Zenner

Join Date:
Apr 2007
Location:
Athens - Greece
Posts:
7
Plugin Contributions:
1

Re: ProxyPay3 payment gateway

I have developed payment modules for Alphabank, Winbank (Piraeus Bank - new ticket method) and Eurobank. Optional modules are available that support instalments.

For more info have a look at webit.bz