-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add crypto payment method to payment sheet
- Loading branch information
1 parent
8d31fdb
commit defc490
Showing
19 changed files
with
934 additions
and
3 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
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 |
---|---|---|
|
@@ -877,7 +877,34 @@ | |
} | ||
} | ||
} | ||
}, | ||
}, | ||
{ | ||
"type": "crypto", | ||
"async": false, | ||
"selector_icon": { | ||
"light_theme_png": "https://js.stripe.com/v3/fingerprinted/img/payment-methods/[email protected]", | ||
"light_theme_svg": "https://js.stripe.com/v3/fingerprinted/img/payment-methods/icon-pm-crypto-15fd4ffeafd1b13e40688c8a06d79ba4.svg", | ||
"dark_theme_png": "https://js.stripe.com/v3/fingerprinted/img/payment-methods/[email protected]", | ||
"dark_theme_svg": "https://js.stripe.com/v3/fingerprinted/img/payment-methods/icon-pm-crypto_dark-f19bb5c5400c6cde94dd53b7f1ce7217.svg" | ||
}, | ||
"fields": [ | ||
], | ||
"next_action_spec": { | ||
"confirm_response_status_specs": { | ||
"requires_action": { | ||
"type": "redirect_to_url" | ||
} | ||
}, | ||
"post_confirm_handling_pi_status_specs": { | ||
"succeeded": { | ||
"type": "finished" | ||
}, | ||
"requires_action": { | ||
"type": "canceled" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "mobilepay", | ||
"async": false, | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ extension PaymentSheet { | |
.sunbit, | ||
.billie, | ||
.satispay, | ||
.crypto, | ||
.boleto, | ||
.swish, | ||
.twint, | ||
|
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
18 changes: 18 additions & 0 deletions
18
...ymentSheetLPMConfirmFlowTests/testCryptoConfirmFlows/0000_post_create_payment_intent.tail
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
...Tests/testCryptoConfirmFlows/0001_get_v1_payment_intents_pi_3QNinPFY0qyl6XeW1C6tfI7s.tail
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
99 changes: 99 additions & 0 deletions
99
...tCryptoConfirmFlows/0002_post_v1_payment_intents_pi_3QNinPFY0qyl6XeW1C6tfI7s_confirm.tail
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
95 changes: 95 additions & 0 deletions
95
...Tests/testCryptoConfirmFlows/0003_get_v1_payment_intents_pi_3QNinPFY0qyl6XeW1C6tfI7s.tail
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.