Open samimaken opened 1 year ago
Hi, I am getting this error
Client error: POST https://api.paystack.co/transaction/initialize resulted in a 403 Forbidden response: <!DOCTYPE html>
POST https://api.paystack.co/transaction/initialize
403 Forbidden
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.
Ohkay, thanks mate, for saving my day...
Hi, I am getting this error
Client error:
POST https://api.paystack.co/transaction/initialize
resulted in a403 Forbidden
response: <!DOCTYPE html>followed all steps, added keys in the .env file
` public function accept(Request $request) {