#brittkim
1 messages ยท Page 1 of 1 (latest)
I ask, because I am trying to get the Payment Methods to autoload from the conencted account, and they don't seem to be loading
Maybe I am missing a field when creating the checkout
i was able to do this by following this doc
sorry i'm not a stripe dev though
i think primarily this part is what you'd be interested in:
https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodTypes
You can create checkout sessions on behalf of connected accounts, yes, but do you mean creating them in connected accounts as "direct charges" or using our on_behalf_of parameter to indicate the merchant of record?
I pass the { stripeAccount: acct_XXXXXX, } object, which seems to just create as the connected account.
I didn't realize there was an on_behalf_of param. Sorry for that confusion
I'm curious about the links above. Am I supposed to apply those stripe.elements to my checkout session in the backend?
(I don't really see any params to use for that when looking at https://stripe.com/docs/api/checkout/sessions/create)
Let's take a step back, what are you trying to achieve here?
I'm creating checkout sessions for a connected account. In a demo I saw, the Payment Methods auto load (like they do if you use the Payment Element).
But my checkout session isn't loading things like Apple Pay, ect, even though they are selected
Do you mean its not showing those as options?
Can you create and share a specific checkout session id that doesn't include the payment methods you expect?
Yes, let me try
cs_test_b1AqeMkYj4xrRSSsmQYzrKakzpOvxzxiQpWBNRFGcHECsLcdRaAa3OfFzn
I have Bancontact and EPS enabled for that account
Hello ๐
EPS doesn't support recurring payments, so that not showing up is expected
https://stripe.com/docs/payments/eps
I don't believe bancontact is enabled in the configuration for acct_1NsX5eEHE3e6biJR
can you double check?
Oh! I actually can't see the payment methods on the connected account. I was looking at the platform account...
do I need to add an extra permission for connect to manage payment methods? Or is that just not permitted?
what kind of connected accounts are you working with?
seems like a standard account
You should be able to control payment method types for connected account from this page
https://dashboard.stripe.com/settings/connect/payment_methods
Hm, I created the checkout session for acct_1NsX5eEHE3e6biJR, though I did it as my platform account
And in my default configuration for connected accounts, it shows that Bancontact is on
The payment method configuration that shows in the screenshot (in the URL) is different than what was used in the checkout session
pmc_1Nx8ruEHE3e6biJRkPhhcRGq
Can you check if you have a different configuration?
That's the only config
Ah hmm interesting..
Does pmc_1Nx8ruEHE3e6biJRkPhhcRGq belong to acct_1NsX5eEHE3e6biJR?
yeah that's what I am seeing on my end. let me check a couple things
So it isn't using my config, it's using the conencted account's
So maybe I should manually set the config to my own? which is pmc_1Nx8rgG51kXHv01dlcJaedRo
are you seeing an option to not allow the connected accounts to customize their own payment methods?
Can you create a brand new checkout session and share it's ID?
Want to double check something
cs_test_b1fkEobj0BBvVBkCXd5WK9O9uLSvRb1qWb7u4uD18EdCzS3XYJO2rI8Xdj
id: 'pmc_1Nx8ruEHE3e6biJRkPhhcRGq',
parent: 'pmc_1Nx8rgG51kXHv01dlcJaedRo'
},
So it seems to know that my config is the parent... but somehow it is setting the id as pmc_1Nx8ruEHE3e6biJRkPhhcRGq
This is how I am creating it