laravel-paystack
laravel-paystack copied to clipboard
403 Forbidden
Hi, I am getting this error
Client error: POST https://api.paystack.co/transaction/initialize
resulted in a 403 Forbidden
response:
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.');
}
}`
@samimaken did you solve it?
Yes, you have to use a Nigerian or South African VPN to use this API.
Yes, you have to use a Nigerian or South African VPN to use this API.
Ohkay, thanks mate, for saving my day...