diff --git a/modules/gateways/coingate.php b/modules/gateways/coingate.php index ffb03e8..8838569 100644 --- a/modules/gateways/coingate.php +++ b/modules/gateways/coingate.php @@ -192,9 +192,9 @@ function coingate_link(array $params) 'order_id' => $invoiceId, 'price_amount' => number_format($amount, 8, '.', ''), 'price_currency' => $currencyCode, - 'cancel_url' => $systemUrl . '/clientarea.php', + 'cancel_url' => $systemUrl . '/viewinvoice.php?id=' . $invoiceId . '&paymentfailed=1', 'callback_url' => $systemUrl . '/modules/gateways/callback/' . $moduleName . '.php', - 'success_url' => $systemUrl . '/viewinvoice.php?id=' . $invoiceId, + 'success_url' => $systemUrl . '/viewinvoice.php?id=' . $invoiceId . '&paysuccess=1', 'title' => $companyName, 'description' => $description ];