#ELIZZER
1 messages · Page 1 of 1 (latest)
Just to make sure we are on the same page. Are you following something like this guide and are looking for how to configure what payment methods show up from your dashboard? https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Otherwise can you tell me more about what you are trying to do here?
i need my elements only to make card payments and restrict any other type of payments
There are two ways you can do that:
- Turn off all other payment methods in your payment method settings https://dashboard.stripe.com/test/settings/connect/payment_methods
- Pass
payment_method_types=['card']when creating your payment intents https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.