sandokan71 Posted June 13, 2012 Share Posted June 13, 2012 Hello everybody, I use the free ogone payment module that comes with Prestashop. After setting up a testaccount with ogone everything works fine. Ogone let you use a dynamic template file which is stored on your server for the payment page. This works ok if the page is a html page. But I would like to use a php page to generate the look and feel of this payment page. But the url for the php template page doesn't work...it redirects you to the ogone static payment page. Did anyone manage to link a php page as a dynamic template with Ogone ? This is the code snippet for the working link to a html page in ogone.php : $ogoneParams['TP'] = 'http://www.mysite.com/template_standard.html'; Any help on this would be great... Thanks Link to comment Share on other sites More sharing options...
tbigueres Posted November 15, 2012 Share Posted November 15, 2012 Hi, I don't have any solution for you, but I see that you succeed where I'm failing. I'm trying to use a simple html template. So I added this line : $ogoneParams['TP'] = "http://mysite/modules/ogone/ogoneTpl.html"; before the declaration of sha 1 : $shasign = ''; foreach ($ogoneParams as $key => $value) $shasign .= strtoupper($key).'='.$value.Configuration::get('OGONE_SHA_IN'); $ogoneParams['SHASign'] = strtoupper(sha1($shasign)); but when I arrive in my payment confirmation page I a template which is not mine. Is there something in Ogone to enable or did it just worked for you ? Thanks for your reply ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now