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

Credit Card Transaction fails

Thread began 5/19/2010 12:38 pm by jaa397769 | Last modified 5/20/2010 10:38 am by Jason Byrnes | 1132 views | 6 replies |

jaa397769

Credit Card Transaction fails

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.

This has been tried with multiple orders different cards and still the same result. Go Daddy installed an SSL certificate and their saying to me now that their is an error in coding. I personally just think their trying to throw the blame on the designer but that does the store no good as we can't process any orders. Can you please tell me why we would be getting this error. The site is using Authorize.net as the merchant, Go Daddy as host with SSL. Powerstore 3. Thanks again.

the store is located at ecomshop/

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the 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 write the request and response info for the gateway and any shipping providers used to help us determine the cause of the failure.

NOTE: The fill request and full response will contain sensitive information like gateway account number or credit card numbers and cvv numbers. This information should be removed before posting here.

Sign in to reply to this post

jaa397769

response from checkout

Full Response: ionResponse>e>nce>>Rating and Servicetext>1.0001TransactionReference>>1de>scription>SuccessesponseStatusDescription>edShipment>03vice>arning>Your invoice may vary from the displayed reference ratesWarning>ht>t>LBSUnitOfMeasurement>eight>1.0BillingWeight>portationCharges>rrencyCode>USDencyCode>lue>7.08lue>Charges>onsCharges>Code>USDde>0.00ServiceOptionsCharges>rencyCode>USDncyCode>ue>7.08ue>uaranteedDaysToDelivery/>eryTime/>ge>arges>USDonetaryValue>7.08onetaryValue>portationCharges>rviceOptionsCharges>USDurrencyCode>yValue>0.00yValue>onsCharges>rges>USDnetaryValue>7.08netaryValue>harges>1.0Weight>t>>LBSnitOfMeasurement>ight>1.0illingWeight>Package>ent>electionResponse>Full Response: 3::1::270::Line item 1 is invalid.::::P::0::fc5f0ec788847a54d175::1 Rutt::23.04::CC::auth_capture::::Benjamin::Pomeroy::::Route 3 Box 227::Ellsinore::MO::63937::US::573-333-3333::::bpomeroy@email.com::Benjamin::Pomeroy::::Route 3 Box 227::Ellsinore::MO::63937::US::1.0100::::7.0800::FALSE::::D698FB6457E99466AAC4CADE7CEBABCB::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::573-333-3333::

Sign in to reply to this post

Jason ByrnesWebAssist

the error being returned is:
Line item 1 is invalid


double check the item names and descriptions that are being added to the cart and make sure there are no special characters. only letters and numbers are accepted by Authorize.net for the item information being passed.

Sign in to reply to this post

jaa397769

no unwanted characters

there are just sku numbers like 0387654
and descriptions are like: Mossy Oak Olive Hat

If this is the case, why is it still failing?

I am assuming you meant characters like $ or * correct?

If so, there are none in the descriptions like this, so I can't understand why I am getting a fail. Actually now it's telling me the store is shut down for maintenance. Really confusing. Please help we are loosing money not having the store operational. Thank you.

Sign in to reply to this post

jaa397769

newest response

Full Request: x_login=7BuPn7cgS67S&x_tran_key=777Pg2NGS2muqc7z&x_version=3.1&x_invoice_num=925b267a2ea6c8c2e62602c511700d22&x_test_request=0&x_method=CC&x_type=AUTH_CAPTURE&x_relay_response=FALSE&x_delim_data=TRUE&x_delim_char=::&x_customer_ip=24.211.172.239&x_amount=18.99&x_description=1 TEXSPORT Mini-Floating Lantern (759)&x_line_item=759<|>TEXSPORT Mini-Floating Lantern<|><p>TEXSPORT Mini-Floating Lantern</p><|>1<|>11.99<|>YES&x_card_num=5268350164856994&x_exp_date=042013&x_card_code=693&x_email_customer=TRUE&x_tax=0.81&x_tax_exempt=FALSE&x_freight=6.19&x_first_name=Joseph&x_last_name=Anik&x_address=Brookmont Drive, &x_city=Raleigh&x_state=NC&x_zip=27613&x_phone=999-444-7246&x_fax=&x_email=j@mk7.com&x_country=US&x_ship_to_first_name=Joseph&x_ship_to_last_name=Anik&x_ship_to_address=Brookmont Drive&x_ship_to_city=Raleigh&x_ship_to_state=NC&x_ship_to_zip=27613&x_ship_to_country=US&x_ship_to_phone=999-444-7246&x_ship_to_fax=&x_recurring_billing=NO
Full Response: 3::1::11::A duplicate transaction has been submitted.::::P::0::925b267a2ea6c8c2e626::1 TEXSPORT Mini-Floating Lantern (759)::18.99::CC::auth_capture::::Joseph::Anik:::: Brookmont Drive, 103::Raleigh::NC::27613::US::999-444-7246::::j@mk7.com::Joseph::Anik:::: Brookmont Drive, ::Raleigh::NC::27613::US::0.8100::::6.1900::FALSE::::51CEE27DBC178B15F9C47890E95C228E::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::999-444-7246::

UPS:
Full Request: <?xml version="1.0"?><AccessRequest xml:lang="en-US"><AccessLicenseNumber>BC</AccessLicenseNumber><UserId>6******</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>West Plains</City><StateProvinceCode>MO</StateProvinceCode><PostalCode>65775</PostalCode><CountryCode>US</CountryCode></Address></Shipper><ShipTo><Address><City>Raleigh</City><StateProvinceCode>NC</StateProvinceCode><PostalCode>27613</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>2.0</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>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>03</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>2.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>6.19</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>6.19</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>6.19</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>6.19</MonetaryValue></TotalCharges><Weight>2.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>2.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

Sign in to reply to this post

Jason ByrnesWebAssist

the line item information being sent is:
x_line_item=759<|>TEXSPORT Mini-Floating Lantern<|><p>TEXSPORT Mini-Floating Lantern</p><|>1<|>11.99<|>YES


the problem is the <p> tags in the description:
<p>TEXSPORT Mini-Floating Lantern</p>


authorize.net will only except letters and numbers in the line item information, any other characters will cause the line item 1 is invalid error. in your case the issue is caused by the "<", ">" and "/" characters

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