Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linkpoint problem


Guest

Recommended Posts

Posted

I'm getting the following error when processing a card through LinkPoint:

CC-4019: Total charge amount did not match sum of the subtotal, shipping, tax and vattax amounts.

 

It appears this problem is related to a rounding discrepancy between osC and Linkpoint. I downloaded and installed the latest LinkPoint payment module by Cliff Murphy, which should have resolved this issue, but it didn't.

 

The problem is probably due to having a tax rate of 7.375%.

 

Cliff, are you there brother! We need you. :'(

 

Thanks,

Mike Keeney

  • 2 weeks later...
Posted

Hi, Im also getting a problem I recieving message:

There has been an error processing your credit card, please try again : Could not execute curl

 

Any ideas?

 

Im using contribution http://www.oscommerce.com/community/contributions,1844

 

Server OS: Linux 2.4.28

Database: MySQL 4.1.7-standard

Server Date: 12/28/2004 17:08:37

Datebase Date: 12/28/2004 17:08:37

Server Up Time: 5:08pm up 34 days, 4:04, 0 users, load average: 0.61, 0.76, 0.67

HTTP Server: Apache

PHP Version: 4.3.8 (Zend: 1.3.0)

CURL support enabled

CURL Information libcurl/7.10.7 OpenSSL/0.9.7c zlib/1.1.4

  • 3 months later...
Posted

Has Anyone recieved an answer for this? I am receiving the same error, and Linkpoint is being NO help.

 

Thanks.

 

StacZ

  • 3 weeks later...
Posted
Has Anyone recieved an answer for this?  I am receiving the same error, and Linkpoint is being NO help.

 

Thanks.

 

StacZ

 

This problem is very common, It seems to occur more often than not on servers running a Windows based OS.

 

But, like I say this is a very common issue and the solution is very simple.

 

Go into I think it is Catalog\LinkPoint\lpphp.php

 

Find this group:

 

$ch = curl_init ();

curl_setopt ($ch, CURLOPT_URL,$host);

curl_setopt ($ch, CURLOPT_POST, 1);

curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);

curl_setopt ($ch, CURLOPT_SSLCERT, $key);

curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

$result = curl_exec ($ch);

}

 

Change It To This:

 

$ch = curl_init ();

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt ($ch, CURLOPT_URL,$host);

curl_setopt ($ch, CURLOPT_POST, 1);

curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);

curl_setopt ($ch, CURLOPT_SSLCERT, $key);

curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

$result = curl_exec ($ch);

 

You are adding this line to it:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

 

Usually when you have a script that uses cUrl, if it gives you the same error, go into the offending script and find the above group and add the line just like you did this one, usually that cures the issue.

}

If you choose not to decide you still have made a choice, I will choose a purpose clear, I will choose Free Will. --Neal Peart - Rush

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...