Skip to content

Commit

Permalink
Enable Eps, Giropay, p24, klarna and paypal in payment sheet (#4489)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyler-stripe authored Jan 4, 2022
1 parent d14a567 commit 038e5da
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ internal sealed class SupportedPaymentMethod(
* This is a list of the payment methods that we are allowing in the release
*/
@VisibleForTesting
internal val exposedPaymentMethods = listOf(Card, Bancontact, Sofort, Ideal, SepaDebit)
internal val exposedPaymentMethods = listOf(
Card, Bancontact, Sofort, Ideal, SepaDebit, Eps, Giropay, P24, Klarna, PayPal
)

/**
* This will use only those payment methods that are allowed in the release
Expand Down
16 changes: 8 additions & 8 deletions paymentsheet/src/test/resources/klarna-support.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ klarna, true, true, on_session, false, card/klarna, false, false, not available,
klarna, true, true, on_session, false, card/eps/klarna, false, false, not available, false
klarna, true, false, on_session, false, card/klarna, false, false, not available, false
klarna, true, false, on_session, false, card/eps/klarna, false, false, not available, false
klarna, true, true, null, false, card/klarna, false, true, oneTime, false
klarna, true, true, null, false, card/eps/klarna, false, true, oneTime, false
klarna, true, false, null, false, card/klarna, false, true, oneTime, false
klarna, true, false, null, false, card/eps/klarna, false, true, oneTime, false
klarna, true, true, null, false, card/klarna, false, true, oneTime, true
klarna, true, true, null, false, card/eps/klarna, false, true, oneTime, true
klarna, true, false, null, false, card/klarna, false, true, oneTime, true
klarna, true, false, null, false, card/eps/klarna, false, true, oneTime, true
klarna, false, true, off_session, false, card/klarna, false, false, not available, false
klarna, false, true, off_session, false, card/eps/klarna, false, false, not available, false
klarna, false, false, off_session, false, card/klarna, false, false, not available, false
Expand All @@ -19,7 +19,7 @@ klarna, false, true, on_session, false, card/klarna, false, false, not available
klarna, false, true, on_session, false, card/eps/klarna, false, false, not available, false
klarna, false, false, on_session, false, card/klarna, false, false, not available, false
klarna, false, false, on_session, false, card/eps/klarna, false, false, not available, false
klarna, false, true, null, false, card/klarna, false, true, oneTime, false
klarna, false, true, null, false, card/eps/klarna, false, true, oneTime, false
klarna, false, false, null, false, card/klarna, false, true, oneTime, false
klarna, false, false, null, false, card/eps/klarna, false, true, oneTime, false
klarna, false, true, null, false, card/klarna, false, true, oneTime, true
klarna, false, true, null, false, card/eps/klarna, false, true, oneTime, true
klarna, false, false, null, false, card/klarna, false, true, oneTime, true
klarna, false, false, null, false, card/eps/klarna, false, true, oneTime, true
16 changes: 8 additions & 8 deletions paymentsheet/src/test/resources/paypal-support.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ paypal, true, true, on_session, false, card/paypal, false, false, not available,
paypal, true, true, on_session, false, card/eps/paypal, false, false, not available, false
paypal, true, false, on_session, false, card/paypal, false, false, not available, false
paypal, true, false, on_session, false, card/eps/paypal, false, false, not available, false
paypal, true, true, null, false, card/paypal, false, true, oneTime, false
paypal, true, true, null, false, card/eps/paypal, false, true, oneTime, false
paypal, true, false, null, false, card/paypal, false, true, oneTime, false
paypal, true, false, null, false, card/eps/paypal, false, true, oneTime, false
paypal, true, true, null, false, card/paypal, false, true, oneTime, true
paypal, true, true, null, false, card/eps/paypal, false, true, oneTime, true
paypal, true, false, null, false, card/paypal, false, true, oneTime, true
paypal, true, false, null, false, card/eps/paypal, false, true, oneTime, true
paypal, false, true, off_session, false, card/paypal, false, false, not available, false
paypal, false, true, off_session, false, card/eps/paypal, false, false, not available, false
paypal, false, false, off_session, false, card/paypal, false, false, not available, false
Expand All @@ -19,7 +19,7 @@ paypal, false, true, on_session, false, card/paypal, false, false, not available
paypal, false, true, on_session, false, card/eps/paypal, false, false, not available, false
paypal, false, false, on_session, false, card/paypal, false, false, not available, false
paypal, false, false, on_session, false, card/eps/paypal, false, false, not available, false
paypal, false, true, null, false, card/paypal, false, true, oneTime, false
paypal, false, true, null, false, card/eps/paypal, false, true, oneTime, false
paypal, false, false, null, false, card/paypal, false, true, oneTime, false
paypal, false, false, null, false, card/eps/paypal, false, true, oneTime, false
paypal, false, true, null, false, card/paypal, false, true, oneTime, true
paypal, false, true, null, false, card/eps/paypal, false, true, oneTime, true
paypal, false, false, null, false, card/paypal, false, true, oneTime, true
paypal, false, false, null, false, card/eps/paypal, false, true, oneTime, true

0 comments on commit 038e5da

Please sign in to comment.