I just built a MODx website that has a paid subscription membership area using FoxyCart (http://www.foxycart.com
). Here’s a link to the first page in the sign up process:
Essentially the way the snippet works is that the visitor seeking a membership first signs up using MODx’s Web Signup snippet (http://bosufitness.com/membership-sign-up-step-1
). Upon successfully signing up, they land on a success page where they then login (MODx’s Web Login snippet) using their newly created username and password (http://bosufitness.com/membership-sign-up-step-2
). At this point in the process, they don’t have access to the secure area of the site, but rather they have now have access to click on a link for payment (which requires logging in to access this link). The snippet on this login page then recognizes their username and password (because they’re logged in) and passes that information to the FoxyCart checkout page. Upon successfully paying, FoxyCart passes info back to MODx telling MODx that the member signing up has now paid and can get access to the secure info.
It’s a great snippet and works well with MODx...my customer is really happy with it.