IGNORE, this found where I can ask presale questions. Apologies.
Thanks Pierluigi
That will print the current post permalink though, not the referral permaling, so the post the user was on before they reached the form.
Hello Raymond
You can use the free WooCommerce plugin to handle the payment side. Then the Groups plugin is simple to use and also free. It will just require a little manual work from you to assign a new sign up to the group that has access to restricted content. Creating access restrictions for a page is super simple in the Groups plugin.
If you want this all to be automated, then you might consider purchasing http://www.woothemes.com/products/groups-woocommerce/ which allows the completion of an sign up order to automatically add a new member to a group.
http://www.woothemes.com/woocommerce/
https://wordpress.org/plugins/groups/
Hope this helps get you started 🙂