Skip to content

Commit

Permalink
feat(payment): PI-1672 added SEPA and ECP stored bank accounts types
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalii-koshovyi committed Feb 26, 2024
1 parent 9cf610d commit 8124984
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Draft
- Remove shop_by_price: true from category.html [#2431](https://github.com/bigcommerce/cornerstone/pull/2431)
- Added SEPA and ECP stored bank accounts typesto the Payment methods page [#2434](https://github.com/bigcommerce/cornerstone/pull/2434)

## 6.13.0 (02-12-2024)
- Fix HTML markup for product listing and below content region [#2426](https://github.com/bigcommerce/cornerstone/pull/2426)
Expand Down
70 changes: 70 additions & 0 deletions assets/img/payment-methods/sepa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@
"visa": "Visa"
},
"ach": "ACH",
"sepa_direct_debit": "SEPA Direct Debit",
"paypal": "PayPal",
"billing_address_labels": {
"address_line_1": "Address Line 1",
Expand Down
6 changes: 6 additions & 0 deletions templates/components/account/payment-methods-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ <h4 class="paymentMethodsTitle">
{{#if ../methodId '===' 'ach'}}
<img class="methodHeader-icon" src="{{cdn 'img/payment-methods/ach.svg'}}" alt="{{lang 'account.payment_methods.ach'}}" title="{{lang 'account.payment_methods.ach'}}">
<span class="methodHeader-brand">{{lang 'account.payment_methods.bank_account'}} {{lang 'account.payment_methods.card_ending_in' last_four=masked_account_number}}</span>
{{else if ../methodId '===' 'ecp'}}
<img class="methodHeader-icon" src="{{cdn 'img/payment-methods/ach.svg'}}" alt="{{lang 'account.payment_methods.ach'}}" title="{{lang 'account.payment_methods.ach'}}">
<span class="methodHeader-brand">{{lang 'account.payment_methods.bank_account'}} {{lang 'account.payment_methods.card_ending_in' last_four=masked_account_number}}</span>
{{else if ../methodId '===' 'sepa_direct_debit'}}
<img class="methodHeader-icon" src="{{cdn 'img/payment-methods/sepa.svg'}}" alt="{{lang 'account.payment_methods.sepa_direct_debit'}}" title="{{lang 'account.payment_methods.sepa_direct_debit'}}">
<span class="methodHeader-brand">{{lang 'account.payment_methods.bank_account'}} {{masked_account_number}}</span>
{{else}}
<img class="methodHeader-icon" src="{{cdn 'img/payment-methods/card.svg'}}" alt="{{lang 'account.payment_methods.card_types.credit_card'}}" title="{{lang 'account.payment_methods.card_types.credit_card'}}">
<span class="methodHeader-brand">{{lang 'account.payment_methods.payment_method'}}</span>
Expand Down

0 comments on commit 8124984

Please sign in to comment.