chargebee-ruby icon indicating copy to clipboard operation
chargebee-ruby copied to clipboard

Cannot enable a webhook endpoint that is disabled

Open awendt opened this issue 3 months ago • 1 comments

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.

awendt avatar Nov 06 '25 16:11 awendt

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.

cb-alish avatar Nov 10 '25 05:11 cb-alish