We have monthly recurring membership functionality. I would like to have functionality like one friend can purchase one month subscription for his friend and then his friend has to pay himself to continue his membership.
So, whether user is logged in or not. User A can go to purchase Gift page where he has to fill other User B data like name and email and then need to do payment for one month.
On successful payment, User B will get registered and user B will get access to site for 30 days, after 30 days, User B has to pay himself to continue membership.
How can I do this?