New Zenner
- Join Date:
- Nov 2007
- Location:
- Bristol UK
- Posts:
- 3
- Plugin Contributions:
- 0
Subscription checkout to run alongside the standard checkout
I'm not sure if this is the best place to post this, so if not feel free to move it.
I'm building a site using zen cart that is based around a monthly subscription, but we're also going to keep the standard cart/checkout functionality.
I've copied the pages necessary for the checkout to be used as a separate subscription checkout. I'm currently planning on using the community contributed Authorize.net ARB payment module for the subscriptions, and the Authorize.net AIM module for the standard checkout (this may well change, but let's not worry about that for now).
So for the standard checkout payment page, I want to display payment modules as normal, but not display the ARB payment module, and for the subscription payment page I only want to display the ARB payment module. The way I was thinking of doing this is to disable the ARB module so that it doesn't get returned in the list of installed modules in the payment class, and create copy of the payment class (called subscription_payment or whatever) that only returns the ARB module. This does seem pretty messy however, and I was wondering if there was a better way of doing this?
As far as the subscription mechanism was going to work, I was planning on creating a subscription table and class that are pretty much cut down versions of the order/s table and class, does this make sense? I don't want to some way down the line, and find out there's a much easier way of achieving what I'm trying to do...