Jump to content

Normalize the usage name semi-annually or semiannually not both


drosendo

Recommended Posts

Hello,

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

Example:

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.

 

Cheers,

David

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