#johan_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1367086792402141244
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the SubscirptionId ?
no subscription ID because it cannot be created yet since iDEAL is not available in the <PaymentElement />
Do you have IDeal activated in the billing PaymentMethod Configuration?
https://dashboard.stripe.com/settings/payment_methods/
You should have one if you are following the guide you were referring
If not, what guide you are following then?
im not creating the subscription in that step yet. I create the subscription after the <PaymentElement /> renders, when the user presses the submit button then we create it
What guide you are following exactly ? Are you using the deferred flow ?
so at that point we don't pass the client_secret to the <PaymentElement />
Are you following this guide then ?
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription
Sorry, but I need to understand what flow you are integration in order to better narrow the issue you are facing
yes exactly!!
my bad I'm following that guide you shared above. the deferred one
so in our current integration that works fine for one time payments and for subscriptions that are paid by card
but with iDEAL it doesn't work for subscriptions
yeah this is the exact implementation we have -> https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription but iDEAL is not appearing in the <PaymentElement /> when we set the mode to 'subscription' unfortunately
Can you inspect the network, and share the element session Id ?
Or do you have a test hosted website that I can use to test ?
sure give me a min
here is a subscription url:
https://staging.legitfit.com/p/membership/673ae36f555918ad9153ce3b
(iDEAL not displaying)
and here's a one time payment url:
https://staging.legitfit.com/p/package/6540beefb064061226d0cbc0
(iDEAL displaying)
Thanks for sharing, checking...
thanks a lot, let me know ๐
The connected account acct_1GluuUI59pLpXCHE on which you are making the request, have ideal disabled for recurring payments:
https://dashboard.stripe.com/test/settings/payment_methods/pmc_1PyGv9I59pLpXCHEI0VbkG7z
That's why you are not seeing ideal
oh wow interesting. I didn't know we had to enable the payment method for recurrent payments as well
do we have to do this for all connected accounts individually?
or can we set them all globally using the platform account?
From the platform's Dashboard (yours), I don't see that option:
https://dashboard.stripe.com/test/connect/accounts/acct_1GluuUI59pLpXCHE/settings/payment_methods
and also how did you get the Configuration ID for that connected account? when I do this I do it from this page:
https://dashboard.stripe.com/acct_1GluuUI59pLpXCHE/test/settings/payment_methods
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 the Custom account needs connect via their Stripe Dashboard to view this
It's from the Connected Account dashboard and not th Platform account
yes! I understand. what area specifically I can see this to copy/paste?
Sorry, I don't understand your follow up question.
The Connected Account needs to connect to their Stripe Dashboard
and access this link:
<https://dashboard.stripe.com/acct_1GluuUI59pLpXCHE/test/settings/payment_methods
And enable ideal for recurring
So every time I want to enable a new payment method to a connected account, I find their connected account id in our platform account and press the "View dashboard as PT Johan" then there I enabled iDEAL as payment method
but there it just enables it for one time payments and not recurrent payments correct?
and above you shared this link https://dashboard.stripe.com/test/settings/payment_methods/pmc_1PyGv9I59pLpXCHEI0VbkG7z with the "pmc.." configuration ID. that I don't know how to get in order to enable this iDEAL for other connected accounts
how do I do this, do I have to do it for each connected account individually or globally from the platform account?
but there it just enables it for one time payments and not recurrent payments correct?
can you share a screenshot ?
You should see this when expanding iDeal
expand ideal
Otherwise, I think you can achieve the same using the API by manipulating the payment method configuration:
https://docs.stripe.com/api/payment_method_configurations
done! just did it there using this link https://dashboard.stripe.com/test/settings/payment_methods/pmc_1Jyf2oB45ZPr5ETARCAaclMe
Pass the Account header in order to manipulate the Connected account's Payment method configs
but the account header is "acc_.." right?
yes
you shared to me https://dashboard.stripe.com/test/settings/payment_methods/pmc_1Jyf2oB45ZPr5ETARCAaclMe and that does not contain any account header
do you get me?
where did you get the "pmc_.." from?
No I meant use Stripe API to fetch the connected Account's PaymentMethodConfigurations via this API and using Stripe Connect header auth:
https://docs.stripe.com/api/payment_method_configurations
First you navigate to:
https://dashboard.stripe.com/test/settings/payment_methods/
Then select billing
okay! then?
You'll be redirect here
https://dashboard.stripe.com/test/settings/payment_methods/pmc_1Jyf2oB45ZPr5ETARCAaclMe
You need to do these steps from the Connected Account's Stripe dashboard and not yours.
nope that does not work
and when I select billing on the left panel, below payments it does nothing
Ah you are using the connected account's dashboard
What I did is like using the login and password of the Connected Account and logged to their Dashbaord
how do I do that? they're custom accounts
You can't.
okay
What you can do is to use the Stripe API and list their PMCs
I understand
this flow
also from the first link you shared I enabled iDEAL but that still didn't work
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
and: https://staging.legitfit.com/p/membership/673ae36f555918ad9153ce3b is not showing iDEAL
It's still disabled
Have you changed the PMC of that Connected Account:
Now it's pmc_1PyGv9I59pLpXCHEI0VbkG7z
how do I even change the PMC? I didn't know that was possible
also in the API you sent me, I don't think that will work because I need to pass the PMC of the connected account in order to enable iDEAL right?
how do I get the PMC? is it stored in the customer?
oh
You use the lising API
so when I navigate here:
https://dashboard.stripe.com/test/settings/payment_methods/pmc_1PyGv9I59pLpXCHEI0VbkG7z
it redirects me here:
https://dashboard.stripe.com/test/settings/payment_methods/pmc_1Jyf2oB45ZPr5ETARCAaclMe
that's why the wrong PMC
I'm sharing the Connected Account's link and ids
You are using your platform Account Dashboard ๐
yeah because I cannot access those connected accounts since they're custom right?
we have an access issue here, you can access but I can't and we're seeing different things
With Custom account, you need to use the API
okay but there's a problem. if I use the stripe.paymentMethodConfigurations.list(); I can't specifically select an account to enable this payment method
say for example i want to enable iDEAL for an specific account. how do I do this?
You cann that API using the Stripe Connect Header
in order to list the PMCs of a given Connect Account
Otherwise you'll list your Platform 's PMC list
ah yes you are correct!!
you are a freaking genious thanks for helping me
I'll start doing this through the API but just to double check this will 100% work if I enable it using the API right?
That should be working yeah. If you have any issue or still not working feel free to reachout again.
Keep this test url. It was very helpfull for me to debug.
no worries at all! glad it helped you
thanks so much for being patient and explaining everything to me
have a great day man. wish you all the best
actually paymentMethodConfigurations is not appearing on the stripe package we have installed
we're on v10
is this API from a newer version?
Yeah you should migrate the SDK you are using
Always happy to help!