I have this error using PayPal Express--->This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow.
It only occure on the server. on the localhost does not happen. on localhost works perfect