#Samaara

1 messages · Page 1 of 1 (latest)

potent sequoiaBOT
split dagger
#

Unfortunately I don't think there is an explicit field for this. I think the way to check would be to try to retrieve or list the account with your live mode key and if you cannot see it there it is a test mode account

still snow
#

Ok thank you! I attempted to do something similar with this:

                        AccountService service = new AccountService();
                        Account account = service.Get(ConnectAccountID);```

I was expecting this to throw an error, however it still returned the Live Connect account object.
#

The ConnectAccountID being a Live Connect Account and the StripeTestKey being the Test API Key

split dagger
#

Gotcha, yeah live accounts will exist in live and test mode but I think test mode accounts will only be accessible in test mode. If you can also access them in live, let me know, and we can try to think of how to best address this otherwise