Skip to content

Commit 43aec44

Browse files
test: add billing_details to allowed params
1 parent dccf7d5 commit 43aec44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/stripe_mock/request_handlers/charges.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def non_positive_charge_amount?(params)
180180
end
181181

182182
def allowed_params(params)
183-
allowed = [:description, :metadata, :receipt_email, :fraud_details, :shipping, :destination]
183+
allowed = [:description, :metadata, :receipt_email, :fraud_details, :shipping, :destination, :billing_details]
184184

185185
# This is a workaround for the way the Stripe API sends params even when they aren't modified.
186186
# Stipe will include those params even when they aren't modified.

0 commit comments

Comments
 (0)