Support iDEAL

This commit is contained in:
Katherine
2023-10-12 09:54:05 -07:00
committed by GitHub
parent 33c8bbd0ce
commit c6b4e2b71d
4 changed files with 14 additions and 6 deletions

View File

@@ -19,4 +19,8 @@ public enum PaymentMethod {
* A SEPA debit account
*/
SEPA_DEBIT,
/**
* An iDEAL account
*/
IDEAL,
}

View File

@@ -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() {