thephpleague / omnipay-paypal

PayPal driver for the Omnipay PHP payment processing library
MIT License
299 stars 176 forks source link

Timeouts while getting token #270

Open dimvic opened 1 year ago

dimvic commented 1 year ago

I kept getting timeouts when trying to get the token using api.paypal.com, changing to api-m.paypal.com worked.

Sorry I did not have the time to investigate more, just leaving this here in case someone else is having the same problem.

Is there a way to change the endpoints without editing the source code?

https://github.com/thephpleague/omnipay-paypal/blob/67c96faa173124b4517989c2d6f1d1915afa0d27/src/Message/AbstractRestRequest.php#L56