Problem:
The Buy Now button is set to a specific amount, you want the user to be able to change the amount to be paid .
Solution:
The code below will allow the user the enter a specific amount, click "Buy Now" button and pay for the cost.
To create one manually, using the regular buy now button and
allowing the option to the user to enter the amount.
-----------------------------------------------------------------------------
1- Log into your AlertPay account
2- Click on Business Tools
3- Click on Generate a Buy Now button in the Advanced Integration section
Enter all the required fields. For the amount you may enter any amount for now, for instance, 2.00.
In the button code that is generated after, please change the following line
<input type='hidden' name='ap_amount' value='2.00'>
with
<input type='text' name='ap_amount' value=''>
Now when the client goes to pay, they will need to enter the amount they wish to pay before they click the buy now button.
-----------------------------------------------------------------------------