Vote up!
Vote down!

Checkout Urls - How to remove order id from it

Drupal 7:

I am implementing a payment module to connect with a greek bank redirect system.

The problem aroused is that the specifications of the bank system do not support- for the referrer url - variable parts -the order id in our case.

Is there a way to specify a permanent url for the checkout form such as checkout/payment -instead of checkout/[ID]/payment?

Thanks all in advance

Asked by: thanasismav
on July 2, 2012

2 Answers

Vote up!
Vote down!

Unless you are planning on circumventing the checkout router system, these paths are required. It is possible you could use something like pathauto to call a "system path" from a "pretty path."


Josh Miller
Answer by: Josh Miller
Posted: Jul 13, 2012


I finally found a workaround solution by redirecting the page to another "acceptable" url.

Thanks for the help!

- thanasismav on July 16, 2012
Vote up!
Vote down!

Our goal was different, but our solution might help others finding this page. We did not want customers to see an on each order incrementing ID in the checkout paths, so we completely encrypt / decrypt paths using hook_url_outbound_alter() and hook_url_inbound_alter().

See http://drupal.stackexchange.com/a/86072/3792 for our solution.

Answer by: lmeurs
Posted: Sep 18, 2013