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
175c8d7d8f
commit
afd2c355f1
@ -86,9 +86,8 @@ class Token
|
||||
$body = [
|
||||
'amount' => $amount,
|
||||
'item_name' => 'purchase',
|
||||
'm_payment_id' => $payment_hash->hash,
|
||||
'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
|
||||
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||
'm_payment_id' => $payment_hash->hash,
|
||||
];
|
||||
|
||||
// $header['signature'] = $this->payfast->generateSignature(array_merge($header, $body));
|
||||
@ -171,6 +170,7 @@ class Token
|
||||
$parameter_string = rtrim( $parameter_string, '&' );
|
||||
}
|
||||
|
||||
nlog($parameter_string);
|
||||
return $parameter_string;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user