Skip to content

Commit

Permalink
Update subscription triggers to use test tokens (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheung-stripe committed Sep 7, 2023
1 parent 00d9e28 commit fe928e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions pkg/fixtures/triggers/subscription.payment_failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"params": {
"type": "card",
"card": {
"number": "4000000000000341",
"exp_month": 10,
"exp_year": 2026,
"cvc": 314
"token": "tok_chargeCustomerFail"
}
}
},
Expand Down
7 changes: 2 additions & 5 deletions pkg/fixtures/triggers/subscription.payment_succeeded.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@
"params": {
"type": "card",
"card": {
"number": "4242424242424242",
"exp_month": 10,
"exp_year": 2026,
"cvc": 314
}
"token": "tok_visa"
}
}
},
{
Expand Down

0 comments on commit fe928e3

Please sign in to comment.