Jump to content

Dealing with installment buying


codemaster2008

Recommended Posts

We have an unusual situation here and I'd like to know if someone out there knows how to deal with it.

 

I have this product, which has two payment terms: Monthly and Annually.

If the customer picks the monthly plan everything will be "normal" and account created after payment.

 

However the "Annually" term gets complicated.

The user will pay 50% (half), get the account created and pay the other half 30 days latter.

 

So, is it possible?

Link to comment
Share on other sites

Hi John, it maybe sounds crazy but my idea is use action hooks to perform these tasks:

 

- Identify the product

- Automatically assign a 50% discount and a note to the order explaining it

- Create a new invoice for the other 50% due on 30 days

 

A lot of things going on under the hood but I believe will work.

When the user pay the first invoice the product is activated and this invoice is now half of the price.

 

I'm not a php programmer but after look at php documentation and the little documentation available for action hooks i can hook to the following events and test everything that i need:

 

PreCalculateCartTotals

AfterShoppingCartCheckout

PreShoppingCartCheckout

 

So my questions now are:

 

How do i remove or add items to the order/invoice from these events?

I'm planing to use use "PreCalculateCartTotals" for another thing but to the question here, If i'm not wrong i could:

 

- Change the order on PreShoppingCartCheckout (Add discount)

- Add a new invoice on AfterShoppingCartCheckout

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated