Update paypal.lib.php
This commit is contained in:
parent
ae4020c9fe
commit
797a553609
@ -477,7 +477,7 @@ function getDetails($token)
|
|||||||
* @param string $ipaddress IP Address
|
* @param string $ipaddress IP Address
|
||||||
* @param string $FinalPaymentAmt Amount
|
* @param string $FinalPaymentAmt Amount
|
||||||
* @param string $tag Full tag
|
* @param string $tag Full tag
|
||||||
* @return void
|
* @return array
|
||||||
*/
|
*/
|
||||||
function confirmPayment($token, $paymentType, $currencyCodeType, $payerID, $ipaddress, $FinalPaymentAmt, $tag)
|
function confirmPayment($token, $paymentType, $currencyCodeType, $payerID, $ipaddress, $FinalPaymentAmt, $tag)
|
||||||
{
|
{
|
||||||
@ -657,8 +657,7 @@ function hash_call($methodName, $nvpStr)
|
|||||||
dol_syslog("Paypal API hash_call Response nvpresp=".$response);
|
dol_syslog("Paypal API hash_call Response nvpresp=".$response);
|
||||||
$nvpResArray = deformatNVP($response);
|
$nvpResArray = deformatNVP($response);
|
||||||
|
|
||||||
if (curl_errno($ch))
|
if (curl_errno($ch)) {
|
||||||
{
|
|
||||||
// moving to display page to display curl errors
|
// moving to display page to display curl errors
|
||||||
$_SESSION['curl_error_no'] = curl_errno($ch);
|
$_SESSION['curl_error_no'] = curl_errno($ch);
|
||||||
$_SESSION['curl_error_msg'] = curl_error($ch);
|
$_SESSION['curl_error_msg'] = curl_error($ch);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user