Posted - 12/01/2026 : 01:00:49
I need to connect a new stripe account to my website.
I have added the new secret and publishable keys but I'm getting this error on the checkout page.
The `payment_method_types parameter is no longer supported when creating a Checkout Session. To limit this session to specific payment methods (for example, card only), use `allowed_payment_method_types. To remove specific payment methods from your Dashboard defaults, use `excluded_payment_method_types. Default payment methods are managed from your Dashboard settings (https://dashboard.stripe.com/settings/payment_methods). For migration guidance, see https://docs.stripe.com/changelog/endive/2026-09-30/remove- payment-method-types-checkout-sessions.
I tried looking at that link but I don't understand what it's, saying. My keys on the old account still work fine, but I need to get transactions going through the new account ASAP.
|