Todor Posted November 15, 2010 Share Posted November 15, 2010 Hello,I am currently creating a new payment module.From validation.tpl I am redirecting to custom created demo.phpIt is supposed to carry the ammount and the user data to a 3rd party credit card processing site.The thing which I need is this: Tools::redirectLink(__PS_BASE_URI__.'order-confirmation.php?key='.$customer->secure_key.'&id;_cart='.intval($cart->id).'&id;_module='.intval($Epay->id).'&id;_order='.intval($Epay->currentOrder)) This is from validation.php and sends the customer to the order condirmation page.I need to get those variables in my demo.phpSo far I have tried this: $order_url =__PS_BASE_URI__.'order-confirmation.php?key='.$customer->secure_key.'&id;_cart='.intval($cart->id).'&id;_module='.$instance->id.'&id;_order='.intval($Epay->currentOrder); and tried to initialize the variables but no luck.also import of validation.php does not help?Any ideas? 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