Skip to content

Commit 5292929

Browse files
committed
Generate dynamic redirect URL, prevent errors from cache
1 parent 54afcdc commit 5292929

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/community/Devopensource/Redsys/Model/Redsys.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Devopensource_Redsys_Model_Redsys extends Mage_Payment_Model_Method_Abstra
2222

2323

2424
public function getOrderPlaceRedirectUrl() {
25-
return Mage::getUrl('redsys/index/redirect', array('_secure' => true));
25+
return Mage::getUrl('redsys/index/redirect', array('_secure' => true, 'token' => uniqid()));
2626
}
2727

2828

app/code/community/Devopensource/Redsys/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<config>
33
<modules>
44
<Devopensource_Redsys>
5-
<version>0.2.2</version>
5+
<version>0.2.3</version>
66
</Devopensource_Redsys>
77
</modules>
88
<global>

0 commit comments

Comments
 (0)