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

Authorize.net not processing URGENT

Thread began 12/07/2009 3:06 pm by denise234045 | Last modified 12/10/2009 12:49 pm by Jason Byrnes | 1013 views | 5 replies |

denise234045

Authorize.net not processing URGENT

When testing everything worked fine, but now that I've taken it out of test mode it will not process cards. The cards I'm using are valid, authorize.net is out of test mode, attached is a pic of my globals.
This is the message I'm getting:
"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'm not sure what I should be doing differently??

Sign in to reply to this post

Jason ByrnesWebAssist

to determine why the Transaction is not going through successfully, we will need to know the response from the authorize.net server.

Add the following code to the checkout failure page after the <body> tag to display the response:

php:
<?php
if(!session_id()) session_start();
echo(
"Full Response: ".$_SESSION["WAAuthNet"]);
?>




post back the response after testing a transaction, this will give us an idea of where to look for the cause of the problem.

Sign in to reply to this post

denise234045

Thanks Jason,

I didn't set-up Authorize - the client did and I believe after speaking with them that he set it up incorrectly. So its 'out of my hands' - aargh!

But I would like to add the option of using Paypal - because it may take a little while to rectify the problem (He didn't sign up for a merchant account, thinking his Intuit account would work...)

I found this post from you:

"You could always create two sets of checkout pages, one for authorize.net the other for paypal. then on the cart page, and a Checkout With Authorize.net button and a checkout with papal button."

Could you elaborate just a little? What settings would I use in the globals file? Do I need to change something in ecart so that it will send the info to both places??

Thank you!!

Sign in to reply to this post

Jason ByrnesWebAssist

PowerStore is not configured to have two sets of checkout pages. You can either set the global file to use the PayPal gateway, or the Authorize.Net gateway.




If you have eCart, you can run the checkout wizard to create PayPal checkout pages. On the last step, make sure to give them unique names. On the cart page, you could set a Checkout with PayPal and Checkout with Authorize.net link.

The Checkout with PayPal would link to the new checkout page you created for paypal, the Checkout with Authorize.net link would link top the Powerstore checkout pages. I dont recommend this if you are using the inventory control features of power store since the new checkout pages will not have the ability to change the inventory on checkout.

Sign in to reply to this post

denise234045

THANK YOU - follow up Question

Thanks so much for your help.... I'm feeling like quite the nincompoop right now. What would have been a fairly easy site to put up has been anything but - thanks mostly to my obsession to customize everything. I should have just done something more straightforward as a first full fledged ecommerce site. But I'm almost done!!

I created the paypal checkout pages.... but of course have done something wrong. From cart.php on submission I'm taken to the Paypal checkout page.... I was going to ask you how to add a button to cart.php, I was assuming that I needed something more than a link to pass the values. There was already a button of course that went to the authorize.net checkout page - now instead it goes to the checkout page.

So - what do I need to do on cart.php so that I can send a user to PP or Authorize.net checkout pages, instead of one or the other.

So sorry to be a constant presence here. I really appreciate the help.

Thanks again.

Sign in to reply to this post

Jason ByrnesWebAssist

It can be a link or a button to the paypal checkout page, there is no information being passed, so it really doesn't matter.


The existing checkout button that goes to the authorize.net pages triggers a server behavior on the cart page:

php:
<?php
//WA eCart Redirect Check Out
if (isset($_POST["WA_Store_Cart_Checkout"]) || isset($_POST["WA_Store_Cart_Checkout_x"]))     {
  
$Redirect_redirStr="checkout.php";
  if (
$Redirect_redirStr != "")     {
    if (isset(
$_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "")     {
      if (
strpos($Redirect_redirStr"?") < 0)     {
        
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
      }
      else     {
        
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
      }
    }

    
$WA_Store_Cart->redirStr $Redirect_redirStr;
  }
  
$WA_Store_Cart->cartAction "Checkout";
}
?>




you could crate another checkout button with a different name to go to the paypal pages:

php:
<input type="submit" name="WA_Store_Cart_Checkout_PayPal" id="WA_Store_Cart_Checkout_PayPal" value="Checkout With PayPal" alt="CheckoutWith PayPal" />




then make a copy of the checkout server behavior that triggers on the new button and directs to the paypal checkout page:

php:
<?php
//WA eCart Redirect Check Out
if (isset($_POST["WA_Store_Cart_Checkout_PayPal"]) || isset($_POST["WA_Store_Cart_Checkout_PayPal_x"]))     {
  
$Redirect_redirStr="checkout_paypal.php";
  if (
$Redirect_redirStr != "")     {
    if (isset(
$_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "")     {
      if (
strpos($Redirect_redirStr"?") < 0)     {
        
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
      }
      else     {
        
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
      }
    }

    
$WA_Store_Cart->redirStr $Redirect_redirStr;
  }
  
$WA_Store_Cart->cartAction "Checkout";
}
?>
Sign in to reply to this post

president310264

eCart not posting to Authorize.net

This post has been deleted.

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