close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PowerStore 3 - Error message when attempting to checkout

Thread began 10/08/2010 11:05 am by kgarrett369013 | Last modified 10/13/2010 3:58 pm by Jason Byrnes | 956 views | 8 replies |

kgarrett369013

PowerStore 3 - Error message when attempting to checkout

When checking out on Powerstore site I setup we an error message that says our credit card information or billing address information is invalid. Is this there an area of the settings that I am missing?

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the failure p[age:

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>";  
 } 
?>



this will write the full request and full response from the gateway to the screen to help us see what is wrong.

NOTE: The full request and full response will contain private information that should be removed before posting here.

Sign in to reply to this post

kgarrett369013

which part of the failure page?

sorry, I'm completely new to php

Sign in to reply to this post

Jason ByrnesWebAssist

add that code just after the <body> tag.

Sign in to reply to this post

kgarrett369013

do i need to attempt to checkout in order to see the failure page and get the info i need?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, after adding the code, you need to run through the checkout process again, this time, the code you added will write the full request and full response from the gateway to the page so we can use this for troubleshooting.

NOTE: The full request and full response will contain private information that should be removed before posting here.

Sign in to reply to this post

kgarrett369013

Here is what I received (*=info I removed)


Auth Net:
Full Request: n/a
Full Response: n/a

UPS:
Full Request: <?xml version="1.0"?><AccessRequest xml:lang="en-US"><AccessLicenseNumber></AccessLicenseNumber><UserId>********</UserId><Password>********</Password></AccessRequest><?xml version="1.0"?><RatingServiceSelectionRequest xml:lang="en-US"><Request><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><RequestAction>Rate</RequestAction><RequestOption>rate</RequestOption></Request><PickupType><Code>01</Code></PickupType><Shipment><Shipper><ShipperNumber>******</ShipperNumber><Address><City>*******</City><StateProvinceCode>**</StateProvinceCode><PostalCode>*****</PostalCode><CountryCode>**</CountryCode></Address></Shipper><ShipTo><Address><City>evansville</City><StateProvinceCode>**</StateProvinceCode><PostalCode>*****</PostalCode><CountryCode>US</CountryCode></Address></ShipTo><Service><Code>03</Code></Service><Package><PackagingType><Code>02</Code></PackagingType><Dimensions><Length>12</Length><Width>12</Width><Height>12</Height><UnitOfMeasurement><Code>IN</Code></UnitOfMeasurement></Dimensions><PackageWeight><Weight>0.3</Weight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement></PackageWeight></Package></Shipment></RatingServiceSelectionRequest>
Full Response: <?xml version="1.0"?> <RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10002</ErrorCode><ErrorDescription>The XML document is well formed but the document is not valid</ErrorDescription><ErrorLocation><ErrorLocationElementName>AccessRequest/AccessLicenseNumber</ErrorLocationElementName></ErrorLocation></Error></Response></RatingServiceSelectionResponse>

Sign in to reply to this post

kgarrett369013

Any idea on the what the problem might be and what I need to do to fix it?

Sign in to reply to this post

Jason ByrnesWebAssist

the error is saying that the access number is not present:

<AccessLicenseNumber></AccessLicenseNumber>


in the PS3 admin go to the shipping settings and make sure to enter a valid access key.

Sign in to reply to this post

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