#Srujan
1 messages · Page 1 of 1 (latest)
Hello! Let me have a look at the other thread...
There's a lot going on but mostly from alex-stripe is where I got this info
Okay, so it sounds like you were trying to use a connected account created in test mode with live mode keys, and that wasn't working, correct?
Opposite, it was a connect account created in live mode using test mode keys
And that wasn't working
Apparently I need a connect account created in test mode with test mode keys for google pay to work. Testing it out by creating payment intents manually with curl I was able to get a successful google payment
So I'm wondering if the same restriction applies to apple?
I'm not aware of the restriction you're talking about, still going through the other thread to understand the core issue...
Okay, I read through the previous thread, and I'm not really sure what the previous person was talking about. If you have an account connected to your platform in live mode you can use Google Pay in test mode just fine. You can also use Apple Pay in test mode just fine, but only after you validate the Apple Pay domain in live mode.
Can you tell me more about what exactly was stopping you from testing Google Pay with an account connected in live mode?
I'm also investigating more internally; maybe this is just something I'm not aware of.
Ah, I found it. The specific issue you're experiencing is unique to Google Pay, and only happens when you don't have a test connection to the connected account (in addition to the live connection). If you establish a test connection to the connected account in addition to the live mode connection Google Pay should work fine in both live and test.
We do have a test connection I'm assuming unless I don't really know what that is
Like I can observe payments in test mode with this account ID and this is what we've been using acct_1LowvdDTwu9XYxBB
but that didn't work for google pay
so I had to use acct_1LT8QGQo4ogIFLAC
ideally I would only use the first one
if it's not test connected, how do I make it so?
Yeah, you're only connected to that first account, acct_1LowvdDTwu9XYxBB, in live mode. You can establish a test mode connection to it as well using Oauth.
Do you mind sharing some links to docs explaining this process?
I'm still confused, and this is posted on that page you linked. ```OAuth is not recommended for new Connect platforms. We recommend using Connect Onboarding for Standard accounts instead.
Starting in June 2021, Platforms using OAuth with read_write scope won’t be able to connect to accounts that are controlled by another platform.```
I don't see mention of test mode connection though
It's fine to use in test mode for a situation like this. You can create the OAuth link using your test mode client ID instead of your live mode client ID.
where do I do this? On my server?
Step 4 happens on your server, yeah.
Is there a way to do this with curl commands?
I'm just confused as to how I'm supposed to set this up. I'm not trying to create new accounts, I'm just trying to make acct_1LowvdDTwu9XYxBB test connected.
I already have a test mode created connect account like this one acct_1LT8QGQo4ogIFLACbut I would have to change my endpoints for creating the paymentIntent to use this one only for google pay
Right, I'm trying to help you establish a connection from your platform to acct_1LowvdDTwu9XYxBB in test mode. You use OAuth to do that. Basically you create the OAuth link using the approach in the docs, visit it while logged in as the connected account, then complete the connection process. You can do it manually if you want by grabbing the access token and making the final requests by hand.
Ah I see, thank you
So i'm at the platform settings, do I grab the live mode client_id or test mode client_id?
Test mode.
and do I need to set a redirect uri if i'm trying to do this manually?
So acct_1LowvdDTwu9XYxBB is my primary account I'm trying to use. it shows it can't connect to itself. Am I missing something here?
Ah, wait, maybe I misunderstood. Which account is the platform account?
I'm confused as to what you mean by platform account? It's called SSA primary in the dashboard, that's where we can see all of our live and test mode connect accounts
acct_1LowvdDTwu9XYxBB is the live mode connect account that we are using test keys for payments on local and dev
The platform account is the primary account that all the other accounts connect to.
so yeah the name is SSA primary