Symptoms

Payment with PayPal Express fails.

In the response (can bee seen in the log) there is an error:

<Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Transaction refused because of an invalid argument. See additional error messages for details.</ShortMessage><LongMessage xsi:type="xs:string">Value of OrderDescription element has been truncated.</LongMessage><ErrorCode xsi:type="xs:token">10433</ErrorCode>

Cause

According to PayPal official documentation:

BillingAgreement Description has limitation "127 single-byte alphanumeric characters". 

The built-in description consists of 104 symbols + vendor's name. If the payments fails with an error mentioned, it means the vendor's name (Company name) is longer than 23 symbols.

Resolution

As a temporarily workaround shorten the Company's name.

For a permanent resolution allowing to use initial Company name, update to PBA-E 5.4.16 or higher. The built-in description was shortened and will automatically be truncated if does not suit the PayPal requirements, not letting the payment to fail.

Internal content