Jump to content

How to prevent customer to change price while it is variable ?


moisesbr

Recommended Posts

Hi
 

I am using the folowing sequence to make a sale:

Search table_prices.

 

Show price in order_page.php

Customer inserts name, address, etc,   press a button and go to order_done.php

Search database_prices (by ID)

Show price in order_done.php and insert order data in table_order.

I was considering passing $price as parameter using GET or POST,
but I imagine that somehow someone could modify $price still in order_page.php

 

Is there a solution for this case or do I have to keep this redundancy ?

 

The problem is that price discount has some calculations and I have to remember modify it always in both pages.
 

 

Moises
 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.