Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log form output to improve debugging #261

Open
joshnuss opened this issue Aug 14, 2017 · 0 comments
Open

Log form output to improve debugging #261

joshnuss opened this issue Aug 14, 2017 · 0 comments

Comments

@joshnuss
Copy link
Contributor

When debugging issues it would be helpful if we had a log of what form/inputs were generated.

Possible approaches:

  1. Add an option to #payment_service_for, ie: payment_service_for(..., log: true) and call Rails.logger
  2. Update #payment_service_for to bubble up an event that can be handled by the host app. ie: ActiveSupport::Notifications.instrument("#{service}.form", html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant