Hi have the same error, fortunately is the restyling of a site and therefore not currently in production. But I’ll never put it into production, or I’ll be forced to switch e-commerce systems if you don’t fix it right away.
The fastest way to solve the problem would be to give the possibility to activate the standard paypal function (which performs the checks on the requested data before opening the Paypal page) instead of the direct checkout on paypal