Wordpress Plugin Developer Question
It accomplishes three tasks.
1. It submits a post to my blog.
2. It submits the users email to an autoresponder.
3. It collects money thru paypal.
I'm using a paypal class I found to do the paypal work and I've integrated the autorespond and post submit taskse into the processing that's done to submit to Paypal.
I'm doing this on a PHP page that I've loaded the wordpress codex onto.
So here is my issue.
Initially I had the developer credentials for Paypal in a config file. Rather than the blog owner being forced to enter their credentials in a config file however, I added an admin screen that allows the blog owner to store the credentials in the Wordpress DB.
The problem is that when I attempt to use the get_option function in my paypal process I'm not getting my data back so the paypal piece breaks.
I believe the issue is that when my papal call returns, the page doing the paypal work is reloaded and the get_option function is not available so that the call to get_option fails.
Honestly, I'm pretty stumped.
So my hope is two-fold. One, obviously I'd like to resolve this issue.
More importantly I'm trying to understand the "right" way to perform these tasks while integrating into the wordpress framework.
I'm sure I'm going about this the wrong way which is causing my issue.
Where did you learn the "right" way to integrate functionality into these plugins.
Thanks in advance for any assistance you can offer.
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."
Reviews: Need a good VPS, dedicated server, or unlimited host? (This is NOT a fake "top 10" list!)