Skip to content

Commit

Permalink
cancel url update
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetselim committed Sep 18, 2020
1 parent 0c1d22a commit 30a7971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function index() {
$paywithiyzico->basketId = $order_id;
$paywithiyzico->paymentGroup = "PRODUCT";
$paywithiyzico->callbackUrl = $this->url->link('extension/payment/paywithiyzico/getcallback', '', true);
$paywithiyzico->cancelUrl = "https://www.google.com";
$paywithiyzico->cancelUrl = $this->url->link('extension/payment/paywithiyzico/getcallback', '', true);
$paywithiyzico->paymentSource = $payment_source;

if ($paywithiyzico->paidPrice === 0) {
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/model/extension/payment/paywithiyzico.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function createFormInitializObjectSort($object_data) {
$form_object->paymentSource = $object_data->paymentSource;
$form_object->currency = $object_data->currency;
$form_object->paidPrice = $object_data->paidPrice;
$form_object->cancelUrl = "https://www.google.com";
$form_object->cancelUrl = $object_data->cancelUrl;

return $form_object;

Expand Down

0 comments on commit 30a7971

Please sign in to comment.