Skip to content

Commit

Permalink
+fix cancel url
Browse files Browse the repository at this point in the history
  • Loading branch information
sozgat committed Sep 20, 2021
1 parent 80325b0 commit 60fbbdc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions paywithiyzico/classes/PaywithiyzicoObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public static function option($params, $currency, $context, $apiKey)
$paywithiyzico->basketId = $params['cookie']->id_cart;
$paywithiyzico->paymentGroup = 'PRODUCT';
$paywithiyzico->callbackUrl = $httpProtocol.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'index.php?module_action=init&fc=module&module=paywithiyzico&controller=callback';
$paywithiyzico->cancelUrl = "https://www.google.com";
$paywithiyzico->paymentSource = _PS_VERSION_.'|PRESTASHOP|PIE|1.0.0';
$paywithiyzico->cancelUrl = $httpProtocol.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__;
$paywithiyzico->paymentSource = _PS_VERSION_.'|PRESTASHOP|PIE|1.0.3';

return $paywithiyzico;
}
Expand Down
2 changes: 1 addition & 1 deletion paywithiyzico/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>paywithiyzico</name>
<displayName><![CDATA[paywithiyzico]]></displayName>
<version><![CDATA[1.0.2]]></version>
<version><![CDATA[1.0.3]]></version>
<description><![CDATA[Pay with iyzico Payment Gateway for PrestaShop]]></description>
<author><![CDATA[paywithiyzico]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion paywithiyzico/config_tr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>paywithiyzico</name>
<displayName><![CDATA[paywithiyzico]]></displayName>
<version><![CDATA[1.0.2]]></version>
<version><![CDATA[1.0.3]]></version>
<description><![CDATA[Pay with iyzico Payment Gateway for PrestaShop]]></description>
<author><![CDATA[paywithiyzico]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion paywithiyzico/paywithiyzico.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct()
{
$this->name = 'paywithiyzico';
$this->tab = 'payments_gateways';
$this->version = '1.0.2';
$this->version = '1.0.3';
$this->author = 'iyzico';
$this->need_instance = 1;

Expand Down

0 comments on commit 60fbbdc

Please sign in to comment.