#Sinduri
1 messages · Page 1 of 1 (latest)
That's just a recommendation to use automatic payment methods and not explcitily setting them. You can refer to the link there in order to follow how to migrate. It's optional.
in which API?
How are you accepting payment ?
I've a Stripe payment plugin for WooCommerce, in which we have individual method options and a Stripe checkout option with all eligible payment methods
For individual payment methods, we're using payment intent API
Stripe checkout we're using checkout session API
You can just set this field instead of listing all payment methods type:
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled
Okay..
for checkout just remove this field:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
thank you