diff --git a/paywithiyzico/classes/PaywithiyzicoObject.php b/paywithiyzico/classes/PaywithiyzicoObject.php index 34a9f89..fc7e732 100644 --- a/paywithiyzico/classes/PaywithiyzicoObject.php +++ b/paywithiyzico/classes/PaywithiyzicoObject.php @@ -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; } diff --git a/paywithiyzico/config.xml b/paywithiyzico/config.xml index ffc1482..e70bd2b 100644 --- a/paywithiyzico/config.xml +++ b/paywithiyzico/config.xml @@ -2,7 +2,7 @@ paywithiyzico - + diff --git a/paywithiyzico/config_tr.xml b/paywithiyzico/config_tr.xml index 3f6c211..804228c 100644 --- a/paywithiyzico/config_tr.xml +++ b/paywithiyzico/config_tr.xml @@ -2,7 +2,7 @@ paywithiyzico - + diff --git a/paywithiyzico/paywithiyzico.php b/paywithiyzico/paywithiyzico.php index ceaa1ee..30be5ad 100644 --- a/paywithiyzico/paywithiyzico.php +++ b/paywithiyzico/paywithiyzico.php @@ -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;