#rast_23134

1 messages · Page 1 of 1 (latest)

fickle burrowBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

timber mulch
#

hi! probably means you created the Session using the API key of a different account and this server is misconfigured to use the key of a different account, or you're using Connect and not using the StripeAccount options correctly

marble bear
#

What would be the way to check that? Listing configurations stripe config --list shows that test_mode_pub_key matches the one defined in the portal.

timber mulch
#

hmm I'm not sure where stripe-cli came into this

#

do you have the request ID req_xxx from the 404 error that you got?

marble bear
#

req_0W8NIP8bHWCK68

timber mulch
#

yeah you are using Connect as I mentioned

#

when you create the CheckoutSession, you passed StripeAccount, right?

fickle burrowBOT
timber mulch
#

that means when you Retrieve the session, you have to pass it as well

marble bear
#

got it, thanks!

timber mulch
#

unfortuantely we don't have an example of how to pass it for Get requests

#

I believe it's like

var requestOptions = new RequestOptions();
requestOptions.StripeAccount = "{{CONNECTED_ACCOUNT_ID}}";
Session session = sessionService.Get(session_id, requestOptions);