strife's devLog

Prestashop, paypal module message limit 1600

When you have a problem with paypal module in Prestashop. I mean that kind of problem when user come back from paypal.com:

1
Fatal error (Message => message Length 1600)

You should edit Message.php (in classes) and change the limit of field. It’s line 54 and it should be look that:
1
2
// line 54
protected    $fieldsSize = array('message' => 16000); // just change to 16000

And then you won’t have any problem with limits when user come back to your internet store.

Leave a Reply