• Resolved sperrich

    (@sperrich)


    Hi, a number of my customers are facing the error message “INVALID_STRING_LENGTH” when checking out using paypal. I have been trying to diagnose the issue thinking that has to do with the Product Name and/or Variation name length but even after shortening these i still seem to get the error message.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @sperrich

    We see this error when product attributes (name, description, etc) contains text/characters that can be interpreted differently and cause longer strings when being sent to the PayPal Server. When text and an emoji like this 😉</img> in the first 127 characters are sent to PayPal, then the API responds with INVALID_STRING_LENGTH because the emoji would make the string longer than the maximum. We have put some fixes in place for this, but it seems there are certain 3rd party plugins that can still cause this error to be triggered. For this last option, you could possibly try to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for WooCommerce and PayPal Payments to see if the behavior persists.

    Here’s a guide that explains the steps in more detail: How to test for conflicts. Please let us know how this works out for you.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

    Kind regards,
    Joost

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘INVALID_STRING_LENGTH’ is closed to new replies.