#TomV

1 messages · Page 1 of 1 (latest)

lusty tuskBOT
viscid cloud
#

I believe no, it's the default one.

brittle trail
#

so it is not?

#

are you sure?

viscid cloud
#

Yes

chrome prairie
#

could you say more about the use case for wanting to disable them and how you currently integrate payments using Connect?

brittle trail
#

we have a client who is only looking to use SEPA via Elements

#

they already use older version of Stripe for cards

#

hence the question - is it possible to disable the card payment method within the element for a connected account ?

chrome prairie
#

well if you're using PaymentElement and you create the PaymentIntent yourself then I think you can just pass payment_method_types:["sepa_debit"] directly for example so the PaymentIntent only supports that.

#

if you code the integration you control what it does and what it accepts

brittle trail
#

we use the automated display of methods

#

so the cards can not be turned off in the Payment Methods settings?

chrome prairie
#

that part I'm not sure of , I don't think you can turn them off in the automatic payment method settings since it's very unusual to not want cards

#

if you directly pass payment_method_types that might be an option

brittle trail
#

any possibility to confirm that?

solemn tusk
#

Hey! Taking over for my colleague.
You can test this by a sample integration on your own. You can download a simple Stripe Elements integration from here:
https://stripe.com/docs/payments/quickstart
And you create a PaymentIntent like this:

 const paymentIntent = await stripe.paymentIntents.create({
        amount: 1000,
        currency: "eur",
        payment_method_types: ['sepa_debit']
    });

By setting only yhe allowed payment methods in the payment_method_types:
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types