#tyson
1 messages · Page 1 of 1 (latest)
hi! what's your specific question?
So portal session call is working in postman.
"id": "bps_1MP8qOEmAsCUvewdro0EPzIS",
"object": "billing_portal.session",
"configuration": "bpc_1MP7wPEmAsCUvewdqP98IkHr",
"created": 1673460972,
"customer": "cus_N79uadMzYjWJpr",
"flow": null,
"livemode": false,
"locale": null,
"on_behalf_of": null,
"return_url": null,
"url": "https://billing.stripe.com/p/session/test_YWNjdF8xTHNWM2lFbUFzQ1V2ZXdkLF9OOVJqakxES21uWVRoN0JZZmFOcDNpS3Jtc1JFVUQ40100VteCqN9m"
}
But failing in my application any idea why this is ?
no, I don't have an idea. What do you mean by 'failing', what's failing exactly, with what error message, what code?
There was an issue setting up your call.
Raw response for the API
Status code 400
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such customer: 'cus_N79uadMzYjWJpr'",
"param": "customer",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_Jl80iLAAML7FOM?t=1673515576",
"type": "invalid_request_error"
}
}
above message may help you
seems like you're using the wrong API key
you're referring to a Customer cus_N79uadMzYjWJpr which doesn't exist on that account "Podiiium" you're using, it exists on an entirely different Stripe account with the name podiiium.app
Yeah which is the connect account on my platform
I have used the stripe-account header as that account and thought it would work and it does on postman but not in my app
how does your app do it, what does the code look like?
Like so
that's not an app though, that's postman again?
then is that the problem?
Stripe-Account
if you fix the typo does that work?