mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Turning on token billing for PayFast
This commit is contained in:
parent
e2668b3b3e
commit
c0b4c4bd73
@ -90,8 +90,10 @@ class Token
|
||||
'm_payment_id' => $payment_hash->hash,
|
||||
];
|
||||
|
||||
$header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body)) );
|
||||
//$header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body)) );
|
||||
|
||||
$header['signature'] = $this->payfast->generateSignature(array_merge($header, $body));
|
||||
|
||||
$result = $this->send($header, $body, $cgt->token);
|
||||
|
||||
nlog($result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user