#Mahesh
1 messages · Page 1 of 1 (latest)
You either need to omit PMs that don't support manual capture from your payment_method_types param (see the doc here for support: https://stripe.com/docs/payments/payment-methods/integration-options#additional-api-supportability)
Or use automatic_payment_methods[enabled]: true when creating your Payment Intent to let us handle surfacing the valid PMs in the Element: https://stripe.com/docs/payments/payment-methods/integration-options#using-automatic-payment-methods
Thanks, will try both the approaches
is there a way to pass my billing address after generating the payment intent?
You'd pass those details when confirming the payment with Stripe.js: https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-payment_method_data-billing_details
The Payment Element already collects some billing details automatically
if i initialise payment intent using this config { amount: 100000, currency: 'EUR', capture_method: 'manual', }
it is showing only the card elements in Payment elements, other payment methods are not showing up. Why the other payment methods are not showing up?
Because if you omit the payment_method_types parameter, and don't pass automatic_payment_methods[enabled] then it'll default to just card
i tried your suggestion. But still it's showing only card in my checkout pi_3MJxXfB1Bb0p37lb0Uu2L57h
Then I guess the PMs you're expecting to see don't support capture_method: 'manual': https://stripe.com/docs/payments/payment-methods/integration-options#additional-api-supportability
By passing automatic_payment_methods[true] the API will determine the valid PMs for you based on what's enabled on your account and the parameters on the payment
how can we avoid this warning my dashboard?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Which?
It's just automated based on your API calls. I guess it'll disappear once you fully adopt the automatic_payment_methods parameter
i tried setting the capture_method to automatic, but still it is showing only the card my checkout pi_3MJxhEB1Bb0p37lb1jr6GKiP
Do you have other PMs enabled on your account?
i'm not able to check if they are enabled because of the above error i mentioned
but i remember having it enabled atleast 4 pms (ideal, giropay, sofort, bancotact)
You can manage them here: https://dashboard.stripe.com/settings/payment_methods
(I only see Bancontact enabled)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so atleast Bancontact should be visible in my checkout right along with card?
Figuring out what's going on
Ok, pi_3MJxhEB1Bb0p37lb1jr6GKiP was created as a direct charge using the platform (acct_1EeJNZCcR9hnCOES) API keys. This platform controls the allowed PMs for these kind of charges on connected account, and does not allow the connected account to configure them
The only PM enabled is card: https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
This is all explained here: https://stripe.com/docs/connect/automatic-payment-methods