Dynamic PayPal button generation - isn't it very insecure?

前端 未结 6 534
情话喂你
情话喂你 2020-11-29 21:06

I am just wondering here.. Aren\'t the PayPal buttons that are dynamically created, very unsecure, and easily \"hackable\"?

Like so:

6条回答
  •  感动是毒
    2020-11-29 21:40

    You are correct. can be easily manipulated on the client side. In the example you gave, this might be a form where the client is actually supposed to be able to set the amount, eg. a PayPal donate button. Otherwise there would need to be server side checks after this form submission to ensure that there is no funny business going on.

提交回复
热议问题