This topic contains 1 reply, has 2 voices. Last updated by Raam Dev 4 years, 8 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday May 1st, 2012 at 9:17 am #12273 | |
Visitors to my site can register for 7 days free access to my online ecover creation software. They give their name & email and AWeber returns them to a ‘Pro API For Remote Operations’ php script on my server that creates the user account in S2Member with Level 1 access. When the user logs in again, if the free 7 days are up, they are presented with a JVZoo buy button and can’t access the software until they pay: The pay button html JVZoo supply is:
Obviously no user data is sent, and none can come back via JVZoo from PayPal either, since JVZoo can’t (yet) do IPN for recurring payment memberships. I can change the html thus:
and then myscript.php can upgrade the user in S2Member and use a header redirect to the supplied JVZoo URL. Is there any S2Member code that can remotely change the user member level? Or do I need to script a change of the users record in the MySQL database instead? Do you have any code to help me, (I have basic php skills) or indeed specific info to help a php coder if I need them to understand what needs to be done for me? Any help very much appreciated, many thanks. :) |