NikolaGavric94 / laravel-square

Square integration with Laravel/Lumen >=5.5
MIT License
31 stars 23 forks source link

[HTTP/2 401] UNAUTHORIZED #49

Closed sikios182 closed 3 years ago

sikios182 commented 3 years ago

imagen

Here is my controller

imagen

Hope you can help me, Thank you.

NikolaGavric94 commented 3 years ago

The first place I would look if I were you is the $request->nonce, looks like that value is not valid

sikios182 commented 3 years ago

The first place I would look if I were you is the $request->nonce, looks like that value is not valid

My fault, I was using the sandbox setup in mode false, sorry, now it's working.

Thank you!

NikolaGavric94 commented 3 years ago

@nambp1807 please open up a new issue and also please check that your token you are using is not expired/invalid

nambp1807 commented 3 years ago

@nambp1807 please open up a new issue and also please check that your token you are using is not expired/invalid

My problem when using sandbox is no problem but when I switch to production, I get this error, Please help,