172ph2
Hi folks, can anyone tell me if I'm heading in the right direction or not?
I'm starting to put together part of a site where the customer enters their Ref#, then clicks 'pay' and triggers some php to look in a mysql database for how much they owe, then this value needs to get put into <input type="hidden" name="amount" value="XX.XX"> and sent to the paypal checkout.
I was thinking if I have "payabill.html" with a text entry box, could I use that to call something like "/records.php?custrefnum" and have the .php file forward on the necessary info to paypal...?
I'm starting to put together part of a site where the customer enters their Ref#, then clicks 'pay' and triggers some php to look in a mysql database for how much they owe, then this value needs to get put into <input type="hidden" name="amount" value="XX.XX"> and sent to the paypal checkout.
I was thinking if I have "payabill.html" with a text entry box, could I use that to call something like "/records.php?custrefnum" and have the .php file forward on the necessary info to paypal...?