Skip to content

Commit 78ee099

Browse files
1.0.5
1 parent 775304c commit 78ee099

File tree

2 files changed

+35
-18
lines changed

2 files changed

+35
-18
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/ginger-payments"
3-
,"version": "1.0.4"
3+
,"version": "1.0.5"
44
,"description": "The «Ginger Payments» payment extension for Magento 2."
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro/c/extensions/ginger-payments"

etc/adminhtml/system.xml

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -144,50 +144,67 @@ https://github.com/mage2pro/allpay/blob/1.1.33/etc/adminhtml/system.xml?ts=4#L31
144144
</depends>
145145
</field>
146146
<field
147-
id='btCheckoutMessage'
147+
id='description'
148148
translate='label'
149149
type='textarea'
150150
sortOrder='8'
151151
showInDefault='1'
152152
showInWebsite='1'
153153
showInStore='1'
154154
>
155-
<label>Bank Transfer checkout message</label>
156-
<comment><![CDATA[It will be displayed to a customer on the Magento checkout screen before an order placement.]]></comment>
155+
<label>Description</label>
156+
<comment><![CDATA[It will be displayed in the Ginger Payments merchant interface alongside the payment.<br/>You can use <a href='https://mage2.pro/t/1834' target='_blank'>variables</a> in the description.]]></comment>
157157
<depends><field id='enable'>1</field></depends>
158158
</field>
159159
<field
160-
id='description'
160+
id='metadata'
161161
translate='label'
162-
type='textarea'
162+
type='Df\Framework\Form\Element\Multiselect'
163163
sortOrder='9'
164164
showInDefault='1'
165165
showInWebsite='1'
166166
showInStore='1'
167167
>
168-
<label>Description</label>
169-
<comment><![CDATA[It will be displayed in the Ginger Payments merchant interface alongside the payment.<br/>You can use <a href='https://mage2.pro/t/1834' target='_blank'>variables</a> in the description.]]></comment>
168+
<label>Metadata</label>
169+
<source_model>Df\Payment\Metadata</source_model>
170+
<comment><![CDATA[It will be displayed in the Ginger Payments merchant interface alongside the payment.]]></comment>
170171
<depends><field id='enable'>1</field></depends>
171172
</field>
172173
<field
173-
id='metadata'
174+
id='btCheckoutMessage'
174175
translate='label'
175-
type='Df\Framework\Form\Element\Multiselect'
176+
type='textarea'
176177
sortOrder='10'
177178
showInDefault='1'
178179
showInWebsite='1'
179180
showInStore='1'
180181
>
181-
<label>Metadata</label>
182-
<source_model>Df\Payment\Metadata</source_model>
183-
<comment><![CDATA[It will be displayed in the Ginger Payments merchant interface alongside the payment.]]></comment>
182+
<label>Bank Transfer checkout message</label>
183+
<comment><![CDATA[It will be displayed to a customer on the Magento checkout screen before an order placement.]]></comment>
184+
<depends><field id='enable'>1</field></depends>
185+
</field>
186+
<field
187+
id='btInstructions'
188+
translate='label'
189+
type='Df\Framework\Form\Element\Textarea'
190+
dfRows='9'
191+
sortOrder='11'
192+
showInDefault='1'
193+
showInWebsite='1'
194+
showInStore='1'
195+
>
196+
<label>Bank Transfer payment instructions</label>
197+
<comment><![CDATA[It will be displayed to a customer:<ul class='df-note'>
198+
<li>on the Magento «<b>checkout success</b>» screen just after an order placement;</li>
199+
<li>on an <b>order page</b> in the «Order Information» → «Payment Method» block (the bottom-right corner);</li>
200+
<li>on an order confirmation <b>email</b>.</li></ul>]]></comment>
184201
<depends><field id='enable'>1</field></depends>
185202
</field>
186203
<field
187204
id='requireBillingAddress'
188205
translate='label'
189206
type='Df\Framework\Form\Element\Checkbox'
190-
sortOrder='11'
207+
sortOrder='12'
191208
showInDefault='1'
192209
showInWebsite='1'
193210
showInStore='1'
@@ -201,7 +218,7 @@ https://github.com/mage2pro/allpay/blob/1.1.33/etc/adminhtml/system.xml?ts=4#L31
201218
id='min_order_total'
202219
translate='label'
203220
type='text'
204-
sortOrder='12'
221+
sortOrder='13'
205222
showInDefault='1'
206223
showInWebsite='1'
207224
showInStore='1'
@@ -215,7 +232,7 @@ https://github.com/mage2pro/allpay/blob/1.1.33/etc/adminhtml/system.xml?ts=4#L31
215232
id='max_order_total'
216233
translate='label'
217234
type='text'
218-
sortOrder='13'
235+
sortOrder='14'
219236
showInDefault='1'
220237
showInWebsite='1'
221238
showInStore='1'
@@ -229,7 +246,7 @@ https://github.com/mage2pro/allpay/blob/1.1.33/etc/adminhtml/system.xml?ts=4#L31
229246
id='country_restriction'
230247
translate='label'
231248
type='select'
232-
sortOrder='14'
249+
sortOrder='15'
233250
showInDefault='1'
234251
showInWebsite='1'
235252
showInStore='1'
@@ -242,7 +259,7 @@ https://github.com/mage2pro/allpay/blob/1.1.33/etc/adminhtml/system.xml?ts=4#L31
242259
id='countries'
243260
translate='label'
244261
type='Df\Framework\Form\Element\Multiselect'
245-
sortOrder='15'
262+
sortOrder='16'
246263
showInDefault='1'
247264
showInWebsite='1'
248265
showInStore='1'

0 commit comments

Comments
 (0)