This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » New Protx VSP Payment Gateway...

New Protx VSP Payment Gateway Extension development

New Protx VSP Payment Gateway Extension development

Monday 01 September 2008 10:26:01 am - 2 replies

Does anyone have exemplar scripts which closely match this payment process that they would let me refer to?

This is my first payment gateway extension and I could do with a few pointers (in fact it is my first proper extension at all) . This is where I've got to:

Protx VSP uses a multi-stage process as follows:
1. Send a POST request for a payment url (which includes customer details etc).
2. Protx POSTs back a url with some security information (e.g. key and transaction id etc)
3. User is redirected to the Protx site for card details to be collected and where 3-D authorisation is appropriate for the user to be redirected tto their bank and back again etc.
4. Protx site then POSTs back transaction status and further security information and requests a redirection URL for the user to be transfered to (POST is to a preconfigured URL).
5. Protx then redirects to that URL and the process is complete.

So I think I need 2 scripts and a database table:

A. A script to put together the original POST and then redirect the user to Protx
B. A script to handle the POST request from Protx
C. Database holding all required information relating to Protx and having a foreign key linking to the eZ Order recording system.

I do not want to redesign the wheel! So obviously I have had a good look at the existing Protx extension which as far as I can tell will not work at all with Protx VSP. Some of it is useful for script A (thank you Stuart!).

Fortunately Protx have produced exemplar PHP code in a kit they publish - it does everything from putting products in the basket onwards in its own database structure so in theory I recognise this should be a relatively simple task however if anyone can save me a bit of time I'd be really pleased!

Help most fervently appreciated!!


Modified on Monday 01 September 2008 11:55:44 am by Mark Emms

Thursday 02 April 2009 11:58:32 am

Have you made any headway with this extension?

I need to use PROTX as a payment processor on a members only website.

Thursday 02 April 2009 12:21:32 pm

In the end I had to pay for development of this extension so it now exists!

At this stage I am working towards offering it as a product for sale at a cost to help me recover my own expenses.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from