Hello, i would like to be able to accept orders and subscriptions from logged in users (i can restrict access to the form myself) and have the order linked in the database so i can programmatically check what a certain user has ordered/ has an active subscription to. For example so i can restrict access to support docs for item X to users who have purchased it.
sudo code:
If user has purchased (x)
show docs
else
Show "you gotta buy it first"
//or
If user has active subscription for (x)
show docs
else if user has expired subscription for (x)
Show "you subscription has expired, please renew"
else
Show "you gotta purchase a subscription to x first"
I am capable of writing the above in valid php providing gravity forms can be made to save the data in a table somewhere.
Is this attainable and relatively simple with gravity forms and the paypal addon?