This is an interesting issue. I would expect that Paypal would not support the your query string upon redirection, but I was wondering if you could take advantage of the Paypal API express checkout functionality. This functionality is already built for you, and you can obtain payment authorization in this way. Take a look at this page and step 3 under Getting Started.
PayPal API