Adding a dynamic URL to the purchase token

It is possible to change the Payment Response URL every single time a purchase token is sent through to us, by including a dynamic URL variable to the purchase token.

To include the dynamic URL variable within your purchase token you must prefix the variable name with either "M_" or "MC_" and then include the URL as the value of the variable, for example:

<input type="hidden" name="MC_callback" value="http://www.myserver.com/mycallbackscript.cgi">

For further information about how to add your own variables to the purchase token, please refer to your integration guide.

Once included in your purchase token you will need to configure your installation to accept the dynamic URL variable, refer to Configuring your installation to accept a dynamic payment response.