Skip to content

Commit

Permalink
Fix checkout.session.async_payments_* triggers (#503)
Browse files Browse the repository at this point in the history
* Fix small string/int conversion error

* Add setup_future_usage:off_session to checkout.session.async_payment* triggers

* Revert string/int conversion error
  • Loading branch information
ahlee-stripe committed Sep 23, 2020
1 parent 3d6267a commit 8f1f11b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/fixtures/fs_vfsdata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions triggers/checkout.session.async_payment_failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}
],
"payment_intent_data": {
"setup_future_usage": "off_session",
"shipping": {
"name": "Jenny Rosen",
"address": {
Expand Down
1 change: 1 addition & 0 deletions triggers/checkout.session.async_payment_succeeded.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}
],
"payment_intent_data": {
"setup_future_usage": "off_session",
"shipping": {
"name": "Jenny Rosen",
"address": {
Expand Down

0 comments on commit 8f1f11b

Please sign in to comment.