#xiaxiao-applepay

1 messages · Page 1 of 1 (latest)

flat fiber
#

Hi there! Posting your other messages here:

The following code does not appear apple pay button
var stripe = Stripe('pktest**', {
apiVersion: "2020-08-27",
stripeAccount: "acct_1Kh5vwHcQvyD0l9d"
});
The following code appears apple pay button
var stripe = Stripe('pktest**', {
apiVersion: "2020-08-27"
});
help me

#

When using the stripeAccount, you should pass the account ID of a connected account. But here you passed the account ID of the platform account? I'm not sure to understand what you are trying to do.

ivory whale
#

Hi, I added in my code
stripeAccount: "acct_1Kh5vwHcQvyD0l9d"
The pay button is not displayed.

#

Hi, I added in my code
stripeAccount: "acct_1Kh5vwHcQvyD0l9d"
The pay button is not displayed.

#

Why is this?

flat fiber
#

Can you clarify why you use stripeAccount: "acct_1Kh5vwHcQvyD0l9d"?
To make connect request you need to:

  • Use the API keys of the platform account
  • set stripeAccount to the account ID of the connected account
    But here it looks like the stripeAccount is the platform ID?
ivory whale
#

Sorry just didn't see your message. How can I get the correct value?

#

How do I find the account ID of the linked account?
What format string is the account ID of the connected account?

flat fiber
#

How do I find the account ID of the linked account?
You can find it in you dashboard in the Connect tab, or with the API using https://stripe.com/docs/api/accounts/list
What format string is the account ID of the connected account?
It should be acct_xxx

ivory whale
#

Hello, we have created multiple stripe accounts with the same information, the first one should be the main account, and the others are sub-accounts. I think it should be the relationship between them.
But I encountered a problem when using the sub-account.
as follows:
let stripe = Stripe(_this.stripe_app_key,{
apiVersion: "2020-08-27",
stripeAccount: 'acct_1KBa4mG4AOPM3T3W'
});
When I delete stripeAccount, google pay fails. (https://api.stripe.com/v1/payment_intents/pi_3LA9hdHcQvyD0l9d0waK8lhH/confirm 404 )

When I add stripeAccount , apple pay does not show the pay button.

#

I tried the method you provided. still no success

flat fiber
ivory whale
#

Is this the correct ID?

flat fiber
#

Can you copy-paste that account ID? And also share the account ID of your platform?

ivory whale
#

I'm sorry, I just want to know if the correct ID is here

flat fiber
#

Sure, please copy-paste the ID so I can have a look at it. And I also need the account ID of your platform.

ivory whale
#

acct_1KBa4mG4AOPM3T3W

#

Do I need to add any other information? I'm not very skilled, I hope you understand

lusty glen
#

note you have to delete the registration if you made it through the dashboard while logged into that account, first, and then register through the API.

ivory whale
#
  1. I need to know if my ID is correct.
  2. Did I register the domain name correctly? If not, how to register
lusty glen
#

How can I check if my domain name is registered?
easiest way is to confirm that the button appears, but otherwise just ask me and I'll look at how it's registered and tell you what's wrong

ivory whale
#

But my google pay button can appear,
apple pay does not appear.

#

Does this mean my ID is correct?

#

I just need to register the domain name now right?

lusty glen
#

Google Pay doesn't need any of this registration stuff

#

it's only Apple Pay