#shahzaib-haider_best-practices
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/1334827110136549417
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shahzaib-haider_code, 2 days ago, 16 messages
đź‘‹ happy to help
unfortunately it's not possible to add all subdomains at once. you need to manually add them one by one
My application also allow organization to connect different connected account e.g “Church Construction”, “Church Donations”. So, on donation page the user can select to which connected account he wanna donate to. So, in that I have to add domain to every connected account.
So, in that scenario it will becomes very complex, as every time an organization changes it's domain I have to update or add that domain to every connected account. Is there a simple way you can suggests
are you redirecting them to a new subdomain when they choose which connected account they want to donate to?
Organization can edit the domain through my application e.g company1.donate.extensia.cloud, when organization change it's domain from company1 to company2. Now, new donation link becomes company2.donate.extensia.cloud. So, to show apple pay I have to update company1.donate.extensia.cloud to company2.donate.extensia.cloud in every connected account of that organization
ok, but there is no way to use wildcard like *.donate.extensia.cloud to cover all subdomain ?
no there isn't
ok, one last question is there an api that I can use to duplicate registered domain on one connected account to another connected account ?
Yes, I know know create domain on connected. I wanted to know if I could duplicate register domain from one connected account to another
And one more thing, can we update registered domain name through dashboard?
Yes, the same domain can exist on multiple accounts
Not if they're created by the platform
but I think there is no api that I use to tell stripe to copy all domain that are on connected account 1 to connected account 2 right?
No, there's no clone/copy API. You'd just make the same API call to register domain X on connected account 2 like you did for 1
ok
And about this, if that domain is created through api, can I update it's domain name?
Yes, via the API. But the connected account cannot see platform created domains in their Dashboard
Ok, then how can i do it, which attribute I will provide in stripe.paymentMethodDomains.update to update domain name?
OK, I was wrong, that is immutable. So you'd just need to create a new record for the new domain
As I mention above in chat , my domain is customizable for organization through my application, so, I have to add new domain each time organization update it's domain, forexample if organization changes 100 times, I will have 100 domain in that organization 5 connected accounts (consider organization have multiple connected accounts).
Will it not becomes inefficient (because there is no way to update/delete a register domian) or it does not matter I should not worry too much about it?
There's no limit on them, no. Afraid that is just how they work today
Ok, meaning I can add as much as I want.
Yep!
ok, I think stripe should also allow to update domain name or delete register domain
But thank you for your help.
Yep, fair feedback that'll I'll share internally