Skip to content

Commit

Permalink
Add required payment_method_types for multiple triggers (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Aug 24, 2023
1 parent e776ffe commit 45bdfd5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/fixtures/triggers/charge.disputed.created.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"params": {
"amount": 100,
"currency": "usd",
"payment_method_types": ["card"],
"payment_method": "pm_card_createDisputeInquiry",
"confirm": true,
"description": "(created by Stripe CLI)"
Expand Down
1 change: 1 addition & 0 deletions pkg/fixtures/triggers/charge.failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"params": {
"amount": 100,
"currency": "usd",
"payment_method_types": ["card"],
"payment_method": "pm_card_visa_chargeDeclined",
"confirm": true,
"description": "(created by Stripe CLI)"
Expand Down
1 change: 1 addition & 0 deletions pkg/fixtures/triggers/charge.refund.updated.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"params": {
"amount": 100,
"currency": "usd",
"payment_method_types": ["card"],
"payment_method": "pm_card_visa",
"confirm": true,
"description": "(created by Stripe CLI)"
Expand Down
1 change: 1 addition & 0 deletions pkg/fixtures/triggers/charge.refunded.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"params": {
"amount": 100,
"currency": "usd",
"payment_method_types": ["card"],
"payment_method": "pm_card_visa",
"confirm": true,
"description": "(created by Stripe CLI)"
Expand Down
1 change: 1 addition & 0 deletions pkg/fixtures/triggers/charge.succeeded.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"params": {
"amount": 100,
"currency": "usd",
"payment_method_types": ["card"],
"payment_method": "pm_card_visa",
"confirm": true,
"description": "(created by Stripe CLI)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"confirmation_method": "manual",
"currency": "usd",
"description": "(created by Stripe CLI)",
"payment_method_types": ["card"],
"payment_method": "pm_card_visa",
"return_url": "https://stripe.com"
}
Expand Down

0 comments on commit 45bdfd5

Please sign in to comment.