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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Purchases fail

Thread began 7/23/2010 5:14 pm by 12.bernie410015 | Last modified 11/03/2010 1:00 pm by Ray Borduin | 987 views | 9 replies |

12.bernie410015

Purchases fail

I am using powerstore 3. This is a new install. I got a test set of information from authorize.net (credit card #s etc.) When I try to purchase a product in my store I get a message that purchase failed. I know I am using the correct authorize.net information.

Power store asks me for the CVC code which authorize.net did not give me. Could this be the problem?

this is on a Linux PHP5 system

John

Sign in to reply to this post

Jason ByrnesWebAssist

Add the following code to your checkout failure page:

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 wrote the full request and full response to the page to help us see what the issue is.

NOTE: The full request and full response will contain sensitive information, any sensitive information should be removed before posting here.

Sign in to reply to this post

12.bernie410015

Thanks

Thank you for the diagnostic code it worked great. I am working with Authorize.net to fix some issues with my account.

Thanks

John

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

12.bernie410015

Follow up question

I have upgraded to PS 4.0. getting error message as before. Can I use the same diagnostic code in my checkout failure page?

Sign in to reply to this post

Ray BorduinWebAssist

Yes. The diagnostic code has not changed.

Sign in to reply to this post

12.bernie410015

Transactions failing

Gentlemen,

When I post a transaction in PS test mode it works fine. When I take PS out of test mode and Authorize.net in testmode it fails with a message
"We're sorry

Your transaction could not be completed. Either your credit card information or billing address has problems and cannot be processed

Please return to checkout and try again."

I have the diagnostic code in place that you provided and the results are attached.

Can you tell me what is wrong.

As you can see I used the Authorize.net dummy CC numbers etc but I get the same results if I take Authorize.net out of test mode and attempt to run a live transaction.

I have tested from Authorize.net to our merchant gateway and that does work. It appears to be something between PS and Authorize.net.

The Authorize.net folks don't even see the transaction. The did tell me that the URL that PS should post to is transact.dll if that helps at all.

your help is appreciated.

Attached Files
Auth Net in test mode Oct 27.doc.zip
Sign in to reply to this post

Ray BorduinWebAssist

We looked into this issue in a connect meeting. The security key was incorrect, and there was an "&" in the product description, which Authorize.net was rejecting.

Sign in to reply to this post

12.bernie410015

Correction

Actually the security key was fine. We did generate a new one while on the call just to be safe. The ultimate fix was a bug in the code. The "&" was not being handled.

Do I still get billed for bugs?

By the way the gentleman that worked with me was great.

Thanks

John

Sign in to reply to this post

Ray BorduinWebAssist

Please reply to the incident in question with a request for a refund and we can investigate it further. Issues that are a direct result of a bug should not be charged.

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