Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have Urgent problem, Can't get my access token at all!! #20

Open
MOSTAFAEZZAT opened this issue Sep 2, 2022 · 0 comments
Open

I have Urgent problem, Can't get my access token at all!! #20

MOSTAFAEZZAT opened this issue Sep 2, 2022 · 0 comments

Comments

@MOSTAFAEZZAT
Copy link

I'm implementing credit card charge of Quickbooks Payment API ok this's done but I get the access token through Curl manually, so I want to get it from authorization code to access token automatically with Curl PHP.

I replaced my credentials in the config.php but I still redirect to quickbooks api developer to sign in with my account which bothering the company so much!!!

Also I get this error when I try to get my access token I get this error and the image preview that the auth code in the url

Fatal error: Uncaught Exception: error setting certificate verify locations: CAfile: ./Certificate/cacert.pem CApath: none in C:\xampp\htdocs\roife_quickbooks\OAuth2_PHP-master\OAuth_2\Client.php:193 Stack trace: #0 C:\xampp\htdocs\roife_quickbooks\OAuth2_PHP-master\OAuth_2\Client.php(91): Client->executeRequest('https://oauth.p...', Array, Array, 'POST') #1 C:\xampp\htdocs\roife_quickbooks\OAuth2_PHP-master\OAuth_2\OAuth2PHPExample.php(39): Client->getAccessToken('https://oauth.p...', 'AB11662138803bz...', 'https://5917-41...', 'authorization_c...') #2 {main} thrown in C:\xampp\htdocs\roife_quickbooks\OAuth2_PHP-master\OAuth_2\Client.php on line 193

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant