#shahzaib-haider_best-practices

1 messages · Page 1 of 1 (latest)

silk glenBOT
#

đź‘‹ 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.

modern edge
#

đź‘‹ happy to help

#

unfortunately it's not possible to add all subdomains at once. you need to manually add them one by one

grim valve
#

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

modern edge
#

are you redirecting them to a new subdomain when they choose which connected account they want to donate to?

grim valve
#

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

modern edge
#

yes that's correct,

#

you can do that using the API which makes it easier for you

grim valve
#

ok, but there is no way to use wildcard like *.donate.extensia.cloud to cover all subdomain ?

modern edge
#

no there isn't

grim valve
#

ok, one last question is there an api that I can use to duplicate registered domain on one connected account to another connected account ?

modern edge
grim valve
#

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?

silk glenBOT
timid tiger
timid tiger
grim valve
timid tiger
#

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

grim valve
#

ok

grim valve
timid tiger
grim valve
#

Ok, then how can i do it, which attribute I will provide in stripe.paymentMethodDomains.update to update domain name?

timid tiger
#

OK, I was wrong, that is immutable. So you'd just need to create a new record for the new domain

grim valve
#

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?

silk glenBOT
timid tiger
#

There's no limit on them, no. Afraid that is just how they work today

grim valve
#

Ok, meaning I can add as much as I want.

timid tiger
#

Yep!

grim valve
#

ok, I think stripe should also allow to update domain name or delete register domain

#

But thank you for your help.

timid tiger
#

Yep, fair feedback that'll I'll share internally