Open librallaw opened 6 years ago
Hey @librallaw are you sure you followed all the steps bcuz i'm using this library with Laravel 5.5 and it works just fine
Hey @wehjey I get error cURL error 35: SSL connect error (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) I've used this package a number of times before, but now, it's kind of stuck on that error
This error is mostly caused as a result of communication glitch between your web browser and the api. Make sure your computer is connected to the internet, or try a different browser. You can also try clearing cache and cookies.
I'm also getting the cURL error 3 in Laravel 5.5, even after clearing cache &cookies and computer is connected. Look into this please.
You might want to check if you have cURL enabled on your machine. My error was automatically resolved when I switched environment. For me, I had to switch from my cloud environment to localhost, and it worked right away.
The same error on 5.6, running locally on Laragon
Run:
php artisan vendor:publish --provider="Unicodeveloper\Paystack\PaystackServiceProvider"
And confirm that the file paystack.php
is in your config
directory
@abiodunsulaiman694 I have already published it and set my environment variables as well before now.
Its August 2019. I got this error..
cURL error 3:
@reigningkingforever check if paystack.php file is active and the code below is there.
`<?php
return [
/**
* Public Key From Paystack Dashboard
*
*/
'publicKey' => getenv('PAYSTACK_PUBLIC_KEY'),
/**
* Secret Key From Paystack Dashboard
*
*/
'secretKey' => getenv('PAYSTACK_SECRET_KEY'),
/**
* Paystack Payment URL
*
*/
'paymentUrl' => getenv('PAYSTACK_PAYMENT_URL'),
/**
* Optional email address of the merchant
*
*/
'merchantEmail' => getenv('MERCHANT_EMAIL'),
];`
I am having the same issue today I am using laravel 5.7
I found that medium post helpful cause it fixed it
The php artisan vendor:publish --provider="Unicodeveloper\Paystack\PaystackServiceProvider"
created a paystack.php file in unicodeveloper/laravel-paystack/resources/config
instead of config
directory. I just copied it from there and pasted it in the config
directory.
Hello, I ge this error when I am using Laravel 5,5 but in Laravel 5.3 it works fine
cURL error 3: malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Please help me look into it