Mar 30th, 2009, 10:50 AM
Hey,
No problem! Hope the script comes in handy.
Yes, it's outdated. The process is pretty much the same, but the original code submit + callback needs to be updated to use the API functions rather than the "code" submission type, used by Form Tools 1.
Not really. It works by you creating your own PHP function (e.g. say_hello()), then you assign your function to a hook. Then, when the Core code containing that hook gets executed, it also processes your function.
Hope this is semi-clear...!
- Ben
No problem! Hope the script comes in handy.
Quote:1) Is the older step-by-step Paypal form tutorial still valid for FT2, or have the major changes made the older tutorial out-dated?
Yes, it's outdated. The process is pretty much the same, but the original code submit + callback needs to be updated to use the API functions rather than the "code" submission type, used by Form Tools 1.
Quote:2) Is calling a hook very similar to calling a function?
Not really. It works by you creating your own PHP function (e.g. say_hello()), then you assign your function to a hook. Then, when the Core code containing that hook gets executed, it also processes your function.
Hope this is semi-clear...!
- Ben