#Gary D - Angular

1 messages · Page 1 of 1 (latest)

mental thunder
open topaz
#

Hi there! Reading...

#

Yep Apple Pay with Connect is special

#

To confirm you are creating Direct Charges on your Standard Connected Accounts?

#

The short of it here is that you need to set up everything in livemode and your platform needs to register the domain on your Connected Account using its live keys and then you can succcessfully test in testmode.

#

So, the Connect account needs to be created in live mode using the Platform’s live mode API keys. Test mode accounts will not work.

#

Then, the Connect account needs to be connected to the Platform in live mode as well. It is possible to have a live mode Connect account but connect it to a Platform only in test mode. This will not work, the Platform <> Connect account connection has to be made in live mode as well.

dusty wind
#

Let me make sure I know what you are saying. We have subscribers to our website that can connect their Stripe account with us through Connect. Then their clients can make payments directly to them without us being involved with the funds we just track if payments are made.

open topaz
#

Yep so your platform is creating the charges right on those Connected Accounts, correct?

#

The charges don't take place on your platform and then you transfer funds to the Connected Accounts?

dusty wind
#

Our subscriber creates invoices on our site that their clients can see and pay. When they click to pay then the funds are transfered directly from the client to our subscribers account. We have authenticated our domains (both test and production) with Apple.

open topaz
#

Yep okay so all of that aligns with the above.

#

After following the steps above that I laid out, you can test in testmode as long as you have a card in your Apple Wallet. When in testmode, the card won't be charged (just like with Google Pay)

#

Did you follow the process above to register the domains, or did you do it all in test mode?

dusty wind
#

We registered them in production.

#

So if I understand what we need to do is use the livemode publishable key when creating the paymentMethod in test so that we can test Apple Pay in our test mode but Stripe realized that we are actually in test because we are using our test account id on the backend?

open topaz
#

No, just the domain registration needs to take place in livemode

#

Then you can use your testmode publishable key to test successfully

#

Else you will hit the current error you are hitting

#

If you want, you can provide me an Account ID of one of your Connected Accounts that you are attempting to test on and I can look if the domain is registered correctly.

dusty wind
#

I thought we had done that but must not have. I will give that a try.

#

Thanks for your help.

open topaz
#

👍

dusty wind
#

I went into stripe live and deleted all the domains for Apple Pay. Then I reconnected them making sure that I was live. This did not seem to make any difference. I did not use the api to register the domain but actually went into Stripe.com does that matter?

open topaz
#

Yes that does matter

#

You have to register via the API

#

Using the StripeAccount header

#

Like your platform has to register these domains for your Connected Accounts using the Platform live keys and passing Stripe Account header

dusty wind
#

So we need to register it for each connected user?

open topaz
#

Yes

dusty wind
#

Do we just need to do it when we connect them the first time?

open topaz
#

Yep

#

I know I already linked it above but that shows you how to do it

dusty wind
#

When I read it now I understand it that way but it wasn't registering with me that way when I was reading it before.

#

Okay we will try that.

open topaz
#

Great! Yes Apple Pay with Connect is quite unique