Possible client side security rtisk when claculating payment totals?
Last Post 05-30-2011 03:15 AM by Matt Bunce. 0 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
Matt BunceUser is Offline
skipping stones
skipping stones
Posts:12
Avatar

--
05-30-2011 03:15 AM
    I have been looking at the various tutorials which focus on how to use PayPal integration (Hint - some of the links don't work, so I had to work out what the URL is meant to be).

    It seems that when calculating the total amount payable for a set of products and calculating a discount (based on a promo code) the calculation is done client side, with the total amount to be billed stored in a hidden field.

    Doesn't this present a risk of someone ordering many products, but overriding the total, by using firebug or something similar, to update the hidden value to "$1" and then proceeding to PayPal? The PayPal transaction would complete successfully, leading to the payment confirmed events to be processed even if the amount paid has been hacked.

    Have I misunderstood how the client side calculation is being used, or is there a way to make this work securely?

    Thanks

    Matt


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi