Zen Cart Logo
Forums / Addon Payment Modules / Will not confirm the order (Linkpoint)

Will not confirm the order (Linkpoint)

Locked

Views: 11,580

Results 1 to 20 of 35
This thread is locked. New replies are disabled.
29 Jun 2006, 4:43 AM
#1
davidhwalker avatar

davidhwalker

New Zenner

Join Date:
Jun 2006
Location:
Austin, TX
Posts:
25
Plugin Contributions:
0

Will not confirm the order (Linkpoint)

First off, I've read these boards like crazy, and I can't find the solution to my problem. However, they have been EXTREMELY useful throughout the entire setup process, so thank you for that!

My current situation:
My cart will not get past the 3rd step (checkout_confirmation). It just sits there thinking.

I have it in testing mode with Link Point Central, but it just doesn't do anything. If I let it sit there for a really long time it will bounce back to step 2 (sometimes). The posts on similar topics do not solve my problem though.

I have the new Linkpoint API, which was just uploaded yesterday.

All payment modules are disabled except for "Linkpoint/YourPay API"

Any ideas?

fyi: I do NOT have SSL installed yet as I'm waiting for it to be initialized by my server.

my testing cart : http://www.302designs.net/shop_guys_V2.html

Thanks for any and all help!!!

best regards,
Dave

29 Jun 2006, 10:00 PM
#2
davidhwalker avatar

davidhwalker

New Zenner

Join Date:
Jun 2006
Location:
Austin, TX
Posts:
25
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

kept trying to tweak things over here, but am still getting nowhere. Any advice from a zen master? :)

29 Jun 2006, 10:12 PM
#3
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Will not confirm the order (Linkpoint)

Just had a look at your cart. Before I download files, and take a look, which LinkPoint module are you using? There are two in the contribs section. Is it wither of these, or another one from else where?

It seems from looking briefly like there is a problem with the before_process of your module. This could be a value not being submitted correctly, or just posting to the wrong site.

Absolute

29 Jun 2006, 10:26 PM
#4
davidhwalker avatar

davidhwalker

New Zenner

Join Date:
Jun 2006
Location:
Austin, TX
Posts:
25
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

I'm using Linkpoint/Yourpay - v1.3

am curious to hear what you come up with

30 Jun 2006, 12:27 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Will not confirm the order (Linkpoint)

davidhwalker:

I have it in testing mode with Link Point Central, but it just doesn't do anything.
What exactly do you mean by this?

If you switch from testing to production, do you notice any change?

1 Jul 2006, 7:44 PM
#6
davidhwalker avatar

davidhwalker

New Zenner

Join Date:
Jun 2006
Location:
Austin, TX
Posts:
25
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

When I said it was in "testing mode" I was referring to the "LinkPoint Transaction Mode Response" in the zencart shipping module. Still the same case when I switch it over to production.

I just got off the phone with the LinkPoint Central tech support, and they say the problem is definitely within my cart setup since none of the test transactions I've been doing over the past few days have been transmitted to their log files and since there were no error messages reported.

I've tried uninstalling and reinstalling the v1.3 files to no avail.

1 Jul 2006, 8:41 PM
#7
davidhwalker avatar

davidhwalker

New Zenner

Join Date:
Jun 2006
Location:
Austin, TX
Posts:
25
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

Been doing lot's of searching online and it seems that this perhaps is all due to my host being GoDaddy. Apparently they don't keep port 1129 open, so instead i have to go through a proxy of theirs.

Found a post of a similiar nature which resulted in me adding some parameters to the class.linkpoint_api.php :


curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL,TRUE);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY, "http://64.202.165.130:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

But now, i get the error message : "We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization. Please contact the Store Owner for payment alternatives."

I'd like to think of this as progress...only time will tell.

2 Jul 2006, 4:40 AM
#8
davidhwalker avatar

davidhwalker

New Zenner

Join Date:
Jun 2006
Location:
Austin, TX
Posts:
25
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

have tried so many different things---experimented with all the "godaddy fixes" and whatnot.

At least I get an error message now.

"...unable to contact the Credit Card company for authorization..."

I'm convinced now that it is a problem in the cURL section. Here it is if it helps:

$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL,$url);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);
curl_setopt ($ch, CURLOPT_SSLCERT, $key);
curl_setopt ($ch, CURLOPT_CAINFO, $key);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, true);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt ($ch, CURLOPT_SSLVERSION, 3);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true); //godaddy
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); //godaddy
curl_setopt ($ch, CURLOPT_PROXY, "http://64.202.165.130:3128"); //godaddy

open to ideas...

6 Jul 2006, 10:03 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Will not confirm the order (Linkpoint)

Okay... did some more digging.

Unfortunately, since you're using GoDaddy Shared Hosting, you are out of luck.

You can upgrade to their Virtual or Dedicated hosting, or you can switch hosts.

More Info:
http://www.zen-cart.com/forum/showthread.php?t=40265

7 Jul 2006, 3:20 AM
#10
kevinm2 avatar

kevinm2

Zen Follower

Join Date:
Aug 2004
Posts:
272
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

Dr. Byte - I am having the same problem with Godaddy. But I am using Authoriza.net for the gateway. Do you think the problem stands w/ Authorize.net also?

Can I moify the script some how, so the transction goes through the available ports?

Can you recommend a host!

7 Jul 2006, 10:57 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Will not confirm the order (Linkpoint)

Zen Cart Certified Hosts:
http://www.zen-cart.com/index.php?main_page=infopages&pages_id=10

/includes/modules/payment/authorizenet_aim.php
line 372:> //========================

// If you have GoDaddy hosting or other hosting services that require use of a proxy to talk to external sites via cURL,
// then uncomment the following 3 lines and substitute they proxy server's address for 1.1.1.1 below:

**// ** curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true);
// curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
// curl_setopt ($ch, CURLOPT_PROXY, '1.1.1.1');
//========================

Uncomment the 3 lines that start with curl_setopt
set the proxy address from 1.1.1.1 to: ** 64.202.165.130:3128**

12 Jul 2006, 8:18 PM
#12
kevinm2 avatar

kevinm2

Zen Follower

Join Date:
Aug 2004
Posts:
272
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

Thanks for the reply. Dr. Byte what and who's IP is 64.202.165.130:3128 in the following line:

Uncomment the 3 lines that start with curl_setopt
set the proxy address from 1.1.1.1 to: 64.202.165.130:3128

So you are telling me that the problem could be elliminated by fixing the code in the following file for authorize.net?

/includes/modules/payment/authorizenet_aim.php

Thanks

12 Jul 2006, 8:45 PM
#13
kevinm2 avatar

kevinm2

Zen Follower

Join Date:
Aug 2004
Posts:
272
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

looking at file /includes/modules/payment/authorizenet_aim.php, I could find the follwoing script.

Quote:
//========================
// If you have GoDaddy hosting or other hosting services that require use of a proxy to talk to external sites via cURL,
// then uncomment the following 3 lines and substitute they proxy server's address for 1.1.1.1 below:
// curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true);
// curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
// curl_setopt ($ch, CURLOPT_PROXY, '1.1.1.1');
//========================

Could it be elsewhere? Or should just add it to the end of the sript?

13 Jul 2006, 12:42 AM
#14
kevinm2 avatar

kevinm2

Zen Follower

Join Date:
Aug 2004
Posts:
272
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

My version of /includes/modules/payment/authorizenet_aim.php did not have the following:

//========================
// If you have GoDaddy hosting or other hosting services that require use of a proxy to talk to external sites via cURL,
// then uncomment the following 3 lines and substitute they proxy server's address for 1.1.1.1 below:
// curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true);
// curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
// curl_setopt ($ch, CURLOPT_PROXY, '1.1.1.1');
//========================

So I added it to the script as follow. Did I do anything wrong? Please advise.

PS. It now works.
Thank you Dr. Byte

  // SEND DATA BY CURL SECTION
  // Post order info data to Authorize.net, make sure you have curl installed

  unset($response);

  // The commented line below is an alternate connection method
  //exec("/usr/bin/curl -d \"$data\" https://secure.authorize.net/gateway/transact.dll", $response);

  $url = 'https://secure.authorize.net/gateway/transact.dll';

  $ch = curl_init();

//========================
// If you have GoDaddy hosting or other hosting services that require use of a proxy to talk to external sites via cURL,
// then uncomment the following 3 lines and substitute they proxy server's address for 1.1.1.1 below:
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY, '64.202.165.130:3128');
//========================

// I added this in 11-18-05 authorize.net did not work on Windows 2000

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

  curl_setopt($ch, CURLOPT_URL,$url);

  curl_setopt($ch, CURLOPT_VERBOSE, 0);

  curl_setopt($ch, CURLOPT_POST, 1);

  curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

  curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

  $authorize = curl_exec($ch);

  curl_close ($ch);

  $response = split('\,', $authorize);


  // DATABASE SECTION
  // Insert the send and receive response data into the database.
  // This can be used for testing or for implementation in other applications
  // This can be turned on and off if the Admin Section
  if (MODULE_PAYMENT_AUTHORIZENET_AIM_STORE_DATA == 'True'){

    // Create a string from all of the response data for insertion into the database
    while(list($key, $value) = each($response)) {
      $response_list .= ($key +1) . '=' . urlencode(ereg_replace(',', '', $value)) . '&';
    }
13 Jul 2006, 2:57 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Will not confirm the order (Linkpoint)

Yes, if you're not using Zen Cart v1.3.x or newer, you'll have to add it manually as shown.

13 Sep 2006, 3:41 AM
#16
bob6003 avatar

bob6003

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

I'm having the same problem except I'm not using godaddy! After about 5 minutes just sitting on step 3 (confirm order) I got the msg

Error We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization. Please contact the Store Owner for payment alternatives.

I'll check it again tomorrow but I think it's probably an error in setup but I can't figure out what it would be.

If anyone is willing to take a look at my setup I'll send my password to you.

Thanks

27 Sep 2007, 8:51 PM
#17
iheartguts avatar

iheartguts

New Zenner

Join Date:
Aug 2007
Posts:
32
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

Having the same problem, also with Link Point. I called LP and they say everything is kosher on their end, so it's some ZC problem. Any geniuses out there seen this trouble before?

27 Sep 2007, 9:00 PM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Will not confirm the order (Linkpoint)

iheartguts:

Having the same problem, also with Link Point.1. Just to clarify, by "having the same problem", do you mean that your checkout "hangs" after clicking Confirm? Or something else?

  1. Who's your hosting company?

  2. What version of Zen Cart?

  3. What addons/contributions have you installed?

  4. Are you using the built-in Linkpoint API module, or the older one from the downloads area?

You might try reading this FAQ:
https://www.zen-cart.com/tutorials/index.php?article=298

28 Sep 2007, 12:21 AM
#19
kevinw avatar

kevinw

New Zenner

Join Date:
Mar 2007
Posts:
47
Plugin Contributions:
0

Re: Will not confirm the order (Linkpoint)

Hi Team - Dr. Byte...

I am deploying my second zen-cart... this time on GoDaddy -

Enabling LinkPoint - and it hangs... as documented here...
Hoping that the port and cURL problems have somehow been resolved...

Zen Cart v1.3.7/v1.3.7
GoDaddy - virtual shared hosting (to keep costs down)
Using the LinkPoint that is built in...

First deployement went to lunarpages... also using LinkPoint...
It is working fine... just not sure if he bought a dedicated or virtual server.

Thanks for your help - we were hoping that the site would be live as the
whole shop is complete - nice look - But can't take these cards yet... :-)

On this topic, does the paypal gateway work better?...

Thanks
KevinW

28 Sep 2007, 1:23 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Will not confirm the order (Linkpoint)

Linkpoint works great as a payment processing service.
However, one of GoDaddy Hosting's greatest limitations is the friendly cooperation with external resources. They don't work with Linkpoint.

Linkpoint requires that port "1129" be open from your webserver to the linkpoint server. GoDaddy won't allow that unless you're on one of their premium hosting plans.

If you've already got the Linkpoint account established, simply take your website to another hosting company that can handle having port 1129 open (ie: one of the hosting partners on the "hosting" page accessed by the link at the top of this screen), and you'll be able to continue using your Linkpoint account to process payments.