mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
Follows up the patch in #351, which I now believe is wrong. The trouble is that we were mutating the application fee object, when in reality an application fee refund is actually a completely new resource (see [creating a refund][create-refund]). This patch edits the original attempt to cut a new object and updates tests accordingly. Once again, related to stripe/stripe-php#208. [create-refund]: https://stripe.com/docs/api#create_fee_refund