#d3levv

1 messages · Page 1 of 1 (latest)

quiet charmBOT
#

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.

  • d3levv, 14 hours ago, 13 messages
dense granite
bronze ridge
#

No logs, i will check firebase now

dense granite
#

We don't really know anything about the extension, so if it's an error specific to that you should file an issue on the repo

#

(it's a third-party library)

#

But if you have a req_xxx from your Stripe account then I can take a look!

bronze ridge
#

Extention is not being used at all apart from creating stripe account when new user sings-up

dense granite
#

Then I need to see the API request that is failing so I can see parameters you're passing etc

bronze ridge
#
    "error": {
        "type": "StripeInvalidRequestError",
        "raw": {
            "message": "Unrecognized request URL (POST: /v1/payment_methods//detach). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
            "type": "invalid_request_error",
            "headers": {
                "server": "nginx",
                "date": "Tue, 30 Jan 2024 10:32:51 GMT",
                "content-type": "application/json",
                "content-length": "388",
                "connection": "keep-alive",
                "access-control-allow-credentials": "true",
                "access-control-allow-methods": "GET,HEAD,PUT,PATCH,POST,DELETE",
                "access-control-allow-origin": "*",
                "access-control-expose-headers": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
                "access-control-max-age": "300",
                "vary": "Origin",
                "strict-transport-security": "max-age=63072000; includeSubDomains; preload"
            },
            "statusCode": 404
        },
        "rawType": "invalid_request_error",
}``` this is the error
#

If no logs, then maybe is the extension itself

dense granite
#

/v1/payment_methods//detach there's an additional slash in your URL path

#

Well, actually the :id is missing

#

Should be /v1/payment_methods/:id/detach

#

So whatever logic you have that sets :id isn't working as you expect

bronze ridge
#

Thanks, it was corrupted data. My bad, sorry for wasting your time fella...