Arnie Posted January 1, 2010 Share Posted January 1, 2010 Ok this has been stumping me for quite a few days now...Getting this message on all my orders made with PayPal in the Back Office:Verification failure (using cURL). Returned: cURL error:couldn't connect to hostThe PayPal transaction could not be VERIFIED.And when a customer is returned to the store after payment is made they see "Payment error" in their orders.Their orders show all the correct amounts in the Front Office but in the Back Office, under Orders, it gives me an error:"Warning: £0.00 paid instead of £#.## !"My setup:PayPal v1.6 moduleUsing version: 1.2.5.0Store is hosted at AwardSpace.cURL is enabled.Currently testing using PayPal's sandboxIPN settings are correct as indicated by the wiki:http://www.prestashop.com/wiki/PayPal_and_PrestaShop/(Obviously with correct web address instead of localhost).I found a post that said that when posting to PayPal from an http:/ website it should be to http:/www.paypal.com and not https://www.paypal.com. So I went through all the files in the PayPal module and replaced all the https: to http:This made no difference and so reverted the files back.For info here is the original post:http://paypaldev.org/yaf_postst7443_ipn-script-problem.aspxI then tried using the PayPalAPI v1.0 which produced this error after confirming the order in my store: AUTHORISATION TO PAYPAL FAILED Please refer to logs: Making new connection to 'api-3t.sandbox.paypal.com/nvp' Connect with CURL method sucessfull Sending this params: METHOD=SetExpressCheckout&VERSION=53.0&PWD;=*********&USER=seller_1262279194_biz_api1.hotmail.com&SIGNATURE;=*********&Amt=8.94&PAYMENTACTION=Sale&ReturnUrl=http://toolingshed.com/modules/paypalapi/payment/submit.php?fromPayPal=1&CANCELURL=http://toolingshed.com/order.php&CURRENCYCODE=GBP&NOSHIPPING=1 Send with CURL method failed ! Error: couldn't connect to host Connect failed with fsockopen method PayPal response: 0 -> -> PayPal returned error So it looks to me like AwardSpace is blocking cURL connections to paypal? Why would they do that and why doesn't anyone else appear to be having the same issue?I've seen reference to a beta PayPal module. But seeing as it's beta and as they suggest on their site it's not a good idea to use it live I'd rather not.If anyone could shed some light and help point me to where I'm going wrong it would be very much appreciated!Thanks. Link to comment Share on other sites More sharing options...
Arnie Posted January 2, 2010 Author Share Posted January 2, 2010 Interestingly I've just noticed that on the order confirmation sent to the merchant it has the correct amount. But everywhere else in Prestashop's back office says £0.00 has been payed.What's going on? Hi,You've a new order from Name on Tooling Shed.Order: 000011Placed on : 2010-01-02Carrier : {shipper}Payment: PayPalDiscounts: £0.00Shipping: £3.95Products: £4.99Gift-wrapping: £0.00Total paid: £8.94Delivery address:NameAddressUnited Kingdom {delivery state}Billing address:NameAddressUnited Kingdom {invoice state}Customer message:Verification failure (using cURL). Returned: cURL error:couldn't connect to hostThe PayPal transaction could not be VERIFIED. Link to comment Share on other sites More sharing options...
Arnie Posted January 2, 2010 Author Share Posted January 2, 2010 SOLVEDRaised a support ticket with AwardSpace. They enabled outgoing connections on my account (wasn't aware they weren't enabled) and now it all works correctly. Link to comment Share on other sites More sharing options...
idoityourself Posted November 18, 2012 Share Posted November 18, 2012 Hi Arnie what is AwardSpace, your website host? Im getting the same error but only on some orders Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now