Forums / Addon Payment Modules / Protx direct Payment Module

Protx direct Payment Module

Locked
Results 1 to 20 of 27
This thread is locked. New replies are disabled.
18 Jun 2006, 23:29
#1
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Protx direct Payment Module

Calling Conor :smile:

Installed your Protx mod as per the instructions on your site and in the original thread.
http://www.zen-cart.com/forum/showthread.php?t=33407&highlight=protx

Very easy to install and superb instructions. Thanks :thumbsup:

My set-up is as follows:
Zen Cart 1.2.7
PHP Version 4.4.2
MySQL version 4.1.19-standard

Unfortunately I can't get it to work and receive the following error:

VSP Simulator cannot find your vendor name in its database. The
simulator saw the Vendor Name '******')

The vendor name being reported is correct so I contacted Protx and their response was:

"The Simulator cannot be used to test when using custom shopping carts. Therefore you will need to test with our TEST server.

It appears that within your cart, it is set to the Simulator as opposed to the TEST server. Two different test modes altogether. The Simulator has been set up for those that use our integration kits. It is not set up for those using carts as the carts are supposed to have already integrated with our systems.

Check your settings to see if there is an option for the TEST server.
If it requires a url then it is, https://ukvpstest.protx.com/vpsDirectAuth/PaymentGateway.asp"

This had me puzzled as everybody else seems to have got it working without a problem. I've double checked with Protx that I have the necessary accounts set up with the correct rights and I have.

I updated protx_direct.php with the new url but now I get an error telling me my IP address is not recognised. I've checked my settings on Protx however and my IP is registered with my account.

Any help would be greatly appreciated.

Thanks

Brent
19 Jun 2006, 11:36
#2
conor avatar

conor

Passed

Join Date:
Aug 2004
Posts:
2,480
Plugin Contributions:
3

Re: Protx direct Payment Module

Hi Brent,

How are you? :)

First off, about VPS Simulator. It isn't true that it can't be used, it can be used with the Protx Direct flawlessly. In fact, it's exactly what I use to test out our clients' sites. Protx support several other carts but Zen Cart isn't directly supported by them, so it is classed as "other" and therefore was built based on the integration kit.

It simply sounds like Protx didn't create an account on the Simulator server for you as they must have thought you could only use the test and live servers. I might add in another option for the test server though as well so that everyone can have the best of all three worlds! :)

On to your remaining problem though...

When you input an IP address into the Protx Admin you don't actually put the IP address which your site uses for its SSL hosting! All commands to Protx are sent from your server's normal IP address... the IP address you purchased to use with a SSL certificate is only used for exchanges between your server and the customer's browser... once your server wants to communicate with the outside world (for example, with Protx), it sends the commands directly from its normal address, communicating securely with the external server using the external server's secured IP address.

Protx really don't make this clear when they say to add your IP address into their Admin... a bit silly of them really!

That information should hopefully have you sorted. Please let me know if it doesn't! :)

All the best...

Conor
ceon
19 Jun 2006, 11:59
#3
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

Thanks Conor,

If the responses I've had from Protx had been as informative I would have solved this yesterday :smile:

Protx have refused to create an account for me on the Simulator so they may have now changed their policy. On pushing them I got this response today:

"Ok, it is now apparent that Zen Cart have made some changes at their end ! Either, they have elected to set testing with our Simulator as opposed to our TEST server or they have added the additional testing functionality with our Simulator !!! I believe it may be the later as you are now being required to add/select a url ??? This was never the case before as observed by yourself.

Please disregard my colleague's earlier email and I apologise for the confusion it has caused. As per email of yesterday, we do NOT set up a Simulator a/c for those that are using shopping carts. The Simulator is for those who are using Protx's integration kits and are perhaps integrating with our systems for the first time. The carts on the other hand should be fully integrated with our systems and should therefore not require the 'integration guidance' that the Simulator provides.

To obtain clarification as to what changes they have made, you will need to speak to them. If they have amended to test with our Simulator only, then that is going to be a problem, as we would activate an a/c to LIVE only if testing has been completed on our TEST server.

Protx Support"

Thanks for the feedback re the IP. I suppose I should have know this but having never tried to do this before I was blissfully unaware. :blush:

I'll have to contact my host for clarification as only the SSL IP is reported via cPanel and I had thought this was being used for both. I can for example browse my site for both http and https by entering the IP.

I'll report back after get to the bottom of this.

Thanks again.

Brent
19 Jun 2006, 12:41
#4
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

Changing the IP solved my problem. Thanks for the advice as I've learnt something new. :thumbsup:
19 Jun 2006, 12:51
#5
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

Conor, one other thing. I've made all your recommended changes and wanted know if there was any way of checking that the CC numbers are being encrypted during the session?

Regards

Brent

PS. Having steadfastly refused for 2 days to create a Simulator Account for me they have now JUST relented and set me up. It would of course be AFTER I have everything working with the Test Server but that's life :D
19 Jun 2006, 22:24
#6
conor avatar

conor

Passed

Join Date:
Aug 2004
Posts:
2,480
Plugin Contributions:
3

Re: Protx direct Payment Module

Hi Brent,

Thanks for the update regarding Protx. I'll add the test server in as the default option when the module is installed (wait until version 1.0.3 for that! ;) ). I'll leave the option to use VPSSimulator in as well though as I find it handy for testing my development of the module! :)

I'm very glad to hear that you got the correct IP address entered and that all is now working fine. As far as testing the encryption goes, the only thing you really need to test is that you have PEAR:Crypt/Blowfish installed, but if you want to check for sure, you can see some lovely, reassuring gobbledegook by inserting the following line as line 450 in the protx_direct.php file:

[PHP]print $plaintext . "\n\n\n" . $encrypted;exit;[/PHP]

(just after: $encrypted = $bf->encrypt($plaintext);)

It's quite plain to see that the session data is completely encrypted, it makes no sense to me whatsoever! :thumbsup: :yuck:

And as for the creation of a simulator account after everything is running... it's just the way the world of computing works, isn't it?! lol :)

All the best...

Conor
ceon
20 Jun 2006, 23:06
#7
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

conor:

.... As far as testing the encryption goes, the only thing you really need to test is that you have PEAR:Crypt/Blowfish installed, but if you want to check for sure, you can see some lovely, reassuring gobbledegook by inserting the following line as line 450 in the protx_direct.php file:

[PHP]print $plaintext . "\n\n\n" . $encrypted;exit;[/PHP]

(just after: $encrypted = $bf->encrypt($plaintext);)



Couldn't get this to work but I'll check with my host that PEAR:Crypt/Blowfish is installed.

Just to let you know I've now gone live and everything is working perfectly. Had it not been for Protx making things difficult with the Test/Simulator issue and my lack of knowledge about the IP this install would have been a walk in the park.

Thanks again Conor , donation on it's way to you. :D
20 Jun 2006, 23:23
#8
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

Another thought. I presume there is a way to block the auto complete feature on the credit card fields so that the browser does not remember your card number etc.

I always feel uneasy when I purchase from a site that has not done that and you visit the site again and begin typing you CC number and it pops up.
22 Jun 2006, 14:06
#9
msbaranga avatar

msbaranga

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Protx direct Payment Module

Hi,

I installed the Protx direct and now after I insert the card details I receive this message:


Sorry but a technical problem has occurred when attempting to contact the Payment Gateway. Please contact us immediately so that we can get this resolved for you. Thank you!


Can you please hel me?
What's wrong there?
Thank you.
22 Jun 2006, 15:29
#10
conor avatar

conor

Passed

Join Date:
Aug 2004
Posts:
2,480
Plugin Contributions:
3

Re: Protx direct Payment Module

Hi,

This doesn't sound like it's a problem with the Protx Direct module but with your Protx Account... the very fact that you are getting that message means that the module has contacted Protx and received and parsed a legitimate response from them.

I'm going to upload a new version of the Protx module later this evening and will add a debug option in so that I can help you resolve this quickly by allowing you to see (and therefore let us know) what information exactly is being sent to and returned from Protx.

Please send me an e-mail at the address listed on the download site so that I can let you know when the new module is available for download.

All the best...

Conor
ceon
22 Jun 2006, 16:34
#11
msbaranga avatar

msbaranga

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Protx direct Payment Module

Thank you.
I'm waiting for your post.
22 Jun 2006, 20:12
#12
conor avatar

conor

Passed

Join Date:
Aug 2004
Posts:
2,480
Plugin Contributions:
3

Re: Protx direct Payment Module

Hi,

I've got the version 2.0.0 of the Protx Direct module completed and tested but I'm not finished the docs so I can't package and upload it tonight. I'll have it uploaded tomorrow.

(I'd a feeling I wouldn't get it "package ready" tonight which is why I originally asked for your e-mail address... all the code is done so you could have tried it out. Anyway... who's worried, it's only a few more hours! :thumbsup: )

All the best...

Conor
ceon
22 Jun 2006, 20:33
#13
msbaranga avatar

msbaranga

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Protx direct Payment Module

Thank you.
I'll wait.

P.S. Can I just upgrade the previous version or I need to re-install it?
23 Jun 2006, 14:25
#14
conor avatar

conor

Passed

Join Date:
Aug 2004
Posts:
2,480
Plugin Contributions:
3

Re: Protx direct Payment Module

Hi,

Please accept my apologies but I'm out of the office today and won't be able to upload to a little bit later... howver, to answer your question:

Upgrade instructions will be in the new documentation, but, yes, basically all you have to do is "remove" the current module in the admin (click "remove" ;)), copy the new files across (overwriting the old ones) and then click "install" in the admin and configure the module as you desire.

The database format has not changed for version 2.0.0 so it really is a drop-in upgrade for anyone like yourself who already has the original installed!

All the best...

Conor
ceon
26 Jun 2006, 22:50
#15
msbaranga avatar

msbaranga

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Protx direct Payment Module

Hi,

Did you post the new version 2.0?
Thank you.
27 Jun 2006, 05:58
#16
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

You'll always find the latest info on Conor's site:-

http://dev.ceon.net/web/zen-cart/protx_direct/

and this thread probably accounts for the delay.

If you haven't installed it yet I can confirm the current version works flawlessly on 1.2.7d.
28 Jun 2006, 16:19
#17
msbaranga avatar

msbaranga

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Protx direct Payment Module

I connect to the payment gateway.
The protx didn't send me an answer but I think it's something with the url's from protx.php
Any help?
28 Jun 2006, 19:40
#18
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

Have Protx created a Simulator or Test Account for you? If a Test account you need to change the url in \includes\modules\payment\protx_direct.php as it is set to use the Simulator.

Read my posts above for further info but you need the following:

[PHP]$url = (MODULE_PAYMENT_PROTX_DIRECT_TRANSACTION_MODE == 'Live' ? 'https://ukvps.protx.com/vpsDirectAuth/PaymentGateway.asp' : 'https://ukvpstest.protx.com/vpsDirectAuth/PaymentGateway.asp');[/PHP]
28 Jun 2006, 21:44
#19
msbaranga avatar

msbaranga

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

Re: Protx direct Payment Module

Yes, I have a test account.
Can you please tell me your settings:
1. in vpstest/admin server under the settings for full url website: what i have to add after the www.xtradeals.co.uk/........
2. I add the url in protx.php but it's still not working

Thank you.
28 Jun 2006, 22:07
#20
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Protx direct Payment Module

Have you entered your IP address in the Protx control panel? Web server address and not the SSL IP which is the mistake I made.

What errors are you getting back?

I'm no expert on this but I'm sure Conor will be along at some point.