close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Linkpoint

Thread began 12/23/2009 11:50 am by cchesnet148148 | Last modified 1/04/2010 8:17 am by cchesnet148148 | 1518 views | 12 replies |

cchesnet148148

Linkpoint

I set up the checkout wizard to use Linkpoint API, entered our store number.

I am using the test cc #'s from linkpint 4111111111111111

it just goes to the failure page, i posted the binding for local check out response and it is black but Full request is there.

what do i need to do to make sure the data is being sent.

Sign in to reply to this post

Jimmy Wu

What is the full request that is being sent to LinkPoint?

Sign in to reply to this post

cchesnet148148

1001114983staging.linkpt.net1129SALELIVE00772.2772.20 4111111111111111121260087.6858NUNSPECIFIED2f0d92ed39a29dfa299d6a7e82c067d8S-E13610-08-A11/2" Silco Sleeve Knit/11.43500S-E13610-08-A11/2" Silco Sleeve Knit/11.43100

Sign in to reply to this post

Ray BorduinWebAssist

The response may not be blank... it may just be XML, which won't show unless you view the source code.

Try looking there and see if that sheds some light on the problem.

Sign in to reply to this post

cchesnet148148

source code - (using chrome)

<p class="eC_OrderInfo"><order><merchantinfo><configfile>1001114983</configfile><keyfile></keyfile><host>staging.linkpt.net</host><port>1129</port></merchantinfo><orderoptions><ordertype>SALE</ordertype><result>LIVE</result></orderoptions><payment><tax>0</tax><shipping>0</shipping><subtotal>772.2</subtotal><chargetotal>772.20</chargetotal></payment><billing><name> </name><address1></address1><address2></address2><city></city><state></state><zip></zip><country></country><phone></phone><fax></fax><email></email></billing><creditcard><cardnumber>4111111111111111</cardnumber><cardexpmonth>12</cardexpmonth><cardexpyear>12</cardexpyear><cvmvalue></cvmvalue></creditcard><shipping><items>600</items><weight>87.6</weight><total>858</total></shipping><transactiondetails><taxexempt>N</taxexempt><terminaltype>UNSPECIFIED</terminaltype><oid>2f0d92ed39a29dfa299d6a7e82c067d8</oid></transactiondetails><items><item><id>S-E13610-08-A1</id><description>1/2" Silco Sleeve Knit/1</description><price>1.43</price><quantity>500</quantity></item><item><id>S-E13610-08-A1</id><description>1/2" Silco Sleeve Knit/1</description><price>1.43</price><quantity>100</quantity></item></items></order></p>
<p class="eC_OrderInfo">-----------------------------</p>
<p class="eC_OrderInfo"></p>
<p class="eC_OrderInfo">--------------------------------</p>
<p class="eC_OrderInfo"></p>

the end should show the response between the lines...

Sign in to reply to this post

Ray BorduinWebAssist

I opened up a support incident to help you look into this further. I see the keyfile setting is blank, that might be part of it, but you should be getting some sort of error in a response no matter what, so I think we should have someone help you debug it.

Sign in to reply to this post

cchesnet148148

ok, i uploaded the files that were requested... is support working this week?

Thanks

Sign in to reply to this post

Jimmy Wu

Jason is out for the week and he will be taking a look at your issue. Sorry for the delay.

Sign in to reply to this post

cchesnet148148

ok, think i found the problem...

on the confirm.php page there is an if statment that triggers the linkpoint api:

if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {

... lots of lp code ...

$WAGatewayResponse = LinkPointAPI_Post($LinkPointAPI_required,$LinkPointAPI_itemized,$LinkPointAPI_optional);

echo $WAGatewayResponse;
if ($WAGatewayResponse) {
$FS2010->redirStr = "checkout_success.php";
}
else if ("checkout_failure.php" != "") {
header("Location: ". "checkout_failure.php");
exit();
}
}

the page that keeps show on my end is: checkout_failure.php

how can i test to see why it keeps going to the else if?

Sign in to reply to this post

Jimmy Wu

you can make use of the die statement. Put something like die("In else if"); in the else if and a similar die statement like die("In if"); in the if section. The die statement will print out to the page the string that you specify and stop execution of the rest of the page.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...