Skip to content

Commit

Permalink
Pass kwargs to cancel with Paddle Billing cancel_now. Fixes #1097
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Oct 31, 2024
1 parent b604d05 commit c0eb2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/pay/paddle_billing/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def cancel(**options)
end

def cancel_now!(**options)
cancel(options.merge(effective_from: "immediately"))
cancel(**options.merge(effective_from: "immediately"))
rescue ::Paddle::Error => e
raise Pay::PaddleBilling::Error, e
end
Expand Down

0 comments on commit c0eb2f2

Please sign in to comment.