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

Add troubleshooting section to readme #63

Open
mtvbrianking opened this issue Jun 3, 2021 · 5 comments
Open

Add troubleshooting section to readme #63

mtvbrianking opened this issue Jun 3, 2021 · 5 comments

Comments

@mtvbrianking
Copy link
Owner

mtvbrianking commented Jun 3, 2021

Steps

  • Clear application cache
php artisan config:clear
  • Delete existing access token(s) from the database
\Bmatovu\MtnMomo\Models\Token::truncate();
  • Confirm package configuration
config('mtn-momo')

* Refer to the GoLive wiki when migrating from sandbox to live environment

@oseip
Copy link

oseip commented Nov 8, 2022

I dont have any current access tokens in the database to delete..
Please help me out. How do i do that

@mtvbrianking
Copy link
Owner Author

I guided you from issue #77

@oseip
Copy link

oseip commented Nov 8, 2022

This is my log file...
I dont understand step two

[2022-11-08 11:43:28] local.ERROR: HTTP_OUT_ULFvFHTFJa [Request] POST /v1_0/apiuser
[2022-11-08 11:43:28] local.ERROR: HTTP_OUT_ULFvFHTFJa [Request] [Headers]
POST /v1_0/apiuser HTTP/1.1
Accept: application/json
Ocp-Apim-Subscription-Key: 9ad3b5f8ce644ae8f8a5a8de30023e1a9
User-Agent: GuzzleHttp/7
Content-Type: application/json
Host: sandbox.momodeveloper.mtn.com
X-Reference-Id: f117c9e9-4f27-4c74-a591-1ee513b6e361
[2022-11-08 11:43:28] local.ERROR: HTTP_OUT_ULFvFHTFJa [Request] [Body] {"providerCallbackHost":"localhost"}
[2022-11-08 11:43:28] local.ERROR: HTTP_OUT_ULFvFHTFJa [Response] HTTP/1.1 401 Access Denied Size: 143
[2022-11-08 11:43:28] local.ERROR: HTTP_OUT_ULFvFHTFJa [Response] [Headers]
HTTP/1.1 401 Access Denied
Content-Length: 143
Content-Type: application/json
Request-Context: appId=cid-v1:e996501c-e721-4ac1-97ff-dc6887b85e8c
WWW-Authenticate: AzureApiManagementKey realm="https://sandbox.momodeveloper.mtn.com/",name="Ocp-Apim-Subscription-Key",type="header"
Date: Tue, 08 Nov 2022 11:43:22 GMT

@mtvbrianking
Copy link
Owner Author

@oseip
Copy link

oseip commented Nov 8, 2022

Subscription Key has been confirmed
Still getting the same error
Please Explain Step two

Ocp-Apim-Subscription-Key: 9ad3b5f8ce644e8f8a5a8de30023e1a9

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

2 participants