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

Curr error 3 in Laravel 5.5 #26

Open
librallaw opened this issue Oct 16, 2017 · 13 comments
Open

Curr error 3 in Laravel 5.5 #26

librallaw opened this issue Oct 16, 2017 · 13 comments

Comments

@librallaw
Copy link

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

@wehjey
Copy link

wehjey commented Oct 19, 2017

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

@abiodunsulaiman694
Copy link

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

@codenaz
Copy link

codenaz commented Oct 29, 2017

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.

@dapperGeek
Copy link

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.

@abiodunsulaiman694
Copy link

abiodunsulaiman694 commented Jan 19, 2018

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.

@Thirdwrist
Copy link

Thirdwrist commented Jul 16, 2018

The same error on 5.6, running locally on Laragon

@abiodunsulaiman694
Copy link

Run:
php artisan vendor:publish --provider="Unicodeveloper\Paystack\PaystackServiceProvider"
And confirm that the file paystack.php is in your config directory

@Thirdwrist
Copy link

@abiodunsulaiman694 I have already published it and set my environment variables as well before now.

@dreigningking
Copy link

Its August 2019. I got this error..
cURL error 3: malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I'm using laravel 5.8.
Has anyone solved this issue?

@mrbarnk
Copy link

mrbarnk commented Aug 10, 2019

@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'),

];`

@Keania-Eric
Copy link

I am having the same issue today
I am using laravel 5.7

@Keania-Eric
Copy link

@daweng1
Copy link

daweng1 commented Jul 4, 2020

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.

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

10 participants