Jump to content

general payment module cancel URL


BoKr

Recommended Posts

Hello

 

I want to change the cancel URL of at least one of my payment modules. I understand that if this is not 'hardcoded' in an iframe being loaded via the payment module (PSP) than I could change it of course in the TPLs themselves.

 

I tried to add a variable and then to redirect the cancel URL via this variable. Sorry, if there is a possibility I am talking ... but it is my first time I am trying to do a thing like this (and I have no basic knowledge of smarty and module developing:):

 

submit.php

 //URL's
 $backtomy_payment_methods_url = Tools::redirect('index.php?controller=order&multi-shipping=');

//API ^^
 $api->UrlRedirectCancel = $ito_payment_methods_url;

Well, I think this should would if I'd know how to write the URL of the payment overview tpl. I hoped

  • order&multi-shipping
  • order&multi-shipping=

should do the trick.

 

Can someone please give me a tip if possible?

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...