Jump to content
Sign in to follow this  
dbotkin

Linkpoint / YourPay module not wokring

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I had the component/module working perfectly on our site. Then I switched servers to godaddy and now it doesn't work. Has anyone figured a workaround for this?

 

Thank you,

Kim

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×