Skip to content

Commit

Permalink
fix triggers (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwu-stripe authored Feb 21, 2023
1 parent 02a9962 commit b779fc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions pkg/fixtures/triggers/checkout.session.async_payment_failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"params": {
"product": "${product:id}",
"unit_amount": "1500",
"currency": "gbp"
"currency": "eur"
}
},
{
Expand All @@ -30,7 +30,7 @@
"params": {
"success_url": "https://httpbin.org/post",
"cancel_url": "https://httpbin.org/post",
"payment_method_types": ["bacs_debit"],
"payment_method_types": ["sepa_debit"],
"mode": "payment",
"line_items": [
{
Expand Down Expand Up @@ -65,10 +65,9 @@
"path": "/v1/payment_methods",
"method": "post",
"params": {
"type": "bacs_debit",
"bacs_debit": {
"account_number": "33333335",
"sort_code": "108800"
"type": "sepa_debit",
"sepa_debit": {
"iban": "IT60X0542811101000000123456"
},
"billing_details": {
"email": "[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"params": {
"product": "${product:id}",
"unit_amount": "1500",
"currency": "gbp"
"currency": "eur"
}
},
{
Expand All @@ -29,7 +29,7 @@
"params": {
"success_url": "https://httpbin.org/post",
"cancel_url": "https://httpbin.org/post",
"payment_method_types": ["bacs_debit"],
"payment_method_types": ["sepa_debit"],
"mode": "payment",
"line_items": [
{
Expand Down

0 comments on commit b779fc2

Please sign in to comment.