chargebee / chargebee-php

PHP library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No custom fields support??

phenaproxima opened this issue · comments

commented

I have a few custom fields in my ChargeBee instance, one of which is called cf_push_licenses. When I try to push changes to ChargeBee with that field set, I get a big fat exception:

ChargeBee_InvalidRequestException: cf_push_licenses : not in allowed values in ChargeBee_Curl::handleAPIRespError() (line 90 of chargebee-php/lib/ChargeBee/Curl.php).

Does the PHP API not support custom fields, or have I done something wrong?

commented

Our PHP API library does support custom fields and we've tried the code you sent to us through the support portal and it worked. We've sent you a response as well. Let us know if you further assistance.