Mollie Payments for WooCommerce - Version 2.2.1

Version Description

  • 18/04/2016 =
  • Add option for the Bank Transfer gateway to skip redirecting your users to the Mollie payment screen. Instead directly redirect to the WooCommerce order received page where payment instruction will be displayed. You can turn on this option on the Mollie Bank Transfer setting page: WooCommerce -> Settings -> Checkout -> Mollie - Bank Transfer.
Download this release

Release Info

Developer l.vangunst
Plugin Icon wp plugin Mollie Payments for WooCommerce
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

i18n/languages/mollie-payments-for-woocommerce-nl_NL.mo CHANGED
Binary file
i18n/languages/mollie-payments-for-woocommerce-nl_NL.po CHANGED
@@ -3,17 +3,17 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Mollie Payments for WooCommerce 2.0\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mollie-payments-"
7
  "for-woocommerce\n"
8
- "POT-Creation-Date: 2016-03-25 15:39+0100\n"
9
- "PO-Revision-Date: 2016-03-29 13:04+0200\n"
10
  "Last-Translator: Lennard van Gunst <lennard@mollie.com>\n"
11
  "Language-Team: Mollie <info@mollie.nl>\n"
12
  "Language: nl\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
- "X-Generator: Poedit 1.8.6\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-Basepath: ../..\n"
19
  "X-Poedit-SearchPath-0: .\n"
@@ -131,10 +131,10 @@ msgid "%s payment started (%s)."
131
  msgstr "%s betaling gestart (%s)."
132
 
133
  #: includes/mollie/wc/gateway/abstract.php:393
134
- #: includes/mollie/wc/gateway/abstract.php:558
135
- #: includes/mollie/wc/gateway/abstract.php:589
136
- #: includes/mollie/wc/gateway/abstract.php:614
137
- #: includes/mollie/wc/gateway/abstract.php:633
138
  msgid "test mode"
139
  msgstr "test modus"
140
 
@@ -145,26 +145,26 @@ msgstr "Kon geen %s betaling aanmaken."
145
 
146
  #. translators: Placeholder 1: payment method title, placeholder 2: payment
147
  #. status, placeholder 3: payment ID
148
- #: includes/mollie/wc/gateway/abstract.php:555
149
  msgid "%s payment %s (%s)."
150
  msgstr "%s betaling %s (%s)."
151
 
152
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
153
- #: includes/mollie/wc/gateway/abstract.php:587
154
  msgid "Order completed using %s payment (%s)."
155
  msgstr "Bestelling afgerond met %s betaling (%s)."
156
 
157
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
158
- #: includes/mollie/wc/gateway/abstract.php:612
159
  msgid "%s payment cancelled (%s)."
160
  msgstr "%s betaling geannuleerd (%s)."
161
 
162
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
163
- #: includes/mollie/wc/gateway/abstract.php:631
164
  msgid "%s payment expired (%s)."
165
  msgstr "%s betaling verlopen (%s)."
166
 
167
- #: includes/mollie/wc/gateway/abstract.php:647
168
  msgid ""
169
  "You have cancelled your payment. Please complete your order with a different "
170
  "payment method."
@@ -175,19 +175,19 @@ msgstr ""
175
  #. translators: Placeholder 1: currency, placeholder 2: refunded amount,
176
  #. placeholder 3: optional refund reason, placeholder 4: payment ID,
177
  #. placeholder 5: refund ID
178
- #: includes/mollie/wc/gateway/abstract.php:721
179
  msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
180
  msgstr "Terugstorting %s%s (reden: %s) - Payment ID: %s, Refund: %s"
181
 
182
- #: includes/mollie/wc/gateway/abstract.php:790
183
  msgid "Payment"
184
  msgstr "Betaling"
185
 
186
- #: includes/mollie/wc/gateway/abstract.php:811
187
  msgid "We have not received a definite payment status."
188
  msgstr "We hebben nog geen definitieve status van de betaling ontvangen."
189
 
190
- #: includes/mollie/wc/gateway/abstract.php:816
191
  msgid ""
192
  "We have not received a definite payment status. You will receive an email as "
193
  "soon as we receive a confirmation of the bank/merchant."
@@ -196,7 +196,7 @@ msgstr ""
196
  "een e-mail zodra wij een bevestiging van de bank ontvangen."
197
 
198
  #. translators: Placeholder 1: payment method
199
- #: includes/mollie/wc/gateway/abstract.php:823
200
  msgid "Payment completed with <strong>%s</strong>"
201
  msgstr "Betaling afgerond met <strong>%s</strong>"
202
 
@@ -211,11 +211,31 @@ msgstr ""
211
  "Aantal dagen waarna de betaling zal verlopen. Standaard <code>%d</code> dagen"
212
 
213
  #: includes/mollie/wc/gateway/banktransfer.php:43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  msgid "Mail payment instructions"
215
  msgstr "Mail betalingsinstructies"
216
 
217
  #. translators: Placeholder 1: enabled or disabled
218
- #: includes/mollie/wc/gateway/banktransfer.php:45
219
  msgid ""
220
  "Should Mollie automatically mail the payment instructions to the customer? "
221
  "Default <code>%s</code>"
@@ -223,12 +243,12 @@ msgstr ""
223
  "Laat Mollie automatisch de betaalinstructies mailen naar de klant. Standaard "
224
  "<code>%s</code>"
225
 
226
- #: includes/mollie/wc/gateway/banktransfer.php:45
227
  #: includes/mollie/wc/helper/settings.php:191
228
  msgid "Disabled"
229
  msgstr "Uitgeschakeld"
230
 
231
- #: includes/mollie/wc/gateway/banktransfer.php:48
232
  msgid ""
233
  "If you disable this option the customer still has an option to send the "
234
  "payment instructions to an email address on the Mollie payment screen."
@@ -237,20 +257,20 @@ msgstr ""
237
  "er zelf nog voor kiezen om de betaalinstructies te versturen naar een e-"
238
  "mailadres."
239
 
240
- #: includes/mollie/wc/gateway/banktransfer.php:93
241
  msgid "Bank Transfer"
242
  msgstr "Overboeking"
243
 
244
  #. translators: Placeholder 1: consumer name, placeholder 2: consumer IBAN,
245
  #. placeholder 3: consumer BIC
246
- #: includes/mollie/wc/gateway/banktransfer.php:136
247
  #: includes/mollie/wc/gateway/directdebit.php:51
248
  #: includes/mollie/wc/gateway/ideal.php:86
249
  #: includes/mollie/wc/gateway/sofort.php:56
250
  msgid "Payment completed by <strong>%s</strong> (IBAN: %s, BIC: %s)"
251
  msgstr "Betaling afgerond door <strong>%s</strong> (IBAN: %s, BIC: %s)"
252
 
253
- #: includes/mollie/wc/gateway/banktransfer.php:146
254
  msgid ""
255
  "Please complete your payment by transferring the total amount to the "
256
  "following bank account:"
@@ -259,37 +279,37 @@ msgstr ""
259
  "rekening:"
260
 
261
  #. translators: Placeholder 1: 'Stichting Mollie Payments'
262
- #: includes/mollie/wc/gateway/banktransfer.php:150
263
  msgid "Beneficiary: %s"
264
  msgstr "Begunstigde: %s"
265
 
266
- #: includes/mollie/wc/gateway/banktransfer.php:151
267
  msgid "IBAN: <strong>%s</strong>"
268
  msgstr "IBAN: <strong>%s</strong>"
269
 
270
- #: includes/mollie/wc/gateway/banktransfer.php:152
271
  msgid "BIC: %s"
272
  msgstr "BIC: %s"
273
 
274
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
275
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
276
- #: includes/mollie/wc/gateway/banktransfer.php:157
277
  msgid "Payment reference: %s"
278
  msgstr "Betalingskenmerk: %s"
279
 
280
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
281
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
282
- #: includes/mollie/wc/gateway/banktransfer.php:162
283
  msgid "Please provide the payment reference <strong>%s</strong>"
284
  msgstr ""
285
  "Gelieve het betalingskenmerk <strong>%s</strong> op te geven bij de "
286
  "overboeking"
287
 
288
- #: includes/mollie/wc/gateway/banktransfer.php:175
289
  msgid "The payment will expire on <strong>%s</strong>."
290
  msgstr "De betaling zal op <strong>%s</strong> verlopen."
291
 
292
- #: includes/mollie/wc/gateway/banktransfer.php:182
293
  msgid ""
294
  "The payment will expire on <strong>%s</strong>. Please make sure you "
295
  "transfer the total amount before this date."
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Mollie Payments for WooCommerce 2.0\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mollie-payments-"
7
  "for-woocommerce\n"
8
+ "POT-Creation-Date: 2016-04-17 16:30+0200\n"
9
+ "PO-Revision-Date: 2016-04-17 16:36+0200\n"
10
  "Last-Translator: Lennard van Gunst <lennard@mollie.com>\n"
11
  "Language-Team: Mollie <info@mollie.nl>\n"
12
  "Language: nl\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Generator: Poedit 1.8.7\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-Basepath: ../..\n"
19
  "X-Poedit-SearchPath-0: .\n"
131
  msgstr "%s betaling gestart (%s)."
132
 
133
  #: includes/mollie/wc/gateway/abstract.php:393
134
+ #: includes/mollie/wc/gateway/abstract.php:574
135
+ #: includes/mollie/wc/gateway/abstract.php:605
136
+ #: includes/mollie/wc/gateway/abstract.php:630
137
+ #: includes/mollie/wc/gateway/abstract.php:649
138
  msgid "test mode"
139
  msgstr "test modus"
140
 
145
 
146
  #. translators: Placeholder 1: payment method title, placeholder 2: payment
147
  #. status, placeholder 3: payment ID
148
+ #: includes/mollie/wc/gateway/abstract.php:571
149
  msgid "%s payment %s (%s)."
150
  msgstr "%s betaling %s (%s)."
151
 
152
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
153
+ #: includes/mollie/wc/gateway/abstract.php:603
154
  msgid "Order completed using %s payment (%s)."
155
  msgstr "Bestelling afgerond met %s betaling (%s)."
156
 
157
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
158
+ #: includes/mollie/wc/gateway/abstract.php:628
159
  msgid "%s payment cancelled (%s)."
160
  msgstr "%s betaling geannuleerd (%s)."
161
 
162
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
163
+ #: includes/mollie/wc/gateway/abstract.php:647
164
  msgid "%s payment expired (%s)."
165
  msgstr "%s betaling verlopen (%s)."
166
 
167
+ #: includes/mollie/wc/gateway/abstract.php:663
168
  msgid ""
169
  "You have cancelled your payment. Please complete your order with a different "
170
  "payment method."
175
  #. translators: Placeholder 1: currency, placeholder 2: refunded amount,
176
  #. placeholder 3: optional refund reason, placeholder 4: payment ID,
177
  #. placeholder 5: refund ID
178
+ #: includes/mollie/wc/gateway/abstract.php:737
179
  msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
180
  msgstr "Terugstorting %s%s (reden: %s) - Payment ID: %s, Refund: %s"
181
 
182
+ #: includes/mollie/wc/gateway/abstract.php:806
183
  msgid "Payment"
184
  msgstr "Betaling"
185
 
186
+ #: includes/mollie/wc/gateway/abstract.php:827
187
  msgid "We have not received a definite payment status."
188
  msgstr "We hebben nog geen definitieve status van de betaling ontvangen."
189
 
190
+ #: includes/mollie/wc/gateway/abstract.php:832
191
  msgid ""
192
  "We have not received a definite payment status. You will receive an email as "
193
  "soon as we receive a confirmation of the bank/merchant."
196
  "een e-mail zodra wij een bevestiging van de bank ontvangen."
197
 
198
  #. translators: Placeholder 1: payment method
199
+ #: includes/mollie/wc/gateway/abstract.php:839
200
  msgid "Payment completed with <strong>%s</strong>"
201
  msgstr "Betaling afgerond met <strong>%s</strong>"
202
 
211
  "Aantal dagen waarna de betaling zal verlopen. Standaard <code>%d</code> dagen"
212
 
213
  #: includes/mollie/wc/gateway/banktransfer.php:43
214
+ msgid "Skip Mollie payment screen"
215
+ msgstr "Sla Mollie betaalscherm over"
216
+
217
+ #: includes/mollie/wc/gateway/banktransfer.php:44
218
+ msgid "Skip Mollie payment screen when Bank Transfer is selected"
219
+ msgstr "Sla het Mollie betaalscherm over wanneer Overboeking is geselecteerd"
220
+
221
+ #: includes/mollie/wc/gateway/banktransfer.php:45
222
+ msgid ""
223
+ "Enable this option if you want to skip redirecting your user to the Mollie "
224
+ "payment screen, instead this will redirect your user directly to the "
225
+ "WooCommerce order received page displaying instructions how to complete the "
226
+ "Bank Transfer payment."
227
+ msgstr ""
228
+ "Schakel deze optie in als je je gebruikers niet wilt doorsturen naar het "
229
+ "Mollie betaalscherm, maar direct wilt doorsturen naar de WooCommerce "
230
+ "bestelling ontvangen-pagina. Op deze pagina worden instructies getoond hoe "
231
+ "de Overboeking afgerond moet worden."
232
+
233
+ #: includes/mollie/wc/gateway/banktransfer.php:50
234
  msgid "Mail payment instructions"
235
  msgstr "Mail betalingsinstructies"
236
 
237
  #. translators: Placeholder 1: enabled or disabled
238
+ #: includes/mollie/wc/gateway/banktransfer.php:52
239
  msgid ""
240
  "Should Mollie automatically mail the payment instructions to the customer? "
241
  "Default <code>%s</code>"
243
  "Laat Mollie automatisch de betaalinstructies mailen naar de klant. Standaard "
244
  "<code>%s</code>"
245
 
246
+ #: includes/mollie/wc/gateway/banktransfer.php:52
247
  #: includes/mollie/wc/helper/settings.php:191
248
  msgid "Disabled"
249
  msgstr "Uitgeschakeld"
250
 
251
+ #: includes/mollie/wc/gateway/banktransfer.php:55
252
  msgid ""
253
  "If you disable this option the customer still has an option to send the "
254
  "payment instructions to an email address on the Mollie payment screen."
257
  "er zelf nog voor kiezen om de betaalinstructies te versturen naar een e-"
258
  "mailadres."
259
 
260
+ #: includes/mollie/wc/gateway/banktransfer.php:121
261
  msgid "Bank Transfer"
262
  msgstr "Overboeking"
263
 
264
  #. translators: Placeholder 1: consumer name, placeholder 2: consumer IBAN,
265
  #. placeholder 3: consumer BIC
266
+ #: includes/mollie/wc/gateway/banktransfer.php:164
267
  #: includes/mollie/wc/gateway/directdebit.php:51
268
  #: includes/mollie/wc/gateway/ideal.php:86
269
  #: includes/mollie/wc/gateway/sofort.php:56
270
  msgid "Payment completed by <strong>%s</strong> (IBAN: %s, BIC: %s)"
271
  msgstr "Betaling afgerond door <strong>%s</strong> (IBAN: %s, BIC: %s)"
272
 
273
+ #: includes/mollie/wc/gateway/banktransfer.php:174
274
  msgid ""
275
  "Please complete your payment by transferring the total amount to the "
276
  "following bank account:"
279
  "rekening:"
280
 
281
  #. translators: Placeholder 1: 'Stichting Mollie Payments'
282
+ #: includes/mollie/wc/gateway/banktransfer.php:178
283
  msgid "Beneficiary: %s"
284
  msgstr "Begunstigde: %s"
285
 
286
+ #: includes/mollie/wc/gateway/banktransfer.php:179
287
  msgid "IBAN: <strong>%s</strong>"
288
  msgstr "IBAN: <strong>%s</strong>"
289
 
290
+ #: includes/mollie/wc/gateway/banktransfer.php:180
291
  msgid "BIC: %s"
292
  msgstr "BIC: %s"
293
 
294
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
295
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
296
+ #: includes/mollie/wc/gateway/banktransfer.php:185
297
  msgid "Payment reference: %s"
298
  msgstr "Betalingskenmerk: %s"
299
 
300
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
301
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
302
+ #: includes/mollie/wc/gateway/banktransfer.php:190
303
  msgid "Please provide the payment reference <strong>%s</strong>"
304
  msgstr ""
305
  "Gelieve het betalingskenmerk <strong>%s</strong> op te geven bij de "
306
  "overboeking"
307
 
308
+ #: includes/mollie/wc/gateway/banktransfer.php:203
309
  msgid "The payment will expire on <strong>%s</strong>."
310
  msgstr "De betaling zal op <strong>%s</strong> verlopen."
311
 
312
+ #: includes/mollie/wc/gateway/banktransfer.php:210
313
  msgid ""
314
  "The payment will expire on <strong>%s</strong>. Please make sure you "
315
  "transfer the total amount before this date."
i18n/languages/mollie-payments-for-woocommerce.pot CHANGED
@@ -3,9 +3,9 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Mollie Payments for WooCommerce 2.2.0\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mollie-payments-"
7
  "for-woocommerce\n"
8
- "POT-Creation-Date: 2016-03-25 14:38:48+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -116,10 +116,10 @@ msgid "%s payment started (%s)."
116
  msgstr ""
117
 
118
  #: includes/mollie/wc/gateway/abstract.php:393
119
- #: includes/mollie/wc/gateway/abstract.php:558
120
- #: includes/mollie/wc/gateway/abstract.php:589
121
- #: includes/mollie/wc/gateway/abstract.php:614
122
- #: includes/mollie/wc/gateway/abstract.php:633
123
  msgid "test mode"
124
  msgstr ""
125
 
@@ -130,26 +130,26 @@ msgstr ""
130
 
131
  #. translators: Placeholder 1: payment method title, placeholder 2: payment
132
  #. status, placeholder 3: payment ID
133
- #: includes/mollie/wc/gateway/abstract.php:555
134
  msgid "%s payment %s (%s)."
135
  msgstr ""
136
 
137
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
138
- #: includes/mollie/wc/gateway/abstract.php:587
139
  msgid "Order completed using %s payment (%s)."
140
  msgstr ""
141
 
142
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
143
- #: includes/mollie/wc/gateway/abstract.php:612
144
  msgid "%s payment cancelled (%s)."
145
  msgstr ""
146
 
147
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
148
- #: includes/mollie/wc/gateway/abstract.php:631
149
  msgid "%s payment expired (%s)."
150
  msgstr ""
151
 
152
- #: includes/mollie/wc/gateway/abstract.php:647
153
  msgid ""
154
  "You have cancelled your payment. Please complete your order with a different "
155
  "payment method."
@@ -158,26 +158,26 @@ msgstr ""
158
  #. translators: Placeholder 1: currency, placeholder 2: refunded amount,
159
  #. placeholder 3: optional refund reason, placeholder 4: payment ID,
160
  #. placeholder 5: refund ID
161
- #: includes/mollie/wc/gateway/abstract.php:721
162
  msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
163
  msgstr ""
164
 
165
- #: includes/mollie/wc/gateway/abstract.php:790
166
  msgid "Payment"
167
  msgstr ""
168
 
169
- #: includes/mollie/wc/gateway/abstract.php:811
170
  msgid "We have not received a definite payment status."
171
  msgstr ""
172
 
173
- #: includes/mollie/wc/gateway/abstract.php:816
174
  msgid ""
175
  "We have not received a definite payment status. You will receive an email as "
176
  "soon as we receive a confirmation of the bank/merchant."
177
  msgstr ""
178
 
179
  #. translators: Placeholder 1: payment method
180
- #: includes/mollie/wc/gateway/abstract.php:823
181
  msgid "Payment completed with <strong>%s</strong>"
182
  msgstr ""
183
 
@@ -191,76 +191,92 @@ msgid ""
191
  msgstr ""
192
 
193
  #: includes/mollie/wc/gateway/banktransfer.php:43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  msgid "Mail payment instructions"
195
  msgstr ""
196
 
197
  #. translators: Placeholder 1: enabled or disabled
198
- #: includes/mollie/wc/gateway/banktransfer.php:45
199
  msgid ""
200
  "Should Mollie automatically mail the payment instructions to the customer? "
201
  "Default <code>%s</code>"
202
  msgstr ""
203
 
204
- #: includes/mollie/wc/gateway/banktransfer.php:45
205
  #: includes/mollie/wc/helper/settings.php:191
206
  msgid "Disabled"
207
  msgstr ""
208
 
209
- #: includes/mollie/wc/gateway/banktransfer.php:48
210
  msgid ""
211
  "If you disable this option the customer still has an option to send the "
212
  "payment instructions to an email address on the Mollie payment screen."
213
  msgstr ""
214
 
215
- #: includes/mollie/wc/gateway/banktransfer.php:93
216
  msgid "Bank Transfer"
217
  msgstr ""
218
 
219
  #. translators: Placeholder 1: consumer name, placeholder 2: consumer IBAN,
220
  #. placeholder 3: consumer BIC
221
- #: includes/mollie/wc/gateway/banktransfer.php:136
222
  #: includes/mollie/wc/gateway/directdebit.php:51
223
  #: includes/mollie/wc/gateway/ideal.php:86
224
  #: includes/mollie/wc/gateway/sofort.php:56
225
  msgid "Payment completed by <strong>%s</strong> (IBAN: %s, BIC: %s)"
226
  msgstr ""
227
 
228
- #: includes/mollie/wc/gateway/banktransfer.php:146
229
  msgid ""
230
  "Please complete your payment by transferring the total amount to the "
231
  "following bank account:"
232
  msgstr ""
233
 
234
  #. translators: Placeholder 1: 'Stichting Mollie Payments'
235
- #: includes/mollie/wc/gateway/banktransfer.php:150
236
  msgid "Beneficiary: %s"
237
  msgstr ""
238
 
239
- #: includes/mollie/wc/gateway/banktransfer.php:151
240
  msgid "IBAN: <strong>%s</strong>"
241
  msgstr ""
242
 
243
- #: includes/mollie/wc/gateway/banktransfer.php:152
244
  msgid "BIC: %s"
245
  msgstr ""
246
 
247
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
248
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
249
- #: includes/mollie/wc/gateway/banktransfer.php:157
250
  msgid "Payment reference: %s"
251
  msgstr ""
252
 
253
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
254
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
255
- #: includes/mollie/wc/gateway/banktransfer.php:162
256
  msgid "Please provide the payment reference <strong>%s</strong>"
257
  msgstr ""
258
 
259
- #: includes/mollie/wc/gateway/banktransfer.php:175
260
  msgid "The payment will expire on <strong>%s</strong>."
261
  msgstr ""
262
 
263
- #: includes/mollie/wc/gateway/banktransfer.php:182
264
  msgid ""
265
  "The payment will expire on <strong>%s</strong>. Please make sure you "
266
  "transfer the total amount before this date."
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Mollie Payments for WooCommerce 2.2.0\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mollie-payments-"
7
  "for-woocommerce\n"
8
+ "POT-Creation-Date: 2016-04-17 14:25:29+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
116
  msgstr ""
117
 
118
  #: includes/mollie/wc/gateway/abstract.php:393
119
+ #: includes/mollie/wc/gateway/abstract.php:574
120
+ #: includes/mollie/wc/gateway/abstract.php:605
121
+ #: includes/mollie/wc/gateway/abstract.php:630
122
+ #: includes/mollie/wc/gateway/abstract.php:649
123
  msgid "test mode"
124
  msgstr ""
125
 
130
 
131
  #. translators: Placeholder 1: payment method title, placeholder 2: payment
132
  #. status, placeholder 3: payment ID
133
+ #: includes/mollie/wc/gateway/abstract.php:571
134
  msgid "%s payment %s (%s)."
135
  msgstr ""
136
 
137
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
138
+ #: includes/mollie/wc/gateway/abstract.php:603
139
  msgid "Order completed using %s payment (%s)."
140
  msgstr ""
141
 
142
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
143
+ #: includes/mollie/wc/gateway/abstract.php:628
144
  msgid "%s payment cancelled (%s)."
145
  msgstr ""
146
 
147
  #. translators: Placeholder 1: payment method title, placeholder 2: payment ID
148
+ #: includes/mollie/wc/gateway/abstract.php:647
149
  msgid "%s payment expired (%s)."
150
  msgstr ""
151
 
152
+ #: includes/mollie/wc/gateway/abstract.php:663
153
  msgid ""
154
  "You have cancelled your payment. Please complete your order with a different "
155
  "payment method."
158
  #. translators: Placeholder 1: currency, placeholder 2: refunded amount,
159
  #. placeholder 3: optional refund reason, placeholder 4: payment ID,
160
  #. placeholder 5: refund ID
161
+ #: includes/mollie/wc/gateway/abstract.php:737
162
  msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
163
  msgstr ""
164
 
165
+ #: includes/mollie/wc/gateway/abstract.php:806
166
  msgid "Payment"
167
  msgstr ""
168
 
169
+ #: includes/mollie/wc/gateway/abstract.php:827
170
  msgid "We have not received a definite payment status."
171
  msgstr ""
172
 
173
+ #: includes/mollie/wc/gateway/abstract.php:832
174
  msgid ""
175
  "We have not received a definite payment status. You will receive an email as "
176
  "soon as we receive a confirmation of the bank/merchant."
177
  msgstr ""
178
 
179
  #. translators: Placeholder 1: payment method
180
+ #: includes/mollie/wc/gateway/abstract.php:839
181
  msgid "Payment completed with <strong>%s</strong>"
182
  msgstr ""
183
 
191
  msgstr ""
192
 
193
  #: includes/mollie/wc/gateway/banktransfer.php:43
194
+ msgid "Skip Mollie payment screen"
195
+ msgstr ""
196
+
197
+ #: includes/mollie/wc/gateway/banktransfer.php:44
198
+ msgid "Skip Mollie payment screen when Bank Transfer is selected"
199
+ msgstr ""
200
+
201
+ #: includes/mollie/wc/gateway/banktransfer.php:45
202
+ msgid ""
203
+ "Enable this option if you want to skip redirecting your user to the Mollie "
204
+ "payment screen, instead this will redirect your user directly to the "
205
+ "WooCommerce order received page displaying instructions how to complete the "
206
+ "Bank Transfer payment."
207
+ msgstr ""
208
+
209
+ #: includes/mollie/wc/gateway/banktransfer.php:50
210
  msgid "Mail payment instructions"
211
  msgstr ""
212
 
213
  #. translators: Placeholder 1: enabled or disabled
214
+ #: includes/mollie/wc/gateway/banktransfer.php:52
215
  msgid ""
216
  "Should Mollie automatically mail the payment instructions to the customer? "
217
  "Default <code>%s</code>"
218
  msgstr ""
219
 
220
+ #: includes/mollie/wc/gateway/banktransfer.php:52
221
  #: includes/mollie/wc/helper/settings.php:191
222
  msgid "Disabled"
223
  msgstr ""
224
 
225
+ #: includes/mollie/wc/gateway/banktransfer.php:55
226
  msgid ""
227
  "If you disable this option the customer still has an option to send the "
228
  "payment instructions to an email address on the Mollie payment screen."
229
  msgstr ""
230
 
231
+ #: includes/mollie/wc/gateway/banktransfer.php:121
232
  msgid "Bank Transfer"
233
  msgstr ""
234
 
235
  #. translators: Placeholder 1: consumer name, placeholder 2: consumer IBAN,
236
  #. placeholder 3: consumer BIC
237
+ #: includes/mollie/wc/gateway/banktransfer.php:164
238
  #: includes/mollie/wc/gateway/directdebit.php:51
239
  #: includes/mollie/wc/gateway/ideal.php:86
240
  #: includes/mollie/wc/gateway/sofort.php:56
241
  msgid "Payment completed by <strong>%s</strong> (IBAN: %s, BIC: %s)"
242
  msgstr ""
243
 
244
+ #: includes/mollie/wc/gateway/banktransfer.php:174
245
  msgid ""
246
  "Please complete your payment by transferring the total amount to the "
247
  "following bank account:"
248
  msgstr ""
249
 
250
  #. translators: Placeholder 1: 'Stichting Mollie Payments'
251
+ #: includes/mollie/wc/gateway/banktransfer.php:178
252
  msgid "Beneficiary: %s"
253
  msgstr ""
254
 
255
+ #: includes/mollie/wc/gateway/banktransfer.php:179
256
  msgid "IBAN: <strong>%s</strong>"
257
  msgstr ""
258
 
259
+ #: includes/mollie/wc/gateway/banktransfer.php:180
260
  msgid "BIC: %s"
261
  msgstr ""
262
 
263
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
264
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
265
+ #: includes/mollie/wc/gateway/banktransfer.php:185
266
  msgid "Payment reference: %s"
267
  msgstr ""
268
 
269
  #. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
270
  #. (SEPA) or +++513/7587/59959+++ (Belgium)
271
+ #: includes/mollie/wc/gateway/banktransfer.php:190
272
  msgid "Please provide the payment reference <strong>%s</strong>"
273
  msgstr ""
274
 
275
+ #: includes/mollie/wc/gateway/banktransfer.php:203
276
  msgid "The payment will expire on <strong>%s</strong>."
277
  msgstr ""
278
 
279
+ #: includes/mollie/wc/gateway/banktransfer.php:210
280
  msgid ""
281
  "The payment will expire on <strong>%s</strong>. Please make sure you "
282
  "transfer the total amount before this date."
includes/mollie/wc/gateway/abstract.php CHANGED
@@ -400,7 +400,7 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
400
 
401
  return array(
402
  'result' => 'success',
403
- 'redirect' => $payment->getPaymentUrl(),
404
  );
405
  }
406
  catch (Mollie_API_Exception $e)
@@ -421,6 +421,22 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
421
  return array('result' => 'failure');
422
  }
423
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
  /**
425
  * @param WC_Order $order
426
  * @param string $new_status
400
 
401
  return array(
402
  'result' => 'success',
403
+ 'redirect' => $this->getProcessPaymentRedirect($order, $payment),
404
  );
405
  }
406
  catch (Mollie_API_Exception $e)
421
  return array('result' => 'failure');
422
  }
423
 
424
+ /**
425
+ * Redirect location after successfully completing process_payment
426
+ *
427
+ * @param WC_Order $order
428
+ * @param Mollie_API_Object_Payment $payment
429
+ *
430
+ * @return string
431
+ */
432
+ protected function getProcessPaymentRedirect(WC_Order $order, Mollie_API_Object_Payment $payment)
433
+ {
434
+ /*
435
+ * Redirect to payment URL
436
+ */
437
+ return $payment->getPaymentUrl();
438
+ }
439
+
440
  /**
441
  * @param WC_Order $order
442
  * @param string $new_status
includes/mollie/wc/gateway/banktransfer.php CHANGED
@@ -39,6 +39,13 @@ class Mollie_WC_Gateway_BankTransfer extends Mollie_WC_Gateway_Abstract
39
  'step' => 1,
40
  ),
41
  ),
 
 
 
 
 
 
 
42
  'mail_payment_instructions' => array(
43
  'title' => __('Mail payment instructions', 'mollie-payments-for-woocommerce'),
44
  /* translators: Placeholder 1: enabled or disabled */
@@ -77,6 +84,34 @@ class Mollie_WC_Gateway_BankTransfer extends Mollie_WC_Gateway_Abstract
77
  return $args;
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  /**
81
  * @return string
82
  */
39
  'step' => 1,
40
  ),
41
  ),
42
+ 'skip_mollie_payment_screen' => array(
43
+ 'title' => __('Skip Mollie payment screen', 'mollie-payments-for-woocommerce'),
44
+ 'label' => __('Skip Mollie payment screen when Bank Transfer is selected', 'mollie-payments-for-woocommerce'),
45
+ 'description' => __('Enable this option if you want to skip redirecting your user to the Mollie payment screen, instead this will redirect your user directly to the WooCommerce order received page displaying instructions how to complete the Bank Transfer payment.', 'mollie-payments-for-woocommerce'),
46
+ 'type' => 'checkbox',
47
+ 'default' => 'no',
48
+ ),
49
  'mail_payment_instructions' => array(
50
  'title' => __('Mail payment instructions', 'mollie-payments-for-woocommerce'),
51
  /* translators: Placeholder 1: enabled or disabled */
84
  return $args;
85
  }
86
 
87
+ /**
88
+ * {@inheritdoc}
89
+ *
90
+ * @param WC_Order $order
91
+ * @param Mollie_API_Object_Payment $payment
92
+ *
93
+ * @return string
94
+ */
95
+ protected function getProcessPaymentRedirect(WC_Order $order, Mollie_API_Object_Payment $payment)
96
+ {
97
+ if ($this->get_option('skip_mollie_payment_screen') === 'yes')
98
+ {
99
+ /*
100
+ * Redirect to order received page
101
+ */
102
+ $redirect_url = $this->get_return_url($order);
103
+
104
+ // Add utm_nooverride query string
105
+ $redirect_url = add_query_arg(array(
106
+ 'utm_nooverride' => 1,
107
+ ), $redirect_url);
108
+
109
+ return $redirect_url;
110
+ }
111
+
112
+ return parent::getProcessPaymentRedirect($order, $payment);
113
+ }
114
+
115
  /**
116
  * @return string
117
  */
mollie-payments-for-woocommerce.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://github.com/mollie/WooCommerce
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
- * Version: 2.2.0
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://github.com/mollie/WooCommerce
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
+ * Version: 2.2.1
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: l.vangunst, daanvm, iricardoj
3
  Tags: mollie, payments, woocommerce, e-commerce, webshop, psp, ideal, sofort, credit card, creditcard, visa, mastercard, mistercash, bancontact, bitcoin, paysafecard, direct debit, incasso, sepa, banktransfer, overboeking, betalingen
4
  Requires at least: 3.8
5
- Tested up to: 4.4.2
6
- Stable tag: 2.2.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -112,12 +112,19 @@ Automatic updates should work like a charm; as always though, ensure you backup
112
 
113
  == Changelog ==
114
 
115
- = 2.0.0 - 17/08/2015 =
116
- * Complete rewrite of our WooCommerce plugin to better follow WordPress and WooCommerce standards and add better support for other plugins.
 
 
117
 
118
- = 2.0.1 - 02/10/2015 =
119
- * Add support for SEPA Direct Debit.
120
- * Add message for Belfius, Bitcoin, Bancontact/Mister Cash and paysafecard when the payment is paid successfully.
 
 
 
 
 
121
 
122
  = 2.1.0 - 01/12/2015 =
123
  * For payment methods where the payment status will be delivered after a couple of days you can set the initial order status. Choose between `on-hold` or `pending`.
@@ -128,14 +135,12 @@ Automatic updates should work like a charm; as always though, ensure you backup
128
  * Hide payment gateway when cart exceeds method min / max amount. Method min / max amount is returned by Mollie API.
129
  * Add filter to change the return URL.
130
 
131
- = 2.1.1 - 27/01/2016 =
132
- * Add better support for translation plugins Polylang and mLanguage.
133
- * Fixed small issue for PHP 5.2 users.
134
 
135
- = 2.2.0 - 29/03/2016 =
136
- * Add integration with Mollie Customers API.
137
- * Use shorter transient prefix.
138
- * Update Mollie API client to v1.4.1.
139
 
140
  == Upgrade Notice ==
141
 
2
  Contributors: l.vangunst, daanvm, iricardoj
3
  Tags: mollie, payments, woocommerce, e-commerce, webshop, psp, ideal, sofort, credit card, creditcard, visa, mastercard, mistercash, bancontact, bitcoin, paysafecard, direct debit, incasso, sepa, banktransfer, overboeking, betalingen
4
  Requires at least: 3.8
5
+ Tested up to: 4.5
6
+ Stable tag: 2.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
112
 
113
  == Changelog ==
114
 
115
+ = 2.2.1 - 18/04/2016 =
116
+ * Add option for the Bank Transfer gateway to skip redirecting your users to the Mollie payment screen. Instead directly redirect to the WooCommerce order
117
+ received page where payment instruction will be displayed. You can turn on this option on the Mollie Bank Transfer setting page:
118
+ WooCommerce -> Settings -> Checkout -> Mollie - Bank Transfer.
119
 
120
+ = 2.2.0 - 29/03/2016 =
121
+ * Add integration with Mollie Customers API.
122
+ * Use shorter transient prefix.
123
+ * Update Mollie API client to v1.4.1.
124
+
125
+ = 2.1.1 - 27/01/2016 =
126
+ * Add better support for translation plugins Polylang and mLanguage.
127
+ * Fixed small issue for PHP 5.2 users.
128
 
129
  = 2.1.0 - 01/12/2015 =
130
  * For payment methods where the payment status will be delivered after a couple of days you can set the initial order status. Choose between `on-hold` or `pending`.
135
  * Hide payment gateway when cart exceeds method min / max amount. Method min / max amount is returned by Mollie API.
136
  * Add filter to change the return URL.
137
 
138
+ = 2.0.1 - 02/10/2015 =
139
+ * Add support for SEPA Direct Debit.
140
+ * Add message for Belfius, Bitcoin, Bancontact/Mister Cash and paysafecard when the payment is paid successfully.
141
 
142
+ = 2.0.0 - 17/08/2015 =
143
+ * Complete rewrite of our WooCommerce plugin to better follow WordPress and WooCommerce standards and add better support for other plugins.
 
 
144
 
145
  == Upgrade Notice ==
146