You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue with some component charges being made to chargify and their helpdesk requested the full request and response being made to help debug
i had to monkey patch the gem with: Chargify::Subscription::Component.class_eval do def update run_callbacks :update do binding.pry connection.put(element_path(prefix_options), encode, self.class.headers).tap do |response| binding.pry load_attributes_from_response(response) end end end end
including an option to verbosely print all requests:
-url with params
-headers
-body
and the full response from chargify would have made this process simple and much much faster
The text was updated successfully, but these errors were encountered:
I am having an issue with some component charges being made to chargify and their helpdesk requested the full request and response being made to help debug
i had to monkey patch the gem with:
Chargify::Subscription::Component.class_eval do def update run_callbacks :update do binding.pry connection.put(element_path(prefix_options), encode, self.class.headers).tap do |response| binding.pry load_attributes_from_response(response) end end end end
including an option to verbosely print all requests:
-url with params
-headers
-body
and the full response from chargify would have made this process simple and much much faster
The text was updated successfully, but these errors were encountered: