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


Security concerns. Change product prices.

Thread began 10/23/2010 11:11 am by chris382476 | Last modified 10/25/2010 11:57 am by Jason Byrnes | 794 views | 1 replies |


Security concerns. Change product prices.


I have a security concern about when eCart calculates the total payable and passes the value to my payment provider.

I am using the cookies method (although the same problem applies to sessions).

If I add a product to my cart, it creates a cookie and then with a simple cookie editor or text editor, I can change the price of the product from say $1,000 to $50! Then when I go through the checkout, the price is now only $50.

Now I know some people will say that the person doing the order processing should check the price - BUT a customer we are building a site for has 1,000's of products and they automate a lot of their processes and will simply get someone to read the order, pack it and ship it. The person packing it might not even know the value of the items they are packing.

So, is there anyway to get eCart to actually grab the real prices of the added products as the total is sent to the payment provider rather than the price being taken from the cookie?

This is a major security concern for me and quite worrying.

Thanks, I look forward to any suggestions!

Sign in to reply to this post

Jason ByrnesWebAssist

On the confirm page, there is a block of code that will loop through the cart contents to build up the information that will be sent to the gateway, you would need to edit this loop and create a recordset to lookup the product ID based on the cart ID to get the price from the database.

Just to clarify though, this would not be an issue using Sessions.

Using sessions, the information stored in the cart is stored on the server.

The only information about the session that is stored on the client computer is the session ID.

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





Ease of use


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