Jump to content

Unable to add product custom field using add order API


Recommended Posts

Hi,

 

We are trying to add order using AddOrder API from ASP.net. We are able to successfully add the order with product but we are not able to add custom field. Custom field value is always null

How can we pass custom field value using this API

 

 

Many Thanks

Link to comment
Share on other sites

  • 4 weeks later...

keep attention that custom fieldS need to be specified as an array of base64 encoded serialized array.

That's to say: even if you have a single custom field, you must specify it as an array.

And the index of the array is the special field id number of the custom field (that's to say: easily it will be no "1", but you need to find the right ID in I-don't-remember-what-table-in-WHMCS ... something like tblcustomfields ...)

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