[email protected]. Posted May 16, 2015 Author Share Posted May 16, 2015 It would appear that the payment gateway doesn't work for NoChex or PayPal... I have to manually change the order status to processing. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 16, 2015 Share Posted May 16, 2015 Just to make this 100% problem-free, we will do exactly the same with /includes/extra/PayPal_acceptance.js.Copy the file /includes/extra/PayPal_acceptance.js into the folder /skins/vector/js/plugins/.Edit the file /skins/vector/js/application.js, at the bottom:From: {bar: skin_path + '/js/plugins/jquery.bar.min.js'}, {craftyclick1: skin_path + '/js/plugins/crafty_postcode.class.js'}, {craftyclick2: skin_path + '/js/plugins/craftyclicks.js'}, {flexslider: skin_path + '/js/plugins/jquery.flexslider.min.js'} ); To: Change to: {bar: skin_path + '/js/plugins/jquery.bar.min.js'}, {craftyclick1: skin_path + '/js/plugins/crafty_postcode.class.js'}, {craftyclick2: skin_path + '/js/plugins/craftyclicks.js'}, {paypal: skin_path + '/js/plugins/PayPal_acceptance.js'}, {flexslider: skin_path + '/js/plugins/jquery.flexslider.min.js'} );The next step is to rename the file /includes/extra/PayPal_acceptance.js to something else, perhaps PayPal_acceptance.js--onhold. We might still need to make an edit to the PayPal plugin if it keeps wanting to create this file whenever you open the plugin's settings panel.I have no answer for NoChex or PayPal not setting the order to Processing. I'll look at NoChex shortly. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 16, 2015 Share Posted May 16, 2015 The NoChex module uses CubeCart's Request Log, so, in admin, Request Log, find the entry for the NoChex payment test.Copy that entry in your reply. Quote Link to comment Share on other sites More sharing options...
[email protected]. Posted May 16, 2015 Author Share Posted May 16, 2015 Today, 15:45Request Sent - https://www.nochex.com/nochex.dll/apc/apctransaction_id=4767326&transaction_date=16%2F05%2F2015+15%3A44%3A29&order_id=150516-153922-3282&amount=19.95&from_email=Derek.jackson15%40btopenworld.com&to_email=steve%40themodeltreeshop.co.uk&security_key=acbe502d66e84eb784068358aadb084a&status=live&custom=Error:cURL Error (35): Unknown SSL protocol error in connection to www.nochex.com:443Response received Quote Link to comment Share on other sites More sharing options...
[email protected]. Posted May 16, 2015 Author Share Posted May 16, 2015 The problem may be more than originally thought, the customer's order also doesn't register against their account so in their order history there are no orders. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 16, 2015 Share Posted May 16, 2015 No, the record for a customer's order history would not be recorded at this time.This part of the response: cURL Error (35): Unknown SSL protocol error is interesting.I strongly urge you to consult with your hosting providers to determine if they have the appropriate SSL protocol library installed on their servers. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 16, 2015 Share Posted May 16, 2015 You might try this edit (being specific to your hosting environment). In the file /classes/request.class.php, near lines 74-80:Change: if ($this->_curl) { $this->_curl_options[CURLOPT_HEADER] = $this->_request_return_headers; $this->_curl_options[CURLOPT_RETURNTRANSFER] = $this->_request_return; $this->_curl_options[CURLOPT_VERBOSE] = false; $this->_curl_options[CURLOPT_FAILONERROR] = true; /*$this->_curl_options[CURLOPT_FOLLOWLOCATION] = true;*/ } To this: if ($this->_curl) { $this->_curl_options[CURLOPT_HEADER] = $this->_request_return_headers; $this->_curl_options[CURLOPT_RETURNTRANSFER] = $this->_request_return; $this->_curl_options[CURLOPT_VERBOSE] = false; $this->_curl_options[CURLOPT_FAILONERROR] = true; $this->_curl_options[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4; /*$this->_curl_options[CURLOPT_FOLLOWLOCATION] = true;*/ } We are forcing the cURL function to use IPv4 addresses, in case NoChex replies with both IPV6 and IPv4 addresses and your hosting environment does not understand IPv6.This is just a guess, but it's based on research on the error message. Quote Link to comment Share on other sites More sharing options...
[email protected]. Posted May 17, 2015 Author Share Posted May 17, 2015 Strangely enough I have Just received both an order email and notification from Nochex so it would appear that the glitch has righted itself... Quote Link to comment Share on other sites More sharing options...
Mancs Posted May 20, 2015 Share Posted May 20, 2015 Hi guys, it's Gabor here from Crafty Clicks.I wish to express my gratitude for your help bsmither; without you I would have definitely ran around in circles trying to find the source of this issue.I wasn't aware of the fact that head_js isn't available in CC5.I stored all the guidance you provided & will remember how to fix this issue, if it comes up in the future.Thanks once more for the awesome help.Gabor 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.