• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PayPal NVP Library Integration

#1
[eluser]Unknown[/eluser]
Hello,

I've spent the better part of a day trying to get the PayPal NVP Library to work properly. I've entered in all my PayPal API (sandbox) information, I've double-checked my PayPal account settings to ensure my app will have access to the account, and I've uninstalled and reinstalled the library at least three times to ensure I'm not making a mistake.

Even when just testing the demo that's included with the library, I get the following error: "Failed to connect to Payment Gateway. Please try again."

Taking a look at the code, it looks like this error is generated when this line in paypal_api_lib.php is called:

Code:
$fp = fsockopen('ssl://api-3t.sandbox.paypal.com', 443, $errno, $errstr, 30);

I don't know what to do! Everything else seems to check out, and the only thing I can think of is that I'm developing in a local environment (WAMP server).

Does anyone have some insight?

Thanks in advance,

Jordan Koschei

#2
[eluser]Unknown[/eluser]
Hi, I suspect that you do not not have the openssl extension enabled in php.ini

Best

Gary Corbett


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.