Skip to content

Commit

Permalink
PAD: add acss_debit to the list of payment method types
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
  • Loading branch information
pierre committed Jun 21, 2023
1 parent ec31abc commit 13d61e3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,10 @@ public PaymentIntent execute(final Account account, final StripePaymentMethodsRe
// See https://groups.google.com/forum/?#!msg/killbilling-users/li3RNs-YmIA/oaUrBElMFQAJ
paymentMethodTypesBuilder.add("ach_debit");
}
if (transactionType == TransactionType.PURCHASE && currency == Currency.CAD) {
// See https://groups.google.com/g/killbilling-users/c/7nlIxYZd828/m/r82Tbnl7AAAJ
paymentMethodTypesBuilder.add("acss_debit");
}
paymentIntentParams.put("payment_method_types", paymentMethodTypesBuilder.build());

final StripeConfigProperties stripeConfigProperties = stripeConfigPropertiesConfigurationHandler.getConfigurable(context.getTenantId());
Expand Down

0 comments on commit 13d61e3

Please sign in to comment.