here is my website: http://saffronflavor.com
I used magento v22.214.171.124,i set up my paypal setting well, sandbox is off, SSl is off, all the privilege from paypal has been set.
but still im getting this error: Unable to communicate with the PayPal gateway
any help plz?
here is the log:
2015-10-25T02:16:09+00:00 ERR (3):
exception 'Exception' with message 'PayPal NVP CURL connection error #7: ' in /home/www/saffronflavor.com/app/code/core/Mage/Paypal/Model/Api/Nvp.php:983
#0 /home/www/saffronflavor.com/app/code/core/Mage/Paypal/Model/Api/Nvp.php(616): Mage_Paypal_Model_Api_Nvp->call('SetExpressCheck...', Array)
#1 /home/www/saffronflavor.com/app/code/core/Mage/Paypal/Model/Express/Checkout.php(381): Mage_Paypal_Model_Api_Nvp->callSetExpressCheckout()
#2 /home/www/saffronflavor.com/app/code/core/Mage/Paypal/Controller/Express/Abstract.php(108): Mage_Paypal_Model_Express_Checkout->start('http://saffronf...', 'http://saffronf...', true)
#3 /home/www/saffronflavor.com/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Paypal_Controller_Express_Abstract->startAction()
#4 /home/www/saffronflavor.com/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('start')
#5 /home/www/saffronflavor.com/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#6 /home/www/saffronflavor.com/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#7 /home/www/saffronflavor.com/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#8 /home/www/saffronflavor.com/index.php(83): Mage::run('', 'store')
2015-10-25T02:16:09+00:00 DEBUG (7): Array
[url] => https://api-3t.paypal.com/nvp
[SetExpressCheckout] => Array
[PAYMENTACTION] => Sale
[AMT] => 12.00
[CURRENCYCODE] => USD
[RETURNURL] => http://saffronflavor.com/index.php/paypal/express/return/
[CANCELURL] => http://saffronflavor.com/index.php/paypal/express/cancel/
[INVNUM] => 100000001
[SOLUTIONTYPE] => Mark
[GIROPAYCANCELURL] => http://saffronflavor.com/index.php/paypal/express/cancel/
[GIROPAYSUCCESSURL] => http://saffronflavor.com/index.php/checkout/onepage/success/
[BANKTXNPENDINGURL] => http://saffronflavor.com/index.php/checkout/onepage/success/
[LOCALECODE] => en_US
[ITEMAMT] => 7.00
[TAXAMT] => 0.00
[SHIPPINGAMT] => 5.00
[L_NUMBER0] => 1gpoushali
[L_NAME0] => 1.00 g Poushali Negin Saffron
[L_QTY0] => 1
[L_AMT0] => 7.00
[BUSINESS] => devpills
[EMAIL] => parham(removed)
[FIRSTNAME] => parham
[LASTNAME] => abbasi
[COUNTRYCODE] => MY
[CITY] => cyberjaya
[STREET] => block 1 floor 8 unit 03A domain bulding cyberjaya selangor
[ZIP] => 54687954
[PHONENUM] => (removed)
[SHIPTOCOUNTRYCODE] => MY
[SHIPTOCITY] => cyberjaya
[SHIPTOSTREET] => block 1 floor 8 unit 03A domain bulding cyberjaya selangor
[SHIPTOZIP] => 54687954
[SHIPTOPHONENUM] => (removed)
[SHIPTONAME] => parham abbasi
[ADDROVERRIDE] => 1
[METHOD] => SetExpressCheckout
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => Magento_Cart_Community
[response] => Array
[__pid] => 31604
Solved! Go to Solution.
I find the solution, It was about Outgoing Connections which web hosting company was blocking it, after talking with support, they allowed Outgoing connections to paypal website. now its working.
I had the same issue running on a AWS EC2 instance. I added the 'All Traffic' rule to the Outbound traffic in the security group.
Your post guided me in the right direct. Cheers.
I happen to have the same issue and did the solution but its still showing the same error.
Are there other fixes or possible workarounds on these?
Wanted to share how we solve the issue.
It turned out that the curl version on our server is outdated.
To test use this:
Run the following command: curl -v -s https://api-3t.sandbox.paypal.com/nvp
I am also facing same issue. Is it required to use only NVP APi for PayPal Express Checkout?
Please refer to this answer https://github.com/magento/magento2/issues/3509#issuecomment-189271581
As addition, Paypal has upgraded to TLS1.2 https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1914&viewlocale...
From OPS point of view it requires to update libcurl to 7.34 or later.
Upgrading curl on Amazon Ec2 fixed the issue
I tried with the above command but getting error "
Protocol "https" not supported or disabled in libcurl"
PayPal is blocking accounts and stealing money from people around the globe under the name of PayPal AUP.
Lawsuit alleges PayPal seized & held $250K from user's accounts. Details in the below links
Link 1 - https://arstechnica.com/tech-policy/2022/01/paypal-stole-users-money-after-freezing-seizing-funds-la...
Link 2 - https://www.bloomberg.com/news/articles/2022-01-13/paypal-sued-for-freezing-customer-accounts-withou...