Enable 3ds for subscription create
This commit is contained in:
parent
c69affc9a1
commit
c3e574ab7d
1 changed files with 9 additions and 1 deletions
|
@ -365,7 +365,15 @@ class StripeUtils(object):
|
||||||
coupon=coupon,
|
coupon=coupon,
|
||||||
default_tax_rates=tax_rates,
|
default_tax_rates=tax_rates,
|
||||||
payment_behavior='allow_incomplete',
|
payment_behavior='allow_incomplete',
|
||||||
default_payment_method=default_payment_method
|
default_payment_method=default_payment_method,
|
||||||
|
# Enable 3DS2
|
||||||
|
payment_settings={
|
||||||
|
'payment_method_options': {
|
||||||
|
'card': {
|
||||||
|
'request_three_d_secure': 'any'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
logger.debug("Done subscribing")
|
logger.debug("Done subscribing")
|
||||||
return subscription_result
|
return subscription_result
|
||||||
|
|
Loading…
Reference in a new issue