I have the user to fill in the amount, however that gives problems as they cant fill in the right side before filling in the amount, and some does not see paypals error.
So I want to prefill the amount in with the value in a var.
It does not work, and I read that it does not work on hosted buttons, so this
<input type="hidden" name="cmd" value="_s-xclick">
needs to be changed to
<input type="hidden" name="cmd" value="_xclick">
The first encrypts the data sent by the form.
I sort of prefer the hosted button as that is safer and the button is encrypted.
Is there anyway to pass the value of amount dynamically using there hosted buttons?
I had a look at encrypting the button myself, but looks to complicated to me.