Skip to content

Commit

Permalink
Migrate fixtures off Checkout endpoint that will be deprecated (strip…
Browse files Browse the repository at this point in the history
…e#623)

* Update checkout.session.completed

* Update checkout.session.async_payment_succeeded

* Update checkout.session.async_payment_failed
  • Loading branch information
vcheung-stripe authored Apr 7, 2021
1 parent 0a1dd1c commit 48cdd80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@
{
"name": "payment_page",
"expected_error_type": "invalid_request_error",
"path": "/v1/payment_pages",
"method": "get",
"params": {
"session_id": "${checkout_session:id}"
}
"path": "/v1/payment_pages/${checkout_session:id}",
"method": "get"
},
{
"name": "payment_method",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@
},
{
"name": "payment_page",
"path": "/v1/payment_pages",
"method": "get",
"params": {
"session_id": "${checkout_session:id}"
}
"path": "/v1/payment_pages/${checkout_session:id}",
"method": "get"
},
{
"name": "payment_method",
Expand Down
7 changes: 2 additions & 5 deletions pkg/fixtures/triggers/checkout.session.completed.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@
},
{
"name": "payment_page",
"path": "/v1/payment_pages",
"method": "get",
"params": {
"session_id": "${checkout_session:id}"
}
"path": "/v1/payment_pages/${checkout_session:id}",
"method": "get"
},
{
"name": "payment_method",
Expand Down

0 comments on commit 48cdd80

Please sign in to comment.