#dishant0144_32519

1 messages · Page 1 of 1 (latest)

mortal wagonBOT
#

Hello! We'll be with you shortly. 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.

tulip harbor
#

No

pastel reef
#

Okay
That means it only works in mac safari

#

right?

tulip harbor
#

Yes

pastel reef
#

Okay
For domain creation via API (cause I am using direct charges) which API call should called to create a domain in the connected account?

#

var options = new PaymentMethodDomainCreateOptions { DomainName = "https://30d2-4-151-204-226.ngrok-free.app" };
var requestOptions = new RequestOptions
{
StripeAccount = "acct_***",
};
var service = new PaymentMethodDomainService();
service.Create(options, requestOptions);

#

IS this the correct way?

tulip harbor
#

Yes it looks right to me

pastel reef
#

Okay
Last question
If I verified the domain called abc.com thru dashboard for platform account to use apple pay then whenever thenew connected account registered under my platform account let's say xyz.abc.com so in that I need to register the domain abc.com in that connected account not the xyz.abc.com via API to accept the apple pay
Am I right?

mortal wagonBOT
solid vessel
pastel reef
#

Yes that I got
but that means n the domain which has apple file and it is verified that domain I need to register under my connected account
like abc.com is main domain which is verified and has the apple file, so then newly created connected account is xyz.abc.commust have the domain registered abc.com to accept the apple pay not the xyz.abc.com

#

does this make sense?
Am I getting this right?

solid vessel
#

you need to register both domains i.e. the top level domain and sub-domain

pastel reef
#

I registered the abc.com in my platform account which is verified, still I need both in my connected account or just** abc.com**?

solid vessel
#

if you're using xyz.abc.com for your direct charges, then you must still register both in your connected account

pastel reef
#

okay so that means whenever new connected account registered under my platform I need to register 2 domains in connected account, in this case abc.com & xyz.abc.com both need to be registered in connected account
Right?

solid vessel
#

yep, that's correct

pastel reef
#

and how can I register both the domains under one connected account?

solid vessel
#

the guide we shared shows the command to run, i'm not sure i understand the question on how to register both domains under one connected account?

pastel reef
#

var options = new PaymentMethodDomainCreateOptions { DomainName = "abc.com" };
var requestOptions = new RequestOptions
{
StripeAccount = "acct_***",
};
var service = new PaymentMethodDomainService();
service.Create(options, requestOptions);

var options = new PaymentMethodDomainCreateOptions { DomainName = "xyz.abc.com" };
var requestOptions = new RequestOptions
{
StripeAccount = "acct_***",
};
var service = new PaymentMethodDomainService();
service.Create(options, requestOptions);

this is how I can register both domains?

solid vessel
#

looks correct to me

pastel reef
#

okay that means I have to register both domain in connected account first is the verified which has the apple file and second doesn't have the apple file but need to just register the domain so it can accept the apple pay

#

correct?

solid vessel
#

i'm pretty sure that you need the apple file in both places (top and subdomain), but you can try and see what happens

pastel reef
#

the domain which is registered under my connected account is using my platform as a service I am the service provider here
like if they want to host their web pages I give them the platform so that means thehosted environment wil be the same just the url changes

#

in this case I guess single apple file in main domain works?

#

for ex. abc.com is a service provider it provides customer to host their pages in his domain so when new xyz came it registers as xyz.abc.com that means it is using same main domainjust the different url

Are you getting the point?

solid vessel
#

the requirements aren't set by us, they're set by Apple. Like i said, you can try, but if verification fails, you're going to need to host the file under the subdomain also

pastel reef
#

Okay, so in that case in both the domains I need apple file and the domain must be verified with the apple file

#

right?

solid vessel
#

yes, that's correct

pastel reef
#

Is there a way to verify the domain with the API?

#

as we are registering via API

solid vessel
pastel reef
#

yesterday I have the same question with one of the stripe dev he told me one apple file is enough for all my connected account

solid vessel
#

alright, like i said, you can try it out, i'm not sure

pastel reef
#

in test mode it is difficult man for apple pay frankly speaking
becuase, I am from india and my client is in US