-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add detaching payment method test in
CustomerSheetTest
- Loading branch information
1 parent
9ad0c3e
commit e4979af
Showing
4 changed files
with
151 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
paymentsheet/src/androidTest/resources/payment-methods-detach.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"id": "pm_67890", | ||
"object": "payment_method", | ||
"billing_details": { | ||
"address": { | ||
"city": null, | ||
"country": "AE", | ||
"line1": null, | ||
"line2": null, | ||
"postal_code": null, | ||
"state": null | ||
}, | ||
"email": null, | ||
"name": "CustomerSheet Testing", | ||
"phone": null | ||
}, | ||
"card": { | ||
"brand": "visa", | ||
"checks": { | ||
"address_line1_check": null, | ||
"address_postal_code_check": null, | ||
"cvc_check": null | ||
}, | ||
"country": "US", | ||
"display_brand": "visa", | ||
"exp_month": 12, | ||
"exp_year": 2034, | ||
"fingerprint": "LzD7yFi1Cp2DJQs7", | ||
"funding": "credit", | ||
"generated_from": null, | ||
"last4": "4242", | ||
"networks": { | ||
"available": [ | ||
"visa" | ||
], | ||
"preferred": null | ||
}, | ||
"three_d_secure_usage": { | ||
"supported": true | ||
}, | ||
"wallet": null | ||
}, | ||
"created": 1712554485, | ||
"customer": null, | ||
"livemode": false, | ||
"type": "card" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters