Per access payment and notification by custom code
Posted: September 23rd, 2010, 1:40 pm
Hi Jason,
I must say you have built up an extremely powerful plugin but I am having a hard time to get it work exactly how I want.
I have built a tool which works using ajax on a particular WordPress page and I want to have the payment processed on it. I plan to check for user levels and then either bypass them (Level 2 or higher) or charge them per access fee (less than Level 2).
The problem is that I can't leave the page in between for payment, so I need something like opening a new page for payments, processing the payment over there (or bypass it according to the Level) and then signal the payment done and I can complete the execution of my ajax tool at the first place. And I don't want the user to go to the registration page after payment, I just want pay and access the result
I am having a hard time to figure out how can I keep track of payments which are initiated from my tool only and not the rest of the site. I plan to do something like opening a new window for payment and the original page will keep checking of the signal for payment completion and when the new page is done with payment, I can generate that signal.
Any pointers on how can I use the S2Member API will be great!
I must say you have built up an extremely powerful plugin but I am having a hard time to get it work exactly how I want.
I have built a tool which works using ajax on a particular WordPress page and I want to have the payment processed on it. I plan to check for user levels and then either bypass them (Level 2 or higher) or charge them per access fee (less than Level 2).
The problem is that I can't leave the page in between for payment, so I need something like opening a new page for payments, processing the payment over there (or bypass it according to the Level) and then signal the payment done and I can complete the execution of my ajax tool at the first place. And I don't want the user to go to the registration page after payment, I just want pay and access the result
I am having a hard time to figure out how can I keep track of payments which are initiated from my tool only and not the rest of the site. I plan to do something like opening a new window for payment and the original page will keep checking of the signal for payment completion and when the new page is done with payment, I can generate that signal.
Any pointers on how can I use the S2Member API will be great!