Skip to content

Commit

Permalink
Updating checkout.session.async_payment_suceeded with US payment meth…
Browse files Browse the repository at this point in the history
…od (#929)
  • Loading branch information
gracegoo-stripe committed Aug 4, 2022
1 parent 7ef2467 commit 718dfff
Showing 1 changed file with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"params": {
"success_url": "https://httpbin.org/post",
"cancel_url": "https://httpbin.org/post",
"payment_method_types": ["bacs_debit"],
"payment_method_types": ["card"],
"line_items": [
{
"name": "t-shirt",
"description": "comfortable cotton t-shirt",
"amount": 1500,
"currency": "gbp",
"currency": "usd",
"quantity": 2
}
],
Expand Down Expand Up @@ -45,21 +45,12 @@
"path": "/v1/payment_methods",
"method": "post",
"params": {
"type": "bacs_debit",
"bacs_debit": {
"account_number": "00012345",
"sort_code": "108800"
"type": "card",
"card": {
"token": "tok_visa"
},
"billing_details": {
"email": "[email protected]",
"name": "Jenny Rosen",
"phone": "1234567890",
"address": {
"line1": "71 Crown Street",
"city": "London",
"postal_code": "W10 2WB",
"country": "GB"
}
"email": "[email protected]"
}

This comment has been minimized.

}
},
Expand Down

0 comments on commit 718dfff

Please sign in to comment.