mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Payfast
This commit is contained in:
parent
9b65fba1c9
commit
ad4413018f
@ -90,11 +90,11 @@ class Token
|
|||||||
'm_payment_id' => $payment_hash->hash,
|
'm_payment_id' => $payment_hash->hash,
|
||||||
];
|
];
|
||||||
|
|
||||||
nlog(array_merge($header, $body));
|
nlog(array_merge($body, $header));
|
||||||
|
|
||||||
// $header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body), false) );
|
// $header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body), false) );
|
||||||
|
|
||||||
$header['signature'] = $this->genSig(array_merge($header, $body));
|
$header['signature'] = $this->genSig(array_merge($body, $header));
|
||||||
|
|
||||||
nlog($header['signature']);
|
nlog($header['signature']);
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ class Token
|
|||||||
}
|
}
|
||||||
|
|
||||||
nlog(http_build_query($fields));
|
nlog(http_build_query($fields));
|
||||||
|
|
||||||
return md5(http_build_query($fields));
|
return md5(http_build_query($fields));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user