Skip to content
Snippets Groups Projects
Commit cf18130d authored by mattwire's avatar mattwire
Browse files

Filter support for ach_debit if currency is not USD

parent 65bf8b86
Branches
Tags
1 merge request!217Implement Stripe Checkout (with support for SEPA and ACH)
......@@ -242,6 +242,12 @@ class CRM_Core_Payment_StripeCheckout extends CRM_Core_Payment_Stripe {
}
break;
case 'ach_debit':
if ($propertyBag->getCurrency() === 'USD') {
$result[] = $paymentMethod;
}
break;
default:
$result[] = $paymentMethod;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment