#dishant0144_32519
1 messages · Page 1 of 1 (latest)
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.
- dishant0144_32519, 17 hours ago, 44 messages
- dishant0144_32519, 19 hours ago, 122 messages
- dishant0144_32519, 1 day ago, 17 messages
- dishant0144_32519, 1 day ago, 30 messages
- dishant0144_32519, 1 day ago, 6 messages
- dishant0144_32519, 1 day ago, 20 messages
and 5 more
No
Yes
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?
Yes it looks right to me
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?
basically if you're using direct charges, the domain should be registered in the connected account : https://stripe.com/docs/payments/payment-methods/pmd-registration?platform=api#register-your-domain-while-using-connect
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?
you need to register both domains i.e. the top level domain and sub-domain
if you're using xyz.abc.com for your direct charges, then you must still register both in your connected account
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?
yep, that's correct
and how can I register both the domains under one connected account?
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?
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?
looks correct to me
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?
i'm pretty sure that you need the apple file in both places (top and subdomain), but you can try and see what happens
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?
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
Okay, so in that case in both the domains I need apple file and the domain must be verified with the apple file
right?
yes, that's correct
https://stripe.com/docs/payments/payment-methods/pmd-registration?platform=api#verify-your-domain-with-apple-pay - you just need to include the StripeAccount header also, like how the registration was done
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
alright, like i said, you can try it out, i'm not sure