chargebee / chargebee-php

PHP library for the Chargebee API.
https://apidocs.chargebee.com/docs/api?lang=php
MIT License
72 stars 62 forks source link

No custom fields support?? #6

Closed phenaproxima closed 7 years ago

phenaproxima commented 9 years ago

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?

chargebeejoe commented 9 years ago

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.