Jump to content
Sign in to follow this  

Normalize the usage name semi-annually or semiannually not both

Recommended Posts


We work exclusively with the WHMCS API and there are cases where WHMCS works with 2 different naming for the same thing.


user buys a product that is "Semi-Annually", I have to send it to whmcs api as billingcycle "semiannually" on the api "addOrder".

Now, if I have a coupon created with billingcycle "Semi-Annually" the api returns "semi-annually".

When user tries to use the coupon created in his cart products, the result:

coupon "semi-annually" != "semiannually" product

So nothing is applied.

Of course i had to remove the "-" but still I dont know where else this may have implications.

Therefor WHMCS should normalize this information.




Share this post

Link to post
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.

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.

Sign in to follow this  

  • 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