PDA

View Full Version : Secpay not working



rhinoman
02-26-2009, 10:38 AM
Anybody managed to get Secpay working in OscMax, the included shipping module doesn't include the digest key field?

Any tips on integrating would be appreciated.

jpf
02-27-2009, 11:13 AM
Did you want to use callback using the MD5 algorithm. The default SECpay does not have this. You have to install PayPoint.net (SECPay) module with MD5 authentications (http://addons.oscommerce.com/info/6189)

rhinoman
03-02-2009, 10:52 AM
Got it working using the file in that link.

A couple of notes for anyone else trying this, you need to set up a java redirect so that secpay returns to the correct place. You do this by adding -jredir after your secpay mercant name ie if your merchant name is rhinoman01 then you need to put rhinoman01-jredir

If you want to use your own template you need to add a line of code around line 128
tep_draw_hidden_field('template', 'http://www.secpay.com/users/rhinoman01/template.html

Where rhinoman01 is your secpay account name and template is the name of the file you need to have uploaded to the secure area at secpay.

Hope it helps someone as I spent hours googling to make this work.