#ELIZZER

1 messages · Page 1 of 1 (latest)

weak abyssBOT
shell hawk
#

Otherwise can you tell me more about what you are trying to do here?

tropic ermine
#

i need my elements only to make card payments and restrict any other type of payments

shell hawk
#

There are two ways you can do that:

  1. Turn off all other payment methods in your payment method settings https://dashboard.stripe.com/test/settings/connect/payment_methods
  2. Pass payment_method_types=['card'] when creating your payment intents https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types