I am considering the possibility of working with a merchant in my region who offers payment gateway services.
The specific merchant works with the "Payment Page" concept, i.e a specific uri of my site e.g http://www.mysite.com/culture1/cart/index
will be authorized from the merchant side in order to proceed with the user's payment.
My site is built with symfony 1.4 and supports i18n
, so all of my routes have the culture embeded in the url (/:sf_culture/...)
i.e for culture1
(which is the default one):
http://www.mysite.com/culture1/cart/index
for culture2
:
http://www.mysite.com/culture2/cart/index
However if the payment goes from the second url it will simply fail on the authorization from the merchant site.
So, is there any way in symfony to create a uniform url (using routing) for a specific action in a specific module without embedded culture information by keeping at the same time the user's culture?
In this scenario the goal would be to be authorized using the following url:
http://www.mysite.com/cart/index