0

I notice the Stripe docs have a ruby controller action that doesn't have any respond_to block https://stripe.com/docs/payments/accept-a-payment

  • `respond_to` isn't Stripe specific. It's a Rails method to configure different response types / formats (in addition to the default HTML), see [Rendering XML and JSON data](https://guides.rubyonrails.org/action_controller_overview.html#rendering-xml-and-json-data). – Stefan Dec 12 '22 at 15:16

0 Answers0