Form Tools
Is the PayPal tutorial using the correct 2nd arg for ft_api_init_form_page? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: Is the PayPal tutorial using the correct 2nd arg for ft_api_init_form_page? (/showthread.php?tid=295)



Is the PayPal tutorial using the correct 2nd arg for ft_api_init_form_page? - Jaace - Sep 22nd, 2009

I keep getting a 200 error when I try to go to the first page of my multi-page form that is using the PayPal IPN as a payment gateway. Is this because I should use "test" instead of "initialize" for the 2nd argument for ft_api_init_form_page?

I'm so confused.
(Sep 22nd, 2009, 8:19 PM)Jaace Wrote: I keep getting a 200 error when I try to go to the first page of my multi-page form that is using the PayPal IPN as a payment gateway. Is this because I should use "test" instead of "initialize" for the 2nd argument for ft_api_init_form_page?

I'm so confused.

Wow...so glad I posted this otherwise I wouldn't have seen it! There exists a typo in the zip for the donation form tutorial. In the includes/library.php the line $pp["mode"] = "initialized"; should be "initialize".


RE: Is the PayPal tutorial using the correct 2nd arg for ft_api_init_form_page? - Ben - Sep 22nd, 2009

Ack! Thanks - I'll fix that up right now.

Sorry about that, Jaace.


RE: Is the PayPal tutorial using the correct 2nd arg for ft_api_init_form_page? - Jaace - Sep 22nd, 2009

No problem... glad I could spot it!