#sushbhat

1 messages · Page 1 of 1 (latest)

ashen mantleBOT
gray socket
#

hi! what guide are you using exactly?
.setPaymentMethod("card") doesn't really make any sense.

fiery yoke
#

till now we were on a older stripe version where payment method type would defaul to card.. but since we upgraded stripe version we started seeing this error You cannot disable automatic_payment_methods without specifying payment_method_types. You must enable automatic_payment_methods or specify payment_method_types****

#

I want to just make it like before now, how do you suggest?

gray socket
#

setPaymentMethod() is not the same thing as setPaymentMethodTypes()

fiery yoke
#

oh

#

but this PaymentIntentCreateParams doesn't have methodType

gray socket
#

yeah it is addAllPaymentMethodType() taking a List of strings (and you can have "card" in that list) or addPaymentMethodType(String)

fiery yoke
#

ok, let me try that