Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trigger fixture for payment_method.detached event #1207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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.

None yet

2 participants