We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a5bbd commit c1eff39Copy full SHA for c1eff39
modules/gateways/callback/paystack.php
@@ -63,7 +63,8 @@
63
$ch,
64
CURLOPT_HTTPHEADER,
65
array(
66
- 'Authorization: Bearer '. trim($secretKey)
+ 'Authorization: Bearer '. trim($secretKey),
67
+ 'Content-Type: application/json'
68
)
69
);
70
@@ -72,7 +73,7 @@
72
73
curl_setopt(
74
75
CURLOPT_POSTFIELDS,
- http_build_query(
76
+ json_encode(
77
78
"amount"=>$amountinkobo,
79
"email"=>$email,
0 commit comments