Stripe connect test token support

686 views
Skip to first unread message

Claudio

unread,
Dec 5, 2014, 4:12:25 AM12/5/14
to api-d...@lists.stripe.com
Hi,
I have a problem with Stripe connect. 
After completing the auth process I need to store live and test keys (both access token and publishable key).
I'm generating test keys using the refresh token returned from Stripe Connect (as documented here).
To verify if everything works the server is making a request using the test keys to get account information. 

Sometimes I'm getting this error after doing that request:
Error: Invalid Token Error: Expired API key provided: 
sk_test_********************eTAz. Application access may have been revoked.

On the platform I'm developing a user can do more than one "Stripe connect" login and every time the server is requesting a new test token.
Since the tokens don't expire and I don't even have revoked the application, what could be the cause of this?

Thank you,

Claudio

Brian Krausz

unread,
Dec 8, 2014, 3:01:10 PM12/8/14
to api-d...@lists.stripe.com
Emailing Claudio off-list for specific debugging on their issue, but for those following along: you are able to maintain both livemode and testmode keys at the same time for Connect keys (i.e. generating test keys should not invalidate live keys).

--Brian

--
You received this message because you are subscribed to the Google Groups "Stripe API Discussion" group.
To post to this group, send email to api-d...@lists.stripe.com.
Visit this group at http://groups.google.com/a/lists.stripe.com/group/api-discuss/.

To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.

Reply all
Reply to author
Forward
0 new messages