Skip to content

Commit

Permalink
Standardize
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Oct 4, 2022
1 parent f411222 commit 6a7917f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pay/stripe/billable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def subscribe(name: Pay.default_product_name, plan: Pay.default_plan_name, **opt
quantity = options.delete(:quantity)
opts = {
expand: ["pending_setup_intent", "latest_invoice.payment_intent", "latest_invoice.charge"],
items: [plan: plan, quantity: quantity],
items: [plan: plan, quantity: quantity]
}.merge(options)

# Load the Stripe customer to verify it exists and update payment method if needed
Expand Down

0 comments on commit 6a7917f

Please sign in to comment.