Jump to content

bankwire not update the price. cache problem


Recommended Posts

Hello, good morning!

Im Sergio and i a web developer.

I have an online store in Prestashop 1.5.6 giving me a problem every time you pay by bank transfer.

Always get the same price unless you give CTRL + F5 to remove the cache. Is there any way to fix this?

Thank you very much!

Link to comment
Share on other sites

That's really weird! What is the price you are getting? Do you have any checkout related third party module installed?

Is that price somehow meaningful, like if it belongs to a specific product? then, I assume you already tried with multiple browsers/machines...?

Link to comment
Share on other sites

  • 1 year later...

I have modified the file /themes/your_theme/modules/bankwire/views/templates/hook/payment.tpl

The line: 

 

href="{$link->getModuleLink('bankwire', 'payment')|escape:'html':'UTF-8'}" 

 

By:

 

href="{$link->getModuleLink('bankwire', 'payment')|escape:'html':'UTF-8'}?ts={$smarty.now}" 

 

The value of parameter 'ts' is a the current timestamp and is different always, therefore i've achieved that the bankwire payment page is not cached.

I'm sure is not the more elegant solutions but it works and it was driving me crazy.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...