suzithepid Posted July 3, 2008 Share Posted July 3, 2008 I have been working diligently to get the LinkPoint API to work. (Actually the YourPay module, but am told they are the same). I have done everything they ask...included the .pem file, opened port 1169, and still it won't work. HELP! This is for a very active national shrine and I am really getting frustrated! I turned on debugging and this is what I get: at curl_process, incoming data: host = secure.linkpt.net port = 1129 keyfile = /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem configfile = 1001187356 ordertype = PREAUTH result = LIVE transactionorigin = ECI ponumber = 1002 taxexempt = Y terminaltype = UNSPECIFIED ip = 24.140.125.69 chargetotal = 5.65 cardnumber = ***REPLACED THIS NUMBER*** cardexpmonth = 04 cardexpyear = 09 cvmindicator = provided cvmvalue = 123 userid = 2 name = My Name company = address1 = 1234 My Address NW address2 = city = MyTown state = OH country = US phone = 123-456-789 addrnum = 1234 My Address NW zip = 12345 sname = My Name saddress1 = 1234 My Address NW saddress2 = scity = MyTown sstate = OH szip = 12345 scountry = US Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/lphp.php on line 172 items = debugging = true sending xml string: <order><orderoptions><ordertype>PREAUTH</ordertype><result>LIVE</result></orderoptions><creditcard><cardnumber>***REPLACED THIS NUMBER***</cardnumber><cardexpmonth>04</cardexpmonth><cardexpyear>09</cardexpyear><cvmvalue>123</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>My Name</name><company></company><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country><userid>2</userid><phone>123-456-789</phone><addrnum>1234 My Address NW</addrnum></billing><shipping><name>My Name</name><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country></shipping><transactiondetails><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>24.140.125.69</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>1001187356</configfile><keyfile>/home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem</keyfile><host>secure.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>5.65</chargetotal></payment> <items> <item> <id>88</id> <description>Set of Four Postcards - Shrine and Grounds</description> <quantity>1</quantity> <price>0.50</price> </item> <item> <id>89</id> <description>St. Dymphna Pocket Token</description> <quantity>2</quantity> <price>1.50</price> </item> <item> <id>33</id> <description>18 inch Stainless Steel Neckchain</description> <quantity>1</quantity> <price>2.00</price> </item> </items> </order> Warning: Variable passed to each() is not an array or object in /home/shrine/public_html/store/includes/modules/payment/linkpoint_api.php on line 341 at curl_process, incoming data: host = secure.linkpt.net port = 1129 keyfile = /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem configfile = 1001187356 ordertype = POSTAUTH result = LIVE transactionorigin = ECI ponumber = 1002 taxexempt = Y terminaltype = UNSPECIFIED ip = 24.140.125.69 chargetotal = 5.65 cardnumber = 5424180279791765 cardexpmonth = 04 cardexpyear = 09 cvmindicator = provided cvmvalue = 123 userid = 2 name = My Name company = address1 = 1234 My Address NW address2 = city = MyTown state = OH country = US phone = 123-456-789 addrnum = 1234 My Address NW zip = 12345 sname = My Name saddress1 = 1234 My Address NW saddress2 = scity = MyTown sstate = OH szip = 12345 scountry = US Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/lphp.php on line 172 items = debugging = true oid = < sending xml string: <order><orderoptions><ordertype>POSTAUTH</ordertype><result>LIVE</result></orderoptions><creditcard><cardnumber>***REPLACED THIS NUMBER***</cardnumber><cardexpmonth>04</cardexpmonth><cardexpyear>09</cardexpyear><cvmvalue>123</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>My Name</name><company></company><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country><userid>2</userid><phone>123-456-789</phone><addrnum>1234 My Address NW</addrnum></billing><shipping><name>My Name</name><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country></shipping><transactiondetails><oid><</oid><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>24.140.125.69</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>1001187356</configfile><keyfile>/home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem</keyfile><host>secure.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>5.65</chargetotal></payment> <items> <item> <id>88</id> <description>Set of Four Postcards - Shrine and Grounds</description> <quantity>1</quantity> <price>0.50</price> </item> <item> <id>89</id> <description>St. Dymphna Pocket Token</description> <quantity>2</quantity> <price>1.50</price> </item> <item> <id>33</id> <description>18 inch Stainless Steel Neckchain</description> <quantity>1</quantity> <price>2.00</price> </item> </items> </order> Quote Link to comment Share on other sites More sharing options...
suzithepid Posted July 7, 2008 Author Share Posted July 7, 2008 I have been working diligently to get the LinkPoint API to work. (Actually the YourPay module, but am told they are the same). I have done everything they ask...included the .pem file, opened port 1169, and still it won't work. HELP! This is for a very active national shrine and I am really getting frustrated! I turned on debugging and this is what I get: at curl_process, incoming data: host = secure.linkpt.net port = 1129 keyfile = /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem configfile = 1001187356 ordertype = PREAUTH result = LIVE transactionorigin = ECI ponumber = 1002 taxexempt = Y terminaltype = UNSPECIFIED ip = 24.140.125.69 chargetotal = 5.65 cardnumber = ***REPLACED THIS NUMBER*** cardexpmonth = 04 cardexpyear = 09 cvmindicator = provided cvmvalue = 123 userid = 2 name = My Name company = address1 = 1234 My Address NW address2 = city = MyTown state = OH country = US phone = 123-456-789 addrnum = 1234 My Address NW zip = 12345 sname = My Name saddress1 = 1234 My Address NW saddress2 = scity = MyTown sstate = OH szip = 12345 scountry = US Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/lphp.php on line 172 items = debugging = true sending xml string: <order><orderoptions><ordertype>PREAUTH</ordertype><result>LIVE</result></orderoptions><creditcard><cardnumber>***REPLACED THIS NUMBER***</cardnumber><cardexpmonth>04</cardexpmonth><cardexpyear>09</cardexpyear><cvmvalue>123</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>My Name</name><company></company><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country><userid>2</userid><phone>123-456-789</phone><addrnum>1234 My Address NW</addrnum></billing><shipping><name>My Name</name><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country></shipping><transactiondetails><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>24.140.125.69</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>1001187356</configfile><keyfile>/home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem</keyfile><host>secure.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>5.65</chargetotal></payment> <items> <item> <id>88</id> <description>Set of Four Postcards - Shrine and Grounds</description> <quantity>1</quantity> <price>0.50</price> </item> <item> <id>89</id> <description>St. Dymphna Pocket Token</description> <quantity>2</quantity> <price>1.50</price> </item> <item> <id>33</id> <description>18 inch Stainless Steel Neckchain</description> <quantity>1</quantity> <price>2.00</price> </item> </items> </order> Warning: Variable passed to each() is not an array or object in /home/shrine/public_html/store/includes/modules/payment/linkpoint_api.php on line 341 at curl_process, incoming data: host = secure.linkpt.net port = 1129 keyfile = /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem configfile = 1001187356 ordertype = POSTAUTH result = LIVE transactionorigin = ECI ponumber = 1002 taxexempt = Y terminaltype = UNSPECIFIED ip = 24.140.125.69 chargetotal = 5.65 cardnumber = 5424180279791765 cardexpmonth = 04 cardexpyear = 09 cvmindicator = provided cvmvalue = 123 userid = 2 name = My Name company = address1 = 1234 My Address NW address2 = city = MyTown state = OH country = US phone = 123-456-789 addrnum = 1234 My Address NW zip = 12345 sname = My Name saddress1 = 1234 My Address NW saddress2 = scity = MyTown sstate = OH szip = 12345 scountry = US Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/shrine/public_html/store/includes/modules/payment/linkpoint_api/lphp.php on line 172 items = debugging = true oid = < sending xml string: <order><orderoptions><ordertype>POSTAUTH</ordertype><result>LIVE</result></orderoptions><creditcard><cardnumber>***REPLACED THIS NUMBER***</cardnumber><cardexpmonth>04</cardexpmonth><cardexpyear>09</cardexpyear><cvmvalue>123</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>My Name</name><company></company><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country><userid>2</userid><phone>123-456-789</phone><addrnum>1234 My Address NW</addrnum></billing><shipping><name>My Name</name><address1>1234 My Address NW</address1><address2></address2><city>MyTown</city><state>OH</state><zip>12345</zip><country>US</country></shipping><transactiondetails><oid><</oid><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>24.140.125.69</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>1001187356</configfile><keyfile>/home/shrine/public_html/store/includes/modules/payment/linkpoint_api/1001187356.pem</keyfile><host>secure.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>5.65</chargetotal></payment> <items> <item> <id>88</id> <description>Set of Four Postcards - Shrine and Grounds</description> <quantity>1</quantity> <price>0.50</price> </item> <item> <id>89</id> <description>St. Dymphna Pocket Token</description> <quantity>2</quantity> <price>1.50</price> </item> <item> <id>33</id> <description>18 inch Stainless Steel Neckchain</description> <quantity>1</quantity> <price>2.00</price> </item> </items> </order> Ok, the problem with this one was that the .pem file was not in the correct directory. (DOH!) Once there, the api worked. ( /store/includes/modules/payment/linkpoint_api/1001187356.pem) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.