mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 12:08:05 +01:00
Support iDEAL
This commit is contained in:
@@ -19,4 +19,8 @@ public enum PaymentMethod {
|
||||
* A SEPA debit account
|
||||
*/
|
||||
SEPA_DEBIT,
|
||||
/**
|
||||
* An iDEAL account
|
||||
*/
|
||||
IDEAL,
|
||||
}
|
||||
|
||||
@@ -107,7 +107,9 @@ public class StripeManager implements SubscriptionProcessorManager {
|
||||
|
||||
@Override
|
||||
public boolean supportsPaymentMethod(PaymentMethod paymentMethod) {
|
||||
return paymentMethod == PaymentMethod.CARD || paymentMethod == PaymentMethod.SEPA_DEBIT;
|
||||
return paymentMethod == PaymentMethod.CARD
|
||||
|| paymentMethod == PaymentMethod.SEPA_DEBIT
|
||||
|| paymentMethod == PaymentMethod.IDEAL;
|
||||
}
|
||||
|
||||
private RequestOptions commonOptions() {
|
||||
|
||||
Reference in New Issue
Block a user