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

Transaction Fails? - Please Help

Thread began 7/08/2015 3:32 pm by hbibizadeh396670 | Last modified 7/09/2015 2:03 pm by Ray Borduin | 444 views | 6 replies |

hbibizadeh396670

Transaction Fails? - Please Help

I have created a eCommerce website... I added shipping so i needed to re make the checkout and now it keeps failing.

I don't get any errors

Sign in to reply to this post

Ray BorduinWebAssist

It is probably an error in the shipping. The transaction will fail if the shipping fails. Perhaps a problem with the shipping api credentials.

To debug create a new blank page with just this code on it:

php:
<?php

@session_start();
var_dump($_SESSION);
?>



Then go through the process until you see the failure page. Once you see the failure, manually browse to the url of the new page you created and it will have debug information that will help you identify the source of the failure.

If you have trouble deciphering it, you can post that result back here and I can comment. (view source on the page before copying and pasting it here because it will be easier for me to read, also make sure to post it to the private section because it could contain confidential API credentials)

Sign in to reply to this post

hbibizadeh396670

Thank you for your message and ideas..

I have pasted the code into the failure page but I cant figure it out... and ideas would be much appreciated

Thanks in advance

Sign in to reply to this post

Ray BorduinWebAssist

The key error is: The totals of the cart item amounts do not match order amounts.

Do you have paid for options or some other price modifier that might not be accounted for automatically? This usually means you have altered the default cart columns so that the total of the prices of the items in the cart don't actually add up to the cart total.

Sign in to reply to this post

hbibizadeh396670

Thank you for your help.

Yes, I added the Shipping Col then in the calculations I changed the Total Price -> [Price] + [Shipping] * [Quantity]

Then in Shipping (Within the eCart Object) I created the following

Shipping -> Total Number of Items > 0
Total Number of Unique Items in the Cart > 0
Based on Multiple of column subtotal
shipping times 0 plus 0

Any Ideas?

Thanks again

Sign in to reply to this post

hbibizadeh396670

This post has been deleted.

hbibizadeh396670

Thank you... I made it work using your advice..

:)

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