thephpleague / omnipay-paypal

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

PayPal Authentication failed Error #250

Open yaserriaz opened 3 years ago

yaserriaz commented 3 years ago

Hi,

I am getting token in the url as well as paymentId as seen in the screen https://prnt.sc/1maa7n4 then why am I getting this error "Authentication failed due to invalid authentication credentials or a missing Authorization header." as seen in the screenshot below https://prnt.sc/1ma9mg5

It was working fine, all of a sudden this error started coming I am also getting token and the payment id in the request as seen in the screenshot https://prnt.sc/1mabg2w

need help!

VConsulting commented 3 years ago

I have the same strange problem, in sandbox mode everything works as soon as I switch to production mode I have the error. I double checked the keys and even tested new ones same problem .... Paypal refuses the connection have not received the token ... I don't really know how to debug that ....

VConsulting commented 3 years ago

Wouldn't that be an address problem?

Omnipay seems to be used:

testEndpoint: "https://api.sandbox.paypal.com"

liveEndpoint: "https://api.paypal.com"

And in the paypal doc: Sandbox https://api-m.sandbox.paypal.com Production https://api-m.paypal.com