Translation in paypal lib
This commit is contained in:
parent
2c682022cf
commit
df3af6979e
@ -23,3 +23,8 @@ PAYPAL_PAYONLINE_SENDEMAIL=EMail to warn after a payment (success or not)
|
|||||||
ReturnURLAfterPayment=Return URL after payment
|
ReturnURLAfterPayment=Return URL after payment
|
||||||
ValidationOfPaypalPaymentFailed=Validation of Paypal payment failed
|
ValidationOfPaypalPaymentFailed=Validation of Paypal payment failed
|
||||||
PaypalConfirmPaymentPageWasCalledButFailed=Payment confirmation page for Paypal was called by Paypal but confirmation failed
|
PaypalConfirmPaymentPageWasCalledButFailed=Payment confirmation page for Paypal was called by Paypal but confirmation failed
|
||||||
|
SetExpressCheckoutAPICallFailed=SetExpressCheckout API call failed.
|
||||||
|
DetailedErrorMessage=Detailed Error Message
|
||||||
|
ShortErrorMessage=Short Error Message
|
||||||
|
ErrorCode=Error Code
|
||||||
|
ErrorSeverityCode=Error Severity Code
|
||||||
|
|||||||
@ -406,11 +406,11 @@ function print_paypal_redirect($paymentAmount,$currencyCodeType,$paymentType,$re
|
|||||||
$ErrorLongMsg = urldecode($resArray["L_LONGMESSAGE0"]);
|
$ErrorLongMsg = urldecode($resArray["L_LONGMESSAGE0"]);
|
||||||
$ErrorSeverityCode = urldecode($resArray["L_SEVERITYCODE0"]);
|
$ErrorSeverityCode = urldecode($resArray["L_SEVERITYCODE0"]);
|
||||||
|
|
||||||
echo "SetExpressCheckout API call failed. <br>\n";
|
echo $langs->trans('SetExpressCheckoutAPICallFailed') . "<br>\n";
|
||||||
echo "Detailed Error Message: " . $ErrorLongMsg." <br>\n";
|
echo $langs->trans('DetailedErrorMessage') . ": " . $ErrorLongMsg."<br>\n";
|
||||||
echo "Short Error Message: " . $ErrorShortMsg." <br>\n";
|
echo $langs->trans('ShortErrorMessage') . ": " . $ErrorShortMsg."<br>\n";
|
||||||
echo "Error Code: " . $ErrorCode." <br>\n";
|
echo $langs->trans('ErrorCode') . ": " . $ErrorCode."<br>\n";
|
||||||
echo "Error Severity Code: " . $ErrorSeverityCode." <br>\n";
|
echo $langs->trans('ErrorSeverityCode') . ": " . $ErrorSeverityCode."<br>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user