I am unable to update my API subscription. This goes only for one account. I am able to do it on another account. But the main account (which was already subscribed) is unable to subscribe, the subscription manager/payment page does not show. The console logs show 400 (Bad Request) - I wanted to update our subscription to 2000 image processings a month. I found out our subscription seems cancelled. (The problem is not on the account I am posting this from)
So I can take a look at this, can you share the email or first five digits of the API Key associated with the account you’d like to update?
Thanks!
Hello, thank you. Here is the start of the api key: 8c8009
Hey @JanStryhal66
It looks like you need to complete an additional authentication step on your account. Here’s some documentation on adding 3D secure authentication.
Let me know if you have any more questions.
Maddie
Hello, the trouble is, we can not even get to the page before payment. To the stripe interface. The system sends a bad request. I am getting a 400 Bad Request when the browser calls api.photoroom.com/v1/team-subscription/``....
Hey @JanStryhal66
I’m troubleshooting this issue with Stripe, can you send me the Payment Link URL or Payment Link ID you’re getting the 400 error for?
Thanks!
Here are the console logs for the request: TemplateExporter-BEEB5bJi.js:647 GET https://api.photoroom.com/v1/team-subscription/5f1204f7-bcc3-40da-8e87-01dd…9015.1771263830&analytics_session_id=1771263829¤cy=usd&quantity=2000 400 (Bad Request)
| a | @ | TemplateExporter-BEEB5bJi.js:647 | |
|---|---|---|---|
| (anonymous) | @ | TemplateExporter-BEEB5bJi.js:647 | |
| Eze | @ | TemplateExporter-BEEB5bJi.js:1910 |
| await in Eze | |||
|---|---|---|---|
| hse | @ | TemplateExporter-BEEB5bJi.js:1910 | |
| fvn | @ | TemplateExporter-BEEB5bJi.js:1910 |
| await in fvn | |||
|---|---|---|---|
| pse | @ | TemplateExporter-BEEB5bJi.js:1910 | |
| de | @ | TemplateExporter-BEEB5bJi.js:1973 | |
| mutationFn | @ | TemplateExporter-BEEB5bJi.js:1973 | |
| fn | @ | TemplateExporter-BEEB5bJi.js:1887 | |
| g | @ | TemplateExporter-BEEB5bJi.js:1887 | |
| start | @ | TemplateExporter-BEEB5bJi.js:1887 | |
| execute | @ | TemplateExporter-BEEB5bJi.js:1887 |
| await in execute | |||
|---|---|---|---|
| mutate | @ | TemplateExporter-BEEB5bJi.js:1887 | |
| (anonymous) | @ | TemplateExporter-BEEB5bJi.js:1973 | |
| iXt | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| aXt | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| oXt | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| Ope | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| jRe | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| (anonymous) | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| Yne | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| oRe | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| PH | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| Cne | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| CXt | @ | TemplateExporter-BEEB5bJi.js:1879 | |
| r | @ | TemplateExporter-BEEB5bJi.js:647 |
Hey @JanStryhal66 ,
It looks like the 400 error is due to issues with your card.
{
"error": {
"code": "card_declined","decline_code": "card_not_supported","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card is not supported.","param": "number","request_log_url": "https://dashboard.stripe.com/acct_1IVDi9El9AVRLibq/workbench/logs?object=req_SRRmcEts2dmJZ9","type": "card_error",
},
}
{
“error”: {
“code”: “incorrect_number”,
“doc_url”: “https://stripe.com/docs/error-codes/incorrect-number”,
“message”: “Your card number is incorrect.”,
“param”: “number”,
“request_log_url”: “Stripe Login | Sign in to the Stripe Dashboard,
“type”: “card_error”
}
}
The invoice was also failed because you need to set up the 3D authentication I linked above: Stripe Login | Sign in to the Stripe Dashboard
Try using this invoice link to update your card information/authentication Stripe Invoice
Thanks!