Skip to content

Commit

Permalink
feat(payment): ADYEN-242 Added notice to Adyen vaulted cards at My ac…
Browse files Browse the repository at this point in the history
…count page
  • Loading branch information
vitalii-koshovyi committed Aug 23, 2021
1 parent 760ad1d commit d6188af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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
- Google AMP feature request - Add in release date info for preorder products. [#2107](https://github.com/bigcommerce/cornerstone/pull/2107)
- Added description field below payment provider name on "My Account" -> "Payment Methods" page. [#2111](https://github.com/bigcommerce/cornerstone/pull/2111)

## 6.0.0 (08-06-2021)
- Translation mechanism for config.json has been updated. [#2089](https://github.com/bigcommerce/cornerstone/pull/2089)
Expand Down
5 changes: 4 additions & 1 deletion templates/components/account/payment-methods-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<h4 class="paymentMethodsTitle">
{{display_name}}
</h4>
{{#if description}}
<p>{{description}}</p>
{{/if}}
<div class="paymentMethodsGrid">
{{#each stored_instruments}}
<div class="paymentMethodsGrid-item">
Expand All @@ -18,7 +21,7 @@ <h4 class="paymentMethodsTitle">
{{!-- If credit card STARTS --}}
{{#if brand}}
{{#inArray ../../theme_settings.supported_card_type_icons brand }}
<img class="methodHeader-icon" src="{{cdn (concat (concat 'img/payment-methods/' brand) '.svg')}}" alt="{{lang (concat 'account.payment_methods.card_types.' brand)}}" title="{{lang (concat 'account.payment_methods.card_types.' brand)}}">
<img class="methodHeader-icon" src="{{cdn ( get 'string' (concat (concat 'img/payment-methods/' brand) '.svg'))}}" alt="{{lang (concat 'account.payment_methods.card_types.' brand)}}" title="{{lang (concat 'account.payment_methods.card_types.' brand)}}">
{{/inArray}}
<span class="methodHeader-brand">{{lang (concat 'account.payment_methods.card_types.' brand)}} {{lang 'account.payment_methods.card_ending_in' last_four=last_4}}</span>
{{else}}
Expand Down

0 comments on commit d6188af

Please sign in to comment.