Hi, I am using Chargebee_CreditNote::create but an error occurred saying that the create method is undefined. I copied the code from the API document but still, I get the same error. I am using php for integrating the Chargebee
We see that you're using API version v2.1.1. The Create Credit Note end point is available from the API version v2.1.2 and above. Here's more on it.
So please try using version v2.1.2 and above. If you're still facing any issues, do let us know.