The allowed_payment_method_types has confusing documentation.
On this site:
https://docs.dodopayments.com/features/payment-methods#payment-method-not-appearing
it says:
"By default, all eligible payment methods appear automatically. "
But on this site:
https://docs.dodopayments.com/api-reference/checkout-sessions/create
it says:
"Customers will never see payment methods that are not in this list."
and
"Disclaimar: Always provide 'credit' and 'debit' as a fallback.
If all payment methods are unavailable, checkout session will fail."
So what must I then include? Nothing? Or both credit and debit always?
The docs seem contradictory.
Dodo Payments Documentation
Unified endpoint for creating checkout sessions for all types of billing requirements.