stubbyd Posted August 13, 2010 Posted August 13, 2010 As I'm sure most of you know protx was purchased by sagepay. We were in due course asked to migrate from the old protx URL's in our payment module (OSCommerece 2.2 RC2) to the new sagepay ones. At the time I did it myself and all seemed to be OK. However due to a corruption in that PHP file we restored to an earlier version that had the protx ones and we duly got an email asking us to please change them. I did that, again, but they are teling us that we are still using the old ones. However, as far as I can see - and I'm not a develope or PHP user of any sort they are no different from the ones we migrated to previously. The offending file is in our /includes/modules/payment folder and is called "protx_form.php". I believe the offending lines were / are: if (MODULE_PAYMENT_PROTX_FORM_TEST_STATUS == 'true') { $this->form_action_url = 'https://ukvpstest.protx.com/vspgateway/service/vspform-register.vsp'; //$this->form_action_url = 'https://ukvpstest.protx.com/showpost/showpost.asp'; //$this->form_action_url = 'https://ukvpstest.protx.com/VSPSimulator/VSPFormGateway.asp'; //$this->form_action_url = '../../decrypt_protx.php'; } else { $this->form_action_url = 'https://ukvps.protx.com/vspgateway/service/vspform-register.vsp '; } } Which we changed to: if (MODULE_PAYMENT_PROTX_FORM_TEST_STATUS == 'true') { $this->form_action_url = 'https://live.sagepay.com/gateway/service/vspform-register.vsp'; //$this->form_action_url = 'https://live.sagepay.com/showpost/showpost.asp'; //$this->form_action_url = 'https://live.sagepay.com/VSPSimulator/VSPFormGateway.asp'; //$this->form_action_url = '../../decrypt_protx.php'; } else { $this->form_action_url = 'https://ukvps.protx.com/vspgateway/service/vspform-register.vsp '; } } Now the only one that I didn't change was the last one because they didn't supply an equivalent. So two questions .... 1. Should I have just changed the ukvps.protx.etc to live.sagepay.etc and 2. Does teh rest seem right or can someone who's had to do this pease advise? Many thanks Stuart
Guest Posted August 23, 2010 Posted August 23, 2010 Hi, It appears to me that you have done everything you need to do in order to ensure the URL change will not effect you. The size of this campaign of notifying vendors does mean that you may have been contacted twice, second time as a 'safety measure' to ensure everyone has been appropriately warned. Please forgive us for this if it has caused concern. It looks to me like you have done everything you need. The third reference to Protx will be fine as they looks to be calling up a page on your server, rather than stating an external URL. If you *do* get contacted again after these changes, please get in touch with me. Kind regards, Joe
paulwfc Posted October 1, 2010 Posted October 1, 2010 Is what stubbyd did above all you have to do to get an old Protx module to work with Sagepay?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.