mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:44:32 -04:00
Turning on token billing for PayFast
This commit is contained in:
parent
afd2c355f1
commit
3fafc46ca7
@ -198,9 +198,7 @@ class Token
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$response = $client->post("https://api.payfast.co.za/subscriptions/{$token}/adhoc?testing=true",[
|
$response = $client->post("https://api.payfast.co.za/subscriptions/{$token}/adhoc?testing=true",['query' => $body]);
|
||||||
RequestOptions::JSON => ['body' => $body], RequestOptions::ALLOW_REDIRECTS => false
|
|
||||||
]);
|
|
||||||
|
|
||||||
return json_decode($response->getBody(),true);
|
return json_decode($response->getBody(),true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user