Guest Stuart Swan Posted September 30, 2009 Share Posted September 30, 2009 We run CubeCart with Express Checkout and Direct Payment, when a user goes to pay by PayPal, the website is producing an error: Fatal error: Call to undefined method SOAP_Fault::getAck() in /var/www/vhosts/example.com/httpdocs/modules/gateway/DirectPayment/form.inc.php on line 167 Fatal error: Call to undefined method SOAP_Fault::getAck() in /var/www/vhosts/example.com/httpdocs/modules/gateway/ExpressCheckout/transfer.inc.php on line 104 No changes have been made to the website so is this a PayPal issue, I remember hearing about an expiry on old style APIs for PayPal, could this be the case?Any ideas? Quote Link to comment Share on other sites More sharing options...
Guest CCS-DM Posted September 30, 2009 Share Posted September 30, 2009 I have also had the same problem today with a clients site, both Direct Payment and also Express Checkout. Haven't had any info from PayPal regarding API's expiry? Wonder if a new API certificate needs installing? Quote Link to comment Share on other sites More sharing options...
Guest Stuart Swan Posted September 30, 2009 Share Posted September 30, 2009 I have also had the same problem today with a clients site, both Direct Payment and also Express Checkout. Haven't had any info from PayPal regarding API's expiry? Wonder if a new API certificate needs installing? After looking at the logs for PayPal within CubeCart I am seeing Ack failed messages and SSL issues with PayPal endpoint: Sep 30 04:13:49 example_api1.example.com [info] DoDirectPayment, Elapsed: 977ms, Ack: Failure Sep 30 04:37:17 example_api1.example.com [debug] DEBUG setEndpoint: https://api-aa.paypal.com/2.0/ Sep 30 04:37:18 example_api1.example.com [debug] Request XML: <?xml version="1.0" encoding="UTF-8"?> Sep 30 16:37:27 example_api1.example.com [debug] Response XML: Sep 30 16:37:27 example_api1.example.com [info] DoDirectPayment, Elapsed: 315ms Sep 30 16:37:27 example_api1.example.com [error] curl_exec error 60 SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Sep 30 16:45:50 example_api1.example.com [debug] DEBUG setEndpoint: https://api-aa.paypal.com/2.0/ Sep 30 16:45:50 example_api1.example.com [debug] Request XML: <?xml version="1.0" encoding="UTF-8"?> Quote Link to comment Share on other sites More sharing options...
Guest Stuart Swan Posted September 30, 2009 Share Posted September 30, 2009 From what I can see it may have something to do with this: http://www.pdncommunity.com/t5/blogs/bloga.../article-id/456 anyone know of a specific fix for CubeCart? Quote Link to comment Share on other sites More sharing options...
Guest Stuart Swan Posted September 30, 2009 Share Posted September 30, 2009 From what I can see it may have something to do with this: http://www.pdncommunity.com/t5/blogs/bloga.../article-id/456 anyone know of a specific fix for CubeCart? Ok, that appears to be working now, what I done was edit the /lib/PayPal/cert/api_cert_chain.crt as with the link above by adding a third certificate from this link: https://www.verisign.com/support/roots.html the file is called 'Class 3 Public Primary Certification Authority - G2' or you can download the new api_cert_chain.crt from here https://cms.paypal.com/us/cgi-bin/?cmd=_ren...y_download_sdks which has the the latest files. Hope this helps someone. Quote Link to comment Share on other sites More sharing options...
Guest CCS-DM Posted September 30, 2009 Share Posted September 30, 2009 From what I can see it may have something to do with this: http://www.pdncommunity.com/t5/blogs/bloga.../article-id/456 anyone know of a specific fix for CubeCart? Ok, that appears to be working now, what I done was edit the /lib/PayPal/cert/api_cert_chain.crt as with the link above by adding a third certificate from this link: https://www.verisign.com/support/roots.html the file is called 'Class 3 Public Primary Certification Authority - G2' or you can download the new api_cert_chain.crt from here https://cms.paypal.com/us/cgi-bin/?cmd=_ren...y_download_sdks which has the the latest files. Hope this helps someone. Thanks Stuart, that has sorted it for me new it had to be something PayPal had changed! Dean Quote Link to comment Share on other sites More sharing options...
Guest aliceaod Posted October 2, 2009 Share Posted October 2, 2009 OMG I'm not a coding genius. How do we fix this (in layman's terms) or is there a patch? I just need to know open/find/replace...that kind of thing. Quote Link to comment Share on other sites More sharing options...
Guest CCS-DM Posted October 3, 2009 Share Posted October 3, 2009 OMG I'm not a coding genius. How do we fix this (in layman's terms) or is there a patch? I just need to know open/find/replace...that kind of thing. Hi, all you need to do is replace the "api_cert_chain.crt" which is located within CubeCart at: "pear/PayPal/cert" with the new one from PayPal which can be downloaded https://cms.paypal.com/cms_content/US/en_US...SOAP_SDK.tar.gz Once you have downloaded and unpacked the file you can find the new certificate in the folder "PP_PHP_SOAP_SDK\php-sdk\lib\PayPal\cert" This worked for me, Hope it helps. Quote Link to comment Share on other sites More sharing options...
Guest aliceaod Posted October 4, 2009 Share Posted October 4, 2009 Thank you! Thank you! Thank you! :( Quote Link to comment Share on other sites More sharing options...
Guest davec Posted October 7, 2009 Share Posted October 7, 2009 OMG I'm not a coding genius. How do we fix this (in layman's terms) or is there a patch? I just need to know open/find/replace...that kind of thing. Hi, all you need to do is replace the "api_cert_chain.crt" which is located within CubeCart at: "pear/PayPal/cert" with the new one from PayPal which can be downloaded https://cms.paypal.com/cms_content/US/en_US...SOAP_SDK.tar.gz Once you have downloaded and unpacked the file you can find the new certificate in the folder "PP_PHP_SOAP_SDK\php-sdk\lib\PayPal\cert" This worked for me, Hope it helps. THANK YOU CCS!!!! I've been on the phone with my hosting, and with paypal for 2 wasted days!! and what you've stated above has WORKED!! THANKS AGAIN! (and I'm not a pro at this) Quote Link to comment Share on other sites More sharing options...
Guest thestove Posted October 8, 2009 Share Posted October 8, 2009 Thank you! Great Help! Easy Fix! Quote Link to comment Share on other sites More sharing options...
Guest dkcustoms Posted October 9, 2009 Share Posted October 9, 2009 From what I can see it may have something to do with this: http://www.pdncommunity.com/t5/blogs/bloga.../article-id/456 anyone know of a specific fix for CubeCart? Ok, that appears to be working now, what I done was edit the /lib/PayPal/cert/api_cert_chain.crt as with the link above by adding a third certificate from this link: https://www.verisign.com/support/roots.html the file is called 'Class 3 Public Primary Certification Authority - G2' or you can download the new api_cert_chain.crt from here https://cms.paypal.com/us/cgi-bin/?cmd=_ren...y_download_sdks which has the the latest files. Hope this helps someone. hello, sorry to be a pain but im rather confused im not sure exactly what i download and what i install. can anyone explain in simple steps like: 1. go to this and download this 2. go to here and install this ect ect many thanks i just get a bit lost reading some of this on here haha Quote Link to comment Share on other sites More sharing options...
Guest davec Posted October 12, 2009 Share Posted October 12, 2009 From what I can see it may have something to do with this: http://www.pdncommunity.com/t5/blogs/bloga.../article-id/456 anyone know of a specific fix for CubeCart? Ok, that appears to be working now, what I done was edit the /lib/PayPal/cert/api_cert_chain.crt as with the link above by adding a third certificate from this link: https://www.verisign.com/support/roots.html the file is called 'Class 3 Public Primary Certification Authority - G2' or you can download the new api_cert_chain.crt from here https://cms.paypal.com/us/cgi-bin/?cmd=_ren...y_download_sdks which has the the latest files. Hope this helps someone. hello, sorry to be a pain but im rather confused im not sure exactly what i download and what i install. can anyone explain in simple steps like: 1. go to this and download this 2. go to here and install this ect ect many thanks i just get a bit lost reading some of this on here haha Do what CCS-DM said. All I did was replace the file with a new file in the "Pear" folder and it worked. You have to download and unzip that file he mentioned. ..and then replace the old file with the new one. What I did was copy the old file and stored it in a separate folder in case I needed it. Everything works now. Quote Link to comment Share on other sites More sharing options...
Guest kaskudoo Posted October 14, 2009 Share Posted October 14, 2009 This worked very well - thanks a lot guys .... this forum has saved me many headaches! Quote Link to comment Share on other sites More sharing options...
Guest pauldes Posted October 25, 2009 Share Posted October 25, 2009 I've added that new file but i'm still getting the same problem (though mine's on line 165) Quote Link to comment Share on other sites More sharing options...
Guest profunzime Posted October 27, 2009 Share Posted October 27, 2009 I had the same problem and followed CCS-DM steps and now Express Checkout works, but I have problem with Direct Payment. After introducing all the card details I'm getting this message: "Sorry, your order failed! You can attempt to purchase your basket contents again below:..." I've been searching for solving this problem since 2 days now and couldn't find anything. Please help. Quote Link to comment Share on other sites More sharing options...
Guest pauldes Posted October 27, 2009 Share Posted October 27, 2009 done some digging seems as of 3.0.19 paypal direct payments are no longer supported by cc3, we'll have to upgrade to cc4 Quote Link to comment Share on other sites More sharing options...
Guest profunzime Posted October 28, 2009 Share Posted October 28, 2009 done some digging seems as of 3.0.19 paypal direct payments are no longer supported by cc3, we'll have to upgrade to cc4 Just made the update to the latest version of CC4 and there is another big problem there to witch I couldn't find a solution for it: The customer can not add to cart anything.... So I figure to downgrade to cc3 again and maybe find a solution to accept credit cards... Quote Link to comment Share on other sites More sharing options...
Guest SweetNightshade Posted November 4, 2009 Share Posted November 4, 2009 done some digging seems as of 3.0.19 paypal direct payments are no longer supported by cc3, we'll have to upgrade to cc4 Could you cite your source on this please? I need to know for sure if I have to upgrade. I'm running on 3.0.20 and suddenly PayPal orders are giving customers a "Sorry, your order failed!" message, even though the payment does go through. Quote Link to comment Share on other sites More sharing options...
Guest pauldes Posted November 5, 2009 Share Posted November 5, 2009 http://forums.cubecart.com/index.php?showtopic=38533 "CubeCart 3.0.19 has been released which has some minor maintenance updates. Upgrade is not important nor recommended unless any of the following changes will effect you. What's changed? PayPal Express Checkout & Direct Payment have been removed. This is because PayPal will be discontinuing the integration method used in v3 after September 1, 2009. If you are a PayPal Pro customer using CubeCart v3 we urge you to upgrade to CubeCart v4 which utilises the latest NVP Signature integration that has been certified by PayPal. Protx rebranding to SagePay with 2.23 protocol integration from 2.22. Google Base (Froogle) updated to include product "condition" required in all feeds by the end of March. Linkpoint Connect integration bug fixes. A file comparison report has been bundled in the "changelog" folder. " Quote Link to comment Share on other sites More sharing options...
Guest kaskudoo Posted November 5, 2009 Share Posted November 5, 2009 I have not experienced any changes yet (cc v3.0.13) ..... i can't upgrade right before the Holiday season ... someone tell me it'll be alright! Quote Link to comment Share on other sites More sharing options...
Guest SweetNightshade Posted November 7, 2009 Share Posted November 7, 2009 Okay, so it's just Paypal Express. Express isn't even offered as an option in the control panel on 3.20, so that's not my issue. I'm using IPN. Quote Link to comment Share on other sites More sharing options...
Guest galgammer Posted December 8, 2009 Share Posted December 8, 2009 I've added that new file but i'm still getting the same problem (though mine's on line 165) Thanks everybody. With hours of searching for this issue and no help with Pay Pal....FINALLY it is resolved. I would make sure your log files are running and check them. Those are great for reporting the true error. Quote Link to comment Share on other sites More sharing options...
Guest pete Posted January 20, 2010 Share Posted January 20, 2010 I've added that new file but i'm still getting the same problem (though mine's on line 165) Thanks everybody. With hours of searching for this issue and no help with Pay Pal....FINALLY it is resolved. I would make sure your log files are running and check them. Those are great for reporting the true error. 4 hours searching to find this thread. Found it through Google, not within the forum. This thing should be stickied! Quote Link to comment Share on other sites More sharing options...
Guest pete Posted January 27, 2010 Share Posted January 27, 2010 I've added that new file but i'm still getting the same problem (though mine's on line 165) Thanks everybody. With hours of searching for this issue and no help with Pay Pal....FINALLY it is resolved. I would make sure your log files are running and check them. Those are great for reporting the true error. 4 hours searching to find this thread. Found it through Google, not within the forum. This thing should be stickied! Still no joy. I get no error messages, everything seems as it should be. The Express Pay works fine, but the Direct Pay comes up and seems just fine, until you go to pay then get the message - Sorry, your order failed! No explanation, just the message. I've been through most everything. Running a heavily modded (Estelle's shipping, discounts, etc.) V3.17. Had been using IPN with only occasional problems, caused by someone starting a payment, then abandoning the payment process and not logging off, just leaving. That would play havoc, but payments always went through. Any ideas on this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.