CP DEVEL  

Go Back   CP DEVEL > Projects > Hsphere Control Panel > Feature

SagePay payment module required Issue Tools
issueid=85 04-21-2010 05:24 PM
Junior Member
SagePay payment module required
need to create a module compatible with 2.23 of API

The current (protx) payment module works with Sage Pay (Protx were taken over) but it is still connecting via the old API version which will eventually be phased out

Would be good to create a new module called SagePay 2.23 (based on the old protx one) to include the new additional required fields
Issue Details
Issue Type Feature
Project Hsphere Control Panel
Category Unknown
Status waiting for testing
Priority 5 - Medium
Suggested Version 3.3 P1
Implemented Version 1.0
Votes for this feature 1
Votes against this feature 0
Assigned Users (none)
Tags (none)

04-22-2010 09:53 AM
Administrator
 
I reviewed this gateway. Compared what should be sent to the new docs and it looks like all it needs is to change the version it is sending.

from
request.put("VPSProtocol", "2.22");
to
request.put("VPSProtocol", "2.23");

It would be nice to have some of the other features they offer like integrated paypal but I can't find a changelist from 2.22 to 2.23 on their site. From the looks it is just paypal and cv2 they added and the protx one in Hsphere has cv2 implemented into it

I can recompile this gateway and post it up for you with the new version name in it.
Reply
04-22-2010 10:17 AM
Administrator
 
Below are the instructions to update this gateway. Please note I have not tested this.

cd /hsphere/local/home/cpanel/shiva/psoft/epayment
cp Protx.class Protx.class.backup
wget http://addons.hspheretemplates.com/Protx/Protx.zip
unzip Protx.zip
chown root:cpanel Protx.class
service httpdcp restart
Reply
04-22-2010 11:55 AM
Junior Member
 
Hi

I have a document sage sent me showing the differences - between 2.22 and 2.23 - not sue this forum allows me to attach files though

could you please change the forum to allow uploads of xls or pdf extensions
Reply
04-22-2010 01:14 PM
Administrator
 
done you can also zip it. The upload attachment should be shown at the bottom of the page.
Reply
04-22-2010 05:56 PM
Junior Member
 
Hi - thanks for opening it up - file attached in both formats
Reply
04-22-2010 06:44 PM
Administrator
 
Ahh ok I see. So basically just need to add the below values and change the version number like I already have.

BillingSurname
BillingFirstnames
BillingAddress1
BillingCity
BillingCountry
DeliverySurname
DeliveryFirstnames
DeliveryAddress1
DeliveryCity
DeliveryCountry

You wont get the paypal feature implemented like they have in this but I have no problem adding those other required fields. I will post up the fixed file later.
Reply
04-22-2010 09:13 PM
Administrator
 
Ok I posted the new file with the required missing fields. Please try that file above. If you want to provide me with a test account I can test it before you use it. Otherwise if it doesn't work I will fix the issues found after you test it.
Reply
07-01-2010 12:35 PM
Junior Member
 
Filed as TP#46781
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -5. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.