Page 1 of 1

Passing on alt currency values

Posted: Tue Jan 13, 2009 5:39 pm
by pixelhaus
I'm currently building a site with norprice which integrates to netbanx. What I'd like to do is pass on the alt currency variable and the alt currency value variable to netbanx so it'll automatically set the correct amount. Can this be done ? You can see the beta site at http://www.icehaus.co.uk

Re: Passing on alt currency values

Posted: Wed Jan 14, 2009 3:20 am
by norman
I've always stayed away from doing any modifications that involve the PSP interface so I'm not the right person for this job.

I don't know anyone with this sort of experience.

If you find someone, they'll find code in the NorPrice patched ActinicOrder.pm that extracts the Alternative currency and rate. Search said file for "NorPrice". This should help them do what you want.

I also don't recommend doing this. You may need to consider the security concerns. NorPrice is intended to display an informative approximate second price. A skilled hacker may be able to manipulate the cookie that contains the rate to produce their own alternative price. Not a problem if they are merely looking at the results but very scary if you're going to allow it to be passed to a PSP.