WorldCom
01-29-2008, 11:25 AM
Hi all,
Small problem with a payment script for Paypal.
I'm trying to write it bypassing the settings inside your Palpal account for the IPN destination.
<input type="hidden" name="notify_url" value="http://mysite.com/pay_success.php">This does seem to work as it adds a row to the database, but the variables are not being passed through.
$total_cost = $_POST['amount'];That should retrieve the POST amount from Paypal but it seems not to get through. I even set the return page to force POST instead of GET, even though this isn't the return page ..... only the processing page.
<input type="hidden" name="rm" value="2">Anyone have any snipplets of something they have written that worked??
Thanks for any help.
Small problem with a payment script for Paypal.
I'm trying to write it bypassing the settings inside your Palpal account for the IPN destination.
<input type="hidden" name="notify_url" value="http://mysite.com/pay_success.php">This does seem to work as it adds a row to the database, but the variables are not being passed through.
$total_cost = $_POST['amount'];That should retrieve the POST amount from Paypal but it seems not to get through. I even set the return page to force POST instead of GET, even though this isn't the return page ..... only the processing page.
<input type="hidden" name="rm" value="2">Anyone have any snipplets of something they have written that worked??
Thanks for any help.
