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

Commit 0092ce0

Browse files
jemerick-stripemshafrir-stripe
authored andcommitted
allowed_source_types has been renamed to payment_method_types (#45)
1 parent 54d1dec commit 0092ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def authenticate!
124124
post '/create_intent' do
125125
begin
126126
intent = Stripe::PaymentIntent.create(
127-
:allowed_source_types => ['card'],
127+
:payment_method_types => ['card'],
128128
:amount => params[:amount],
129129
:currency => params[:currency] || 'usd',
130130
:description => params[:description] || 'Example PaymentIntent charge',

0 commit comments

Comments
 (0)