Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linkpoint / YourPay module not wokring


dbotkin

Recommended Posts

I installed the Linkpoint payment module, got my .pem file in the proper place, and configured it with the information I received from YourPay. Everything looks normal, up to a point. When I go to checkout I get the SSL page, enter credit card information, and hit the "Confirm Order" button. That's as far as I get.

 

After a couple of minutes, I get prompted to save the file "checkout_process.php", which turns out to be a blank file. The screen doesn't change, it remains on checkout_confirmation.php with no indication of any error or failure of any kind.

 

I have tried all of the following:

 

1.) Used a test CC# (4111111111111111) and a real one.

2.) Checked "Live" and "Test" in the module setup.

3.) Tried with and without debugging.

4.) Tried both "Preauth" and "Sale" authorization types.

5.) Tried order status other than "default"

 

I get two identical copies of each of two debug emails each time; one duplicate pair of CC DEBUG OUTBOUND and one duplicate pair of CC DEBUG INBOUND. The only differences are the time stamps, which are about 1 minute apart. The OUTBOUND emails read as follows:

 

host = secure.linkpt.net
port = 1129
keyfile = (the path & filename for my PEM file is here)
configfile = (my 10-digit account# shows here, but I don't know what it's referring to)
ordertype = PREAUTH
result = GOOD
transactionorigin = ECI
ponumber = 1002
taxexempt = Y
terminaltype = UNSPECIFIED
ip = (my IP address appears here)
chargetotal = 2.72
cardnumber = REMOVED
cardexpmonth = REMOVED
cardexpyear = REMOVED
cvmindicator = provided
cvmvalue = REMOVED
userid = 13
name = Dale Botkin
company = N0XAS
address1 = (my address is here)
address2 = 
city = Omaha
state = NE
country = US
phone = (My phone number is here)
addrnum = (My address again)
zip = 68130
sname = Dale Botkin
saddress1 = (My address again)
saddress2 = 
scity = Omaha
sstate = NE
szip = 68130
scountry = US
items = Array
debugging = true


Items
--------

id = 41
description = CR2032 Lithium Battery
quantity = 1
price = 0.60

The INBOUND email is, in every case, empty.

 

Anyone have any success using this module??? So far I am finding a lot of posts with various problems, but no indications of this particular issue or a fix for it.

Link to comment
Share on other sites

  • 1 month later...

I am having this same problem. No idea how to fix it.

 

I think its related to the port problem that I have read about. The server I am setting this up on is hosted by GoDaddy which has port 1129 closed, and as I understand it, needs to be open for this to work correctly.

 

Anyone have any additional info?

 

-Adam

 

I installed the Linkpoint payment module, got my .pem file in the proper place, and configured it with the information I received from YourPay. Everything looks normal, up to a point. When I go to checkout I get the SSL page, enter credit card information, and hit the "Confirm Order" button. That's as far as I get.

 

After a couple of minutes, I get prompted to save the file "checkout_process.php", which turns out to be a blank file. The screen doesn't change, it remains on checkout_confirmation.php with no indication of any error or failure of any kind.

 

I have tried all of the following:

 

1.) Used a test CC# (4111111111111111) and a real one.

2.) Checked "Live" and "Test" in the module setup.

3.) Tried with and without debugging.

4.) Tried both "Preauth" and "Sale" authorization types.

5.) Tried order status other than "default"

 

I get two identical copies of each of two debug emails each time; one duplicate pair of CC DEBUG OUTBOUND and one duplicate pair of CC DEBUG INBOUND. The only differences are the time stamps, which are about 1 minute apart. The OUTBOUND emails read as follows:

 

host = secure.linkpt.net
port = 1129
keyfile = (the path & filename for my PEM file is here)
configfile = (my 10-digit account# shows here, but I don't know what it's referring to)
ordertype = PREAUTH
result = GOOD
transactionorigin = ECI
ponumber = 1002
taxexempt = Y
terminaltype = UNSPECIFIED
ip = (my IP address appears here)
chargetotal = 2.72
cardnumber = REMOVED
cardexpmonth = REMOVED
cardexpyear = REMOVED
cvmindicator = provided
cvmvalue = REMOVED
userid = 13
name = Dale Botkin
company = N0XAS
address1 = (my address is here)
address2 = 
city = Omaha
state = NE
country = US
phone = (My phone number is here)
addrnum = (My address again)
zip = 68130
sname = Dale Botkin
saddress1 = (My address again)
saddress2 = 
scity = Omaha
sstate = NE
szip = 68130
scountry = US
items = Array
debugging = true


Items
--------

id = 41
description = CR2032 Lithium Battery
quantity = 1
price = 0.60

The INBOUND email is, in every case, empty.

 

Anyone have any success using this module??? So far I am finding a lot of posts with various problems, but no indications of this particular issue or a fix for it.

Link to comment
Share on other sites

  • 2 weeks later...

I'm also having similar problems, although I get information now after rtfm and installing the PEM file properly :) Now I'm getting a response of:

 

<r_csp></r_csp><r_time></r_time><r_ref></r_ref><r_error>SGS-020009: An order ID is required for this transaction type.</r_error><r_ordernum></r_ordernum><r_message></r_message><r_code></r_code><r_tdate></r_tdate><r_score></r_score><r_authresponse></r_authresponse><r_approved></r_approved><r_avs></r_avs>

 

and my order fails with An order ID is required.

 

Any suggestions? I see in the code where the orderID is rem'ed out, and that it is automatically generated by linkpoint.

Link to comment
Share on other sites

First, I'm a total n00b and second, I'm having a similar problem with YourPay. Like Botkin I've tried all kinds of variations and can't get past confirm order screen.

 

I'm getting this error:

 

Fatal error: Call to undefined function curl_init() in /home/ontech/public_html/practishim/includes/modules/payment/linkpoint_api/lphp.php on line 285

 

My lphp.php pages line 285 reads

$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_SSL_VERIFYHOST, 0);

# curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);

curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

 

if ($this->debugging)

curl_setopt ($ch, CURLOPT_VERBOSE, 1);

 

# use curl to send the xml SSL string

Link to comment
Share on other sites

  • 2 weeks later...
  • 6 months later...

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...