matscode / paystack-php-sdk

Paystack PHP SDK
https://matscode.github.io/paystack-php-sdk
GNU General Public License v3.0
4 stars 1 forks source link

403 ERROR #6

Open ewudo opened 7 months ago

ewudo commented 7 months ago

Hi there. Did anyone experience this error at some point during integration?

Client error: POST https://api.paystack.co/transaction/initialize resulted in a 403 Forbidden response: <!DOCTYPE html>Just a moment...<meta http-equiv="Content-Type" content="text/htm (truncated...) {"code":403,"message":"Client error: POST https://api.paystack.co/transaction/initialize resulted in a 403 Forbidden response: <!DOCTYPE html><html lang=\"en-US\">Just a moment...<meta http-equiv=\"Content-Type\" content=\"text/htm (truncated...) ","file":"/www/wwwroot/api.domain.com/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php","line":113}

matscode commented 7 months ago

If you get a 403 error at any point. it is possibly because you have an invalid api key..