Enable 3ds for subscription create

This commit is contained in:
PCoder 2023-11-15 16:40:46 +05:30
parent c69affc9a1
commit c3e574ab7d

View file

@ -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