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