If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Contribution-Writing Guidelines / Subscription checkout to run alongside the standard checkout

Subscription checkout to run alongside the standard checkout

Locked

Started by cheeseweasel on 30 Nov 2007, 6:24 PM · Views: 7,455

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Nov 2007, 6:24 PM
#1
cheeseweasel avatar

cheeseweasel

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...

30 Nov 2007, 7:20 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,753
Plugin Contributions:
0

Re: Subscription checkout to run alongside the standard checkout

What happens if I buy a 1 only item and a subscription?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Nov 2007, 7:39 PM
#3
cheeseweasel avatar

cheeseweasel

New Zenner

Join Date:
Nov 2007
Location:
Bristol UK
Posts:
3
Plugin Contributions:
0

Re: Subscription checkout to run alongside the standard checkout

The idea is that they're separate processes. It would only confuse matters (from both a development point of view, and a usability point of view) to combine the two.

Think of it like a magazine subscription, and the standard cart/checkout functionality is there to allow users to buy back issues.

1 Dec 2007, 12:42 PM
#4
cheeseweasel avatar

cheeseweasel

New Zenner

Join Date:
Nov 2007
Location:
Bristol UK
Posts:
3
Plugin Contributions:
0

Re: Subscription checkout to run alongside the standard checkout

Okay, thinking about this, I'm thinking it would be better to edit the ARB payment module to allow for either recurring billing, or one off payments. It would make sense therefore for me to add an 'order type', along with specifics about the subscription to the order class. However this would mean changing one of the core class files, and there's no way this would be upgrade safe.

Is there a standard way of extending the functionality of the core classes like this?

25 Mar 2010, 7:53 PM
#5
ranakhan avatar

ranakhan

New Zenner

Join Date:
Apr 2006
Location:
Toronto - Canada
Posts:
3
Plugin Contributions:
0

Re: Subscription checkout to run alongside the standard checkout

Hi,

Have u completed your subscription module. I am also looking same sort of module. Would you like to share your development or give me some ideas.

Thanks in advance.