diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b3ce31a13..19f8f42ccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - (sanitize product.description) in the theme results to ‘error length of description’ from Google indexing for lengthy product description [#2363](https://github.com/bigcommerce/cornerstone/pull/2363) - Added style configs to payment buttons [#2361](https://github.com/bigcommerce/cornerstone/pull/2361) - Bump Stencil utils to 6.15.1 [#2365][https://github.com/bigcommerce/cornerstone/pull/2365] +- Added ACH payment method section to My Account -> Payment Methods page [#2362](https://github.com/bigcommerce/cornerstone/pull/2362) ## 6.11.0 (05-24-2023) - Reverted fix for sold-out badge appearance [#2354](https://github.com/bigcommerce/cornerstone/pull/2354) diff --git a/assets/img/payment-methods/ach.svg b/assets/img/payment-methods/ach.svg new file mode 100644 index 0000000000..608f9ba134 --- /dev/null +++ b/assets/img/payment-methods/ach.svg @@ -0,0 +1,4 @@ + + + + diff --git a/lang/en.json b/lang/en.json index 2f06a8d140..131da67f0b 100755 --- a/lang/en.json +++ b/lang/en.json @@ -388,6 +388,7 @@ "payment_methods": { "heading": "Payment Methods", "payment_method": "Payment method", + "bank_account": "Bank account", "billing_address": "Billing address", "card_ending_in": "ending in {last_four}", "card_expiry": "{month}/{year}", @@ -409,6 +410,7 @@ "unionpay": "Union Pay", "visa": "Visa" }, + "ach": "ACH", "paypal": "PayPal", "billing_address_labels": { "address_line_1": "Address Line 1", diff --git a/templates/components/account/payment-methods-list.html b/templates/components/account/payment-methods-list.html index 966ff808d8..c3504880c6 100644 --- a/templates/components/account/payment-methods-list.html +++ b/templates/components/account/payment-methods-list.html @@ -33,10 +33,13 @@

{{#if type '===' 'stored_bank_account'}} {{!-- If bank_account STARTS --}} - {{lang 'account.payment_methods.card_types.credit_card'}} - {{ lang 'account.payment_methods.payment_method'}} + {{#if ../methodId '===' 'ach'}} + {{lang 'account.payment_methods.ach'}} + {{lang 'account.payment_methods.bank_account'}} {{lang 'account.payment_methods.card_ending_in' last_four=masked_account_number}} + {{else}} + {{lang 'account.payment_methods.card_types.credit_card'}} + {{lang 'account.payment_methods.payment_method'}} + {{/if}} {{!-- If bank_account ENDS --}} {{/if}}