#michaelfrost3779
1 messages · Page 1 of 1 (latest)
Hello @tame temple !
Hello
Please be patient, we're helping other users and will message when we're available
Thank you.
Can you share details on your integration? Do you create a Payment Intent before you render the Element?
Yes, on the server we create the payment intent first.
I tried to follow this documentation: https://stripe.com/docs/connect/dynamic-payment-methods?connect-payment-integration-type=payment&connect-charge-type=direct&connect-account-type=standard&on-behalf-of=false#auto-payment
Can you share a pi_xxx ID please
Sure, give me a moment.
One thing I think I should mention: According to the documentation I removed the parameter with value "payment_method_types: ['card', 'eps', 'sepa_debit', 'sofort']," from the NodeJs stripe.paymentIntents.create( function call.
Yeah, that's required if you want to use dynamic PMs
I was wondering about that... Does that mean I have to get the activated PMs from the connected acound in the backend every time I create a PI?
I had the problem, that Sofort was hardcodede but a connected account was not eligible for Sofort. That throw an error.
No, we'd compute the available PMs automatically based on the payment parameters
Is your issue resolved now?
No, not quite.
Can you share a pi_xxx ID where you're not seeing the PMs you expect then?
I missed the "automatic_payment_methods" parameter. Without that I guess I'll only see the card, right?
It'd depend on your API version. We made that the default recently (https://stripe.com/docs/upgrades#2023-08-16) but otherwise yes you need to pass it otherwise it will default only to card
That was it... Thank you! The Issue is resovled. Have a great day!
(this is why I asked for a pi_xxx ID so I can see what parameters you're passing)