Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
On order review page i.e. on cart/checkout/review page when I click "Back" button it redirects me to the cart/checkout button but Billing information is cleared out.
But the help at this page suggest that "'If you need to change any information use your back button".
And also when anything wrong entered at cart/checkout page then also it gets cleared....
Can anybody help me on this ?
Comments
Comment #1
longwaveSee #1104116: At checkout review, "back" button loses order data if cart/checkout paths are aliased and please contribute there with more information such as a link to your site if possible.
Comment #2
ericbroder CreditAttribution: ericbroder commentedI had the same problem, and it was not caused by alias issues, but instead by the variable $_SERVER['SERVER_NAME']. On one environment, $_SERVER['SERVER_NAME'] was set to the hosting company's generic server name, and not the actual domain name that our users were accessing in their browser. And on another environment, there was simply a spelling error in $_SERVER['SERVER_NAME']. In both cases the referer check was returning FALSE because of this mismatch:
Comment #3
ericbroder CreditAttribution: ericbroder commentedLooks like my ubercart back button problem is actually a duplicate of yet another issue: #1288114-4: uc_referer_check(), referrer checking code doesn't work on Apache with UseCanonicalName on, ubercart back button loses data.