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

403 Forbidden #176

Open
samimaken opened this issue Aug 9, 2023 · 3 comments
Open

403 Forbidden #176

samimaken opened this issue Aug 9, 2023 · 3 comments

Comments

@samimaken
Copy link

Hi,
I am getting this error

Client error: POST https://api.paystack.co/transaction/initialize resulted in a 403 Forbidden response:
<title>Just a moment...</title><meta http-equiv="Content-Type" content="text/htm (truncated...)

followed all steps,
added keys in the .env file

` public function accept(Request $request)
{

    try {
        return Paystack::getAuthorizationUrl()->redirectNow();
    } catch (\Exception $e) {
        dd($e);
        return Redirect::back()->with('error', 'The paystack token has expired. Please refresh the page and try again.');
    }
}`
@Hateem76
Copy link

Hateem76 commented Dec 4, 2023

@samimaken did you solve it?

@samimaken
Copy link
Author

Yes, you have to use a Nigerian or South African VPN to use this API.

@Hateem76
Copy link

Hateem76 commented Dec 4, 2023

Yes, you have to use a Nigerian or South African VPN to use this API.

Ohkay, thanks mate, for saving my day...

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