Jul 23rd, 2011, 11:13 PM
Yeah - very possibly! But let's check it out just to make sure. Right before the ft_api_process_form line, add the following, then reload the page.
I really want to see what info is being passed to the function... From the original error, it sounds like that var simply doesn't have the right content.
Oh, daft of me: if you're testing all this with the function being called via ipn by PayPal, email it to yourself instead (since you won't see the page being loaded);
Let me know how it goes.
- Ben
PHP Code:
print_r($params);
exit;
ft_api_process_form($params);
I really want to see what info is being passed to the function... From the original error, it sounds like that var simply doesn't have the right content.
Oh, daft of me: if you're testing all this with the function being called via ipn by PayPal, email it to yourself instead (since you won't see the page being loaded);
PHP Code:
$content = array();
while (list($key, $value) = each($params))
$content .= "$key: $value\n";
mail("your@email.com", "debugging!", $content);
exit;
ft_api_process_form($params);
Let me know how it goes.
- Ben