-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The more information we have the easier it is for us to help. Feel free to remove any sections that might not apply
Issue
Describe what happened and what you were trying to do
- Using a stripe fixture, I want to create a new customer, add a bank account to the customer, an verify the bank account.
- Ultimate goal is to be able to trigger a
charge.pending
web hook event. - Perceived problem: when using dynamic IDs in a fixture (ex: ${bank_account:id}) for the
path
, the/verify
is somehow lost in the valuepath: /v1/customers/:id/sources/:id/verify
, resulting in a failure.
Expected Behavior
Tell us what you expected to happen
- A customer is created with a verified bank account as the default payment method
Steps to reproduce
What are the steps we can take to reproduce this and verify it's fixed?
-
Using attached file
bank.verify.fails.json
, runstripe fixtures bank.verify.fails.json
- Expected: A new customer is created with a verified bank account
- Actual:
Running fixture: bank.verify.fails.json
Setting up fixture for: customer
Running fixture for: customer
Setting up fixture for: bank_account
Running fixture for: bank_account
Setting up fixture for: bank_account_verify
Running fixture for: bank_account_verify
Request failed, status=400, body={
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: amounts",
"param": "amounts",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_vGGBD3SVjZbPkK?t=1748551143",
"type": "invalid_request_error"
}
}
- Retrieve and note the customer id and bank account id from the Stripe dashboard
- Using the attached file
bank.verify.json
, manually fill in the customer id and the bank account id - Run
stripe fixtures bank.verify.json
- Expected: Customer bank is verified
Traceback
Share any debug output that was given by the CLI
Environment
Select one of: macOS, Linux, Windows, Other
- macOS
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working