Skip to content

Commit

Permalink
Ideal issuer select doesn't have a bank selected by default anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Hintum committed Jul 7, 2023
1 parent 53134f7 commit 156ca59
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release notes for Buckaroo Gateway for Craft Commerce

## 1.5.0 - 2023-07-07
### Changed
- Ideal issuer select doesn't have a bank selected by default anymore

## 1.4.0 - 2023-07-06
### Changed
- Updated list of issuers
Expand Down
7 changes: 4 additions & 3 deletions src/templates/idealPaymentForm.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<div class="buckaroo-form">
<select name="issuer">
{% for id, name in issuers %}
<select name="issuer" required>
<option disabled selected value="">{{ 'ideal:issuer:placeholder'|t('commerce-buckaroo') }}</option>
{% for id, name in issuers %}
<option value="{{ id }}">{{ name }}</option>
{% endfor %}
{% endfor %}
</select>
</div>
5 changes: 5 additions & 0 deletions src/translations/en/commerce-buckaroo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'ideal:issuer:placeholder' => 'Select your bank',
];
5 changes: 5 additions & 0 deletions src/translations/nl/commerce-buckaroo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'ideal:issuer:placeholder' => 'Kies jouw bank',
];

0 comments on commit 156ca59

Please sign in to comment.