Skip to content

Conversation

@vishal-sood
Copy link

Reviewers

r? @
cc @stripe/developer-products

Summary

Triggering the payment_method.detached event using the CLI (v1.20.0) is failing with the following error:

Trigger failed: Request failed, status=404, body={
  "error": {
    "code": "resource_missing",
    "doc_url": " https://stripe.com/docs/error-codes/resource-misssing",
    "message" "No such PaymentMethod: '${payment_method_attach.id}'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication",
    "param": "payment_method",
    "request_log_url": <redacted>,
    "type": "invalid_request_error"
  }
}

This PR updates the fixture which should resolve this issue!

@vishal-sood vishal-sood requested a review from a team as a code owner June 19, 2024 21:15
@CLAassistant
Copy link

CLAassistant commented Jun 19, 2024

CLA assistant check
All committers have signed the CLA.

@vishal-sood vishal-sood changed the title Fix trigger file for payment_method.detached event Fix trigger fixture for payment_method.detached event Jun 19, 2024
@tomas-stripe
Copy link
Contributor

Thanks for the bug report! There was an additional tweak needed to this fixture that was fixed in #1236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants