chargebee-ruby
chargebee-ruby copied to clipboard
Cannot enable a webhook endpoint that is disabled
Hello!
I am trying to enable a webhook endpoint that is currently disabled with one of these:
(byebug) ChargeBee::WebhookEndpoint.update(id, url: new_uri.to_s, disabled: false)
#<ChargeBee::Result:0x000000010e945408 @response={:webhook_endpoint=>{:api_version=>"v2", :id=>"REDACTED", :name=>"REDACTED", :disabled=>true, …}, @http_status_code=200>
(byebug) ChargeBee::WebhookEndpoint.update(id, { url: new_uri.to_s, disabled: false })
#<ChargeBee::Result:0x000000010efb8a88 @response={:webhook_endpoint=>{:api_version=>"v2", :id=>"REDACTED", :name=>"REDACTED", :disabled=>true, …}, @http_status_code=200>
Expected behavior
- response includes
disabled: false - UI shows the endpoint as activated
Actual behavior
- response includes
disabled: true - UI still shows the endpoint as deactivated
In effect, the parameter is ignored. Not sure if it's of any relevance, the url is the same as before.
Hi @awendt, sorry for the inconvenience. This is a backend issue, and our team is already working on a fix. Please allow us some time to resolve it — we’ll keep you updated on the progress.