Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
add customer ID as param for create_setup_intent (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlr-stripe authored and mshafrir-stripe committed Aug 2, 2019
1 parent df99f57 commit b387631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def create_customer
payment_method: payload[:payment_method],
return_url: payload[:return_url],
confirm: payload[:payment_method] != nil,
customer: payload[:customer_id],
use_stripe_sdk: payload[:payment_method] != nil ? true : nil,
})
rescue Stripe::StripeError => e
Expand Down

0 comments on commit b387631

Please sign in to comment.