We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1eff39 commit c2f5202Copy full SHA for c2f5202
1 file changed
modules/gateways/callback/paystack.php
@@ -52,10 +52,9 @@
52
$phone = filter_input(INPUT_GET, 'phone');
53
54
$callback_url = 'http' . ($isSSL ? 's' : '') . '://' . $_SERVER['HTTP_HOST'] .
55
- $_SERVER['REQUEST_URI'] . '?invoiceid=' . rawurlencode($invoiceId);
+ $_SERVER['SCRIPT_NAME'] . '?invoiceid=' . rawurlencode($invoiceId);
56
57
$txStatus = new stdClass();
58
-
59
// set url
60
curl_setopt($ch, CURLOPT_URL, "https://api.paystack.co/transaction/initialize/");
61
0 commit comments