Feb 5th, 2010, 7:17 AM
I've been gone from these boards from awhile...but now I'm back...with a question, no less!
I have my multi-page form sending to Paypal perfectly...everything is saving to the database, etc. But I want to do something in the ipn file with some of the fields collected from the form. I want to do it in this file because that's the only way to be sure that the payment was paid (or at least that the user clicked 'pay' in the Paypal site).
I've tried retrieving the fields a number of ways including adding the line $fields = ft_api_init_form_page(); to the top of the ipn.php file and referencing the fields like so: $fields['fieldname'] and @$fields['fieldname']. Neither way works...
I've also tried getting them through the $_POST variable and this doesn't want to give me anything either. What am I doing wrong here? I'm sure there must be a way to get the values here since it makes it all the way back to the success page where I can grab the values no problem via @$fields.
Any suggestions? Thanks!
I have my multi-page form sending to Paypal perfectly...everything is saving to the database, etc. But I want to do something in the ipn file with some of the fields collected from the form. I want to do it in this file because that's the only way to be sure that the payment was paid (or at least that the user clicked 'pay' in the Paypal site).
I've tried retrieving the fields a number of ways including adding the line $fields = ft_api_init_form_page(); to the top of the ipn.php file and referencing the fields like so: $fields['fieldname'] and @$fields['fieldname']. Neither way works...
I've also tried getting them through the $_POST variable and this doesn't want to give me anything either. What am I doing wrong here? I'm sure there must be a way to get the values here since it makes it all the way back to the success page where I can grab the values no problem via @$fields.
Any suggestions? Thanks!