thephpleague / omnipay-paypal

PayPal driver for the Omnipay PHP payment processing library
MIT License
295 stars 174 forks source link

Update ExpressTransactionSearchRequest.php #261

Closed scott-cashortrade closed 1 year ago

scott-cashortrade commented 1 year ago

when 100 results are returned. There is also a empty 'payments' key. This key pushes the $data array to 1001 input vars which causes php issues when passed to parse_str in AbstractResponse. Best option seems to be just unset the empty key and get back to max 1000 keys in the data array.

scott-cashortrade commented 1 year ago

As you know its not good practice to increase php vars. This hotfix seems to fix for me. If you see a better resolution i am happy to rework.

scott-cashortrade commented 1 year ago

hmm this is not the fix. Looking for another option. Will reply back when i have something. sorry for buggin yall