Jump to content

Crafty Clicks


Recommended Posts

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.

Link to comment
Share on other sites

Today, 15:45
Request 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:443
Response received

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...