Jump to content

UpdateClientProduct firstpaymentamount


jimlongo

Recommended Posts

Thanks, so in practice this means the

1.  client pays $30 now

2.  firstpaymentamount on next Due Date

3. then the recurring amount thereafter?

 

NOTE:  I'm doing this because I can't find a way to adjust the initial payment on order execution.

 

Edited by jimlongo
added info
Link to comment
Share on other sites

@WHMCS ChrisD thank you for responding.

I had an earlier thread in which I was asking how I could sell items (locations) that are attached to an initial free subscription that will be automatically provisioned by cPanel or Plesk.

Each of these locations should have the same monthly anniversary date as tne original (which I can get from my API).  Additionally the item should be sold with a pro-rated price for the first month, then the recurring price each month after that.

Example: the customer's free sub has a renewal date of the 15th of the month. They purchase a location (which costs $10/month recurring) on the first of the month.  This location service should have a renewal date of the 15th, and the initial price should be $5, then renew on the 15th at $10/m thereafter.

I've done that so far by using the UpdateClientProduct API and adjusting the nextduedate of the product at the ShoppingCartCheckoutCompletePage hook.

But I have been unable to set the price on checkout to the pro-rated price.  

I have updated the firstpaymentamount, but I don't think that is doing exactly what I want.  Seems to me this means the customer pays full price for the partial month, and then the pro-rated amount for the next full month.

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