close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Payments Pro and Sandbox testing

Thread began 4/26/2010 1:43 pm by ben_bradley348417 | Last modified 8/27/2014 1:24 pm by ben_bradley348417 | 3571 views | 22 replies

Eric Mittman

If you are test mode turned off and are getting to the failure page with the sandbox or live mode then you will need to add in the debug info to your failure pages to see what the problem might be.

On you pp_checkout_failure and the checkout_failure pages add this into the source on the pages, it will print out all of the api interactions that are occurring. This should let you know what the error is, please post back with what you discover.

php:
<?php 

if(!session_id()) session_start(); 
if(
$WAGLOBAL_Gateway == ) { 
echo 
"<p>Direct Pay: <br />"
echo 
"Full Request: ".(isset($_SESSION["PP_DirectPayment_postedValues"])?htmlentities($_SESSION["PP_DirectPayment_postedValues"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["PP_DirectPayment"])?htmlentities($_SESSION["PP_DirectPayment"]):"n/a")."<br /></p>"
echo 
"<p>Express Authorize <br />"
echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br />"
echo 
"<p>Express Process: <br />"
echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"


if(
$WAGLOBAL_Gateway == 2) { 
echo 
"<p>Auth Net: <br />"
echo 
"Full Request: ".(isset($_SESSION['WAAuthNet_postedValues'])?htmlentities($_SESSION['WAAuthNet_postedValues']):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION['WAAuthNet'])?htmlentities($_SESSION['WAAuthNet']):"n/a")."<br /></p>"


if(
$WAGLOBAL_Gateway == ) { 
echo 
"<p>Express Authorize: <br />"
echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br /></p>"
echo 
"<p>Express Process: <br />"
echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"


if(
$WAGLOBAL_Shipping == 1) { 
echo 
"<p>UPS: <br />"
echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_UPS_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_UPS_FullRequest"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_UPS_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_UPS_FullResponse"]):"n/a")."<br /></p>"

if(
$WAGLOBAL_Shipping == 2) { 
echo 
"<p>FedEX: <br />"
echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_FedEx_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_FedEx_FullRequest"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_FedEx_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_FedEx_FullResponse"]):"n/a")."<br /></p>"

if(
$WAGLOBAL_Shipping == 3) { 
echo 
"<p>USPS: <br />"
echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_USPS_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_USPS_FullRequest"]):"n/a")."<br />"
echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_USPS_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_USPS_FullResponse"]):"n/a")."<br /></p>"

?>



For signing up to UPS I found this info from Joe Lowery on the Adobe Developer Connection:

  GETTING UPS ACCESS

To start, visit the My UPS sign up page at registration. Review the service agreement terms and conditions; if you wish to proceed, click Accept at the bottom of the page. On the next page, fill in basic contact information such as name, street address, telephone number, and e-mail address; developers should enter their own information rather than that of a client. The final step is to establish a username and password.

Once you have a My UPS account, register with them as an end-user of their online tools. Log onto your My UPS account and then visit toolintro?loc=en_US&WT.svl=SubNav; and select the Get Tools link (located on both the left and right side of the page). When the Get Tools page opens, choose the link to the UPS Rates & Service Selection in the Standard Tools section. You may need to provide the additional information requested before you can proceed. After you've registered with their online tools division, you'll receive an e-mail with a developer's key. The developer's key has two purposes: It gives you access to all the UPS documentation for implementing their online tools, and it is needed to retrieve a UPS Access Key, which, in turn, is required to actually communicate with the UPS web services.

UPS offers two varieties of services, one HTML-based and the other rooted in XML. The XML version is far more robust and allows connection to all of UPS' services worldwide whereas the HTML version is limited to two services (UPS Tracking and UPS Rates & Service Selection) and only between the United States and Puerto Rico  

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...