Version Description
- 29/03/2016 =
- Add integration with Mollie Customers API.
- Use shorter transient prefix.
- Update Mollie API client to v1.4.1.
=
Download this release
Release Info
Developer | l.vangunst |
Plugin | Mollie Payments for WooCommerce |
Version | 2.2.0 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.2.0
- i18n/languages/mollie-payments-for-woocommerce-fr_FR.mo +0 -0
- i18n/languages/mollie-payments-for-woocommerce-fr_FR.po +232 -171
- i18n/languages/mollie-payments-for-woocommerce-nl_NL.mo +0 -0
- i18n/languages/mollie-payments-for-woocommerce-nl_NL.po +31 -26
- i18n/languages/mollie-payments-for-woocommerce.pot +23 -25
- includes/mollie-api-php/README.mdown +2 -2
- includes/mollie-api-php/composer.json +1 -1
- includes/mollie-api-php/examples/11-new-customer.php +31 -0
- includes/mollie-api-php/examples/12-new-customer-payment.php +69 -0
- includes/mollie-api-php/examples/13-customer-payments-history.php +38 -0
- includes/mollie-api-php/src/Mollie/API/Client.php +24 -8
- includes/mollie-api-php/src/Mollie/API/Object/Customer.php +82 -0
- includes/mollie-api-php/src/Mollie/API/Object/Payment.php +13 -0
- includes/mollie-api-php/src/Mollie/API/Resource/Base.php +69 -12
- includes/mollie-api-php/src/Mollie/API/Resource/Customers.php +44 -0
- includes/mollie-api-php/src/Mollie/API/Resource/Customers/Payments.php +41 -0
- includes/mollie-api-php/src/Mollie/API/Resource/Payments.php +1 -1
- includes/mollie-api-php/src/Mollie/API/Resource/Payments/Refunds.php +1 -21
- includes/mollie-api-php/src/Mollie/API/Resource/Undefined.php +0 -63
- includes/mollie-api-php/src/Mollie/API/cacert.pem +60 -119
- includes/mollie-api-php/tests/resourceUnitTest.php +43 -0
- includes/mollie/wc/gateway/abstract.php +23 -4
- includes/mollie/wc/helper/data.php +63 -1
- includes/mollie/wc/plugin.php +1 -1
- mollie-payments-for-woocommerce.php +3 -3
- readme.txt +8 -3
i18n/languages/mollie-payments-for-woocommerce-fr_FR.mo
CHANGED
Binary file
|
i18n/languages/mollie-payments-for-woocommerce-fr_FR.po
CHANGED
@@ -3,161 +3,198 @@
|
|
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 |
-
"
|
8 |
-
"
|
|
|
9 |
"Last-Translator: Lennard van Gunst <lennard@mollie.com>\n"
|
10 |
"Language-Team: Mollie <info@mollie.com>\n"
|
11 |
"Language: fr\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit 1.8.
|
16 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
17 |
|
18 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
19 |
msgid "Enable/Disable"
|
20 |
msgstr "Activer/Désactiver"
|
21 |
|
22 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
23 |
msgid "Enable %s"
|
24 |
msgstr "Activer %s"
|
25 |
|
26 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
27 |
msgid "Title"
|
28 |
msgstr "Titre"
|
29 |
|
30 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
31 |
-
msgid "
|
|
|
|
|
32 |
msgstr ""
|
33 |
-
"Ceci contrôle le titre que l’utilisateur voit lors du la commande. Default
|
|
|
34 |
|
35 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
36 |
msgid "Display logo"
|
37 |
msgstr "Afficher le logo"
|
38 |
|
39 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
40 |
msgid "Display logo on checkout page. Default <code>enabled</code>"
|
41 |
msgstr "Affichage logo sur la page de commande. Default <code>activé</code>"
|
42 |
|
43 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
|
|
44 |
msgid "Description"
|
45 |
msgstr "Description"
|
46 |
|
47 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
48 |
msgid ""
|
49 |
-
"Payment method description that the customer will see on your checkout.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgstr ""
|
51 |
-
"Méthode de paiement description que le client vera lors du passage de la commande. Default "
|
52 |
-
"<code>%s</code>"
|
53 |
|
54 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
55 |
-
#: includes/mollie/wc/
|
|
|
56 |
msgid "Test mode enabled."
|
57 |
msgstr "Mode de test activé."
|
58 |
|
59 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
60 |
msgid "Gateway Disabled"
|
61 |
msgstr "Passerelle désactivée"
|
62 |
|
63 |
#. translators: The surrounding %s's Will be replaced by a link to the global
|
64 |
#. setting page
|
65 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
66 |
msgid "No API key provided. Please %sset you Mollie API key%s first."
|
67 |
-
msgstr "
|
|
|
|
|
68 |
|
69 |
#. translators: Placeholder 1: payment method title. The surrounding %s's Will
|
70 |
#. be replaced by a link to the Mollie profile
|
71 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
72 |
msgid ""
|
73 |
-
"%s not enabled in your Mollie profile. You can enabled it by editing your
|
|
|
74 |
msgstr ""
|
75 |
-
"%s pas activé dans votre Mollie profil . Vous pouvez lui a permis en éditant
|
76 |
-
"profile%s."
|
77 |
|
78 |
#. translators: Placeholder 1: WooCommerce currency, placeholder 2: Supported
|
79 |
#. Mollie currencies
|
80 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
81 |
msgid "Shop currency %s not supported by Mollie. Mollie only supports: %s."
|
82 |
-
msgstr "
|
|
|
|
|
83 |
|
84 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
85 |
msgid "Could not load order %s"
|
86 |
msgstr "pourrait pas charger ordre %s"
|
87 |
|
88 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
89 |
msgid "Awaiting payment confirmation."
|
90 |
msgstr "En attente de la confirmation de paiement."
|
91 |
|
92 |
#. translators: Placeholder 1: Payment method title, placeholder 2: payment ID
|
93 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
94 |
msgid "%s payment started (%s)."
|
95 |
msgstr "%s paiement a commencé (%s)."
|
96 |
|
97 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
98 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
99 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
|
|
|
|
100 |
msgid "test mode"
|
101 |
msgstr "mode test"
|
102 |
|
103 |
#. translators: Placeholder 1: Payment method title
|
104 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
105 |
msgid "Could not create %s payment."
|
106 |
msgstr "Impossible de créer %s paiement."
|
107 |
|
108 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment
|
109 |
#. status, placeholder 3: payment ID
|
110 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
111 |
msgid "%s payment %s (%s)."
|
112 |
msgstr "%s paiement %s (%s)."
|
113 |
|
114 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment ID
|
115 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
116 |
msgid "Order completed using %s payment (%s)."
|
117 |
msgstr "ordre terminé en utilisant %s paiement (%s)"
|
118 |
|
119 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment ID
|
120 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
121 |
msgid "%s payment cancelled (%s)."
|
122 |
msgstr "%s paiement annulé (%s)."
|
123 |
|
124 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment ID
|
125 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
126 |
msgid "%s payment expired (%s)."
|
127 |
msgstr "%s paiement expiré (%s)."
|
128 |
|
129 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
130 |
msgid ""
|
131 |
-
"You have cancelled your payment. Please complete your order with a different
|
|
|
132 |
msgstr ""
|
133 |
-
"Vous avez annulé votre paiement . S'il vous plaît compléter votre commande
|
134 |
-
"méthode de paiement."
|
135 |
|
136 |
#. translators: Placeholder 1: currency, placeholder 2: refunded amount,
|
137 |
#. placeholder 3: optional refund reason, placeholder 4: payment ID,
|
138 |
#. placeholder 5: refund ID
|
139 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
140 |
msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
|
141 |
msgstr "remboursé %s%s (raison: %s) - Paiement ID: %s, Rembourse: %s"
|
142 |
|
143 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
144 |
msgid "Payment"
|
145 |
msgstr "paiement"
|
146 |
|
147 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
148 |
msgid "We have not received a definite payment status."
|
149 |
msgstr "Nous avons pas reçu un statut de paiement définitif."
|
150 |
|
151 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
152 |
msgid ""
|
153 |
-
"We have not received a definite payment status. You will receive an email as
|
154 |
-
"receive a confirmation of the bank/merchant."
|
155 |
msgstr ""
|
156 |
-
"Nous avons pas reçu un statut de paiement définitif. Vous recevrez un email
|
157 |
-
"recevrons une confirmation de la banque /merchant"
|
158 |
|
159 |
#. translators: Placeholder 1: payment method
|
160 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
161 |
msgid "Payment completed with <strong>%s</strong>"
|
162 |
msgstr "Paiement complété par <strong>%s</strong>"
|
163 |
|
@@ -166,8 +203,10 @@ msgid "Expiry date"
|
|
166 |
msgstr "date d'expiration"
|
167 |
|
168 |
#: includes/mollie/wc/gateway/banktransfer.php:34
|
169 |
-
msgid "
|
170 |
-
|
|
|
|
|
171 |
|
172 |
#: includes/mollie/wc/gateway/banktransfer.php:43
|
173 |
msgid "Mail payment instructions"
|
@@ -176,23 +215,25 @@ msgstr "Les instructions de paiement par mail "
|
|
176 |
#. translators: Placeholder 1: enabled or disabled
|
177 |
#: includes/mollie/wc/gateway/banktransfer.php:45
|
178 |
msgid ""
|
179 |
-
"Should Mollie automatically mail the payment instructions to the customer?
|
180 |
-
"code>"
|
181 |
-
msgstr ""
|
182 |
-
"Devrait Mollie automatiquement envoye les instructions de paiement pour le client par mail? "
|
183 |
"Default <code>%s</code>"
|
|
|
|
|
|
|
184 |
|
185 |
-
#: includes/mollie/wc/gateway/banktransfer.php:45
|
|
|
186 |
msgid "Disabled"
|
187 |
msgstr "Désactivé"
|
188 |
|
189 |
#: includes/mollie/wc/gateway/banktransfer.php:48
|
190 |
msgid ""
|
191 |
-
"If you disable this option the customer still has an option to send the
|
192 |
-
"to an email address on the Mollie payment screen."
|
193 |
msgstr ""
|
194 |
-
"Si vous désactivez cette option, le client a toujours une option pour
|
195 |
-
"de paiement à une adresse e-mail sur l'écran de
|
|
|
196 |
|
197 |
#: includes/mollie/wc/gateway/banktransfer.php:93
|
198 |
msgid "Bank Transfer"
|
@@ -200,54 +241,57 @@ msgstr "Transfert Bancaire"
|
|
200 |
|
201 |
#. translators: Placeholder 1: consumer name, placeholder 2: consumer IBAN,
|
202 |
#. placeholder 3: consumer BIC
|
203 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
204 |
-
#: includes/mollie/wc/gateway/
|
|
|
|
|
205 |
msgid "Payment completed by <strong>%s</strong> (IBAN: %s, BIC: %s)"
|
206 |
msgstr "ordre terminé par <strong>%s</strong> (IBAN: %s, BIC: %s)"
|
207 |
|
208 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
209 |
msgid ""
|
210 |
-
"Please complete your payment by transferring the total amount to the
|
|
|
211 |
msgstr ""
|
212 |
-
"S'il vous plaît terminé votre paiement par transférer le montant total sur
|
213 |
-
"suivant:"
|
214 |
|
215 |
#. translators: Placeholder 1: 'Stichting Mollie Payments'
|
216 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
217 |
msgid "Beneficiary: %s"
|
218 |
msgstr "bénéficiaire: %s"
|
219 |
|
220 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
221 |
msgid "IBAN: <strong>%s</strong>"
|
222 |
msgstr "IBAN: <strong>%s</strong>"
|
223 |
|
224 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
225 |
msgid "BIC: %s"
|
226 |
msgstr "BIC: %s"
|
227 |
|
228 |
#. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
|
229 |
#. (SEPA) or +++513/7587/59959+++ (Belgium)
|
230 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
231 |
msgid "Payment reference: %s"
|
232 |
msgstr "Référence de paiement: %s"
|
233 |
|
234 |
#. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
|
235 |
#. (SEPA) or +++513/7587/59959+++ (Belgium)
|
236 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
237 |
msgid "Please provide the payment reference <strong>%s</strong>"
|
238 |
msgstr "S'il vous plaît fournir la référence de paiement <strong>%s</strong>"
|
239 |
|
240 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
241 |
msgid "The payment will expire on <strong>%s</strong>."
|
242 |
msgstr "le paiement expirera le <strong>%s</strong>."
|
243 |
|
244 |
-
#: includes/mollie/wc/gateway/banktransfer.php:
|
245 |
msgid ""
|
246 |
-
"The payment will expire on <strong>%s</strong>. Please make sure you
|
247 |
-
"before this date."
|
248 |
msgstr ""
|
249 |
-
"le paiement expirera le <strong>%s</strong>. S'il vous plaît faire sûr que
|
250 |
-
"montant total avant cette date."
|
251 |
|
252 |
#: includes/mollie/wc/gateway/belfius.php:30
|
253 |
msgid "Belfius Direct Net"
|
@@ -290,8 +334,10 @@ msgstr "Sélectionnez votre banque"
|
|
290 |
#. translators: Placeholder 1: PayPal consumer name, placeholder 2: PayPal
|
291 |
#. email, placeholder 3: PayPal transaction ID
|
292 |
#: includes/mollie/wc/gateway/paypal.php:56
|
293 |
-
msgid "
|
294 |
-
|
|
|
|
|
295 |
|
296 |
#: includes/mollie/wc/gateway/paysafecard.php:17
|
297 |
msgid "paysafecard"
|
@@ -307,170 +353,176 @@ msgstr "Pas de API key fournie "
|
|
307 |
|
308 |
#: includes/mollie/wc/helper/api.php:39
|
309 |
msgid ""
|
310 |
-
"Invalid API key. The API key must start with 'live_' or 'test_' and can't
|
311 |
-
"special characters."
|
312 |
msgstr ""
|
313 |
-
"API key invalide. Le API key doit commencer par 'Live_' ou 'test_' et ne
|
314 |
-
"plus de caractères spéciaux."
|
315 |
|
316 |
-
#: includes/mollie/wc/helper/
|
|
|
|
|
|
|
|
|
317 |
msgid "Error"
|
318 |
msgstr "Erreur"
|
319 |
|
320 |
-
#: includes/mollie/wc/helper/settings.php:
|
321 |
msgid "Mollie status:"
|
322 |
msgstr "Mollie état:"
|
323 |
|
324 |
-
#: includes/mollie/wc/helper/settings.php:
|
325 |
msgid "Connected"
|
326 |
msgstr "Connecté"
|
327 |
|
328 |
-
#: includes/mollie/wc/helper/settings.php:
|
329 |
msgid "Gateway enabled"
|
330 |
msgstr "Passerelle activé"
|
331 |
|
332 |
-
#: includes/mollie/wc/helper/settings.php:
|
333 |
msgid "Enabled"
|
334 |
msgstr "Activé"
|
335 |
|
336 |
-
#: includes/mollie/wc/helper/settings.php:
|
337 |
msgid "Gateway disabled"
|
338 |
msgstr "Passerelle désactivé"
|
339 |
|
340 |
#. translators: The surrounding %s's Will be replaced by a link to the Mollie
|
341 |
#. profile
|
342 |
-
#: includes/mollie/wc/helper/settings.php:
|
343 |
msgid "The following payment methods are activated in your %sMollie profile%s:"
|
344 |
-
msgstr "
|
|
|
345 |
|
346 |
-
#: includes/mollie/wc/helper/settings.php:
|
347 |
msgid "Refresh"
|
348 |
msgstr "Rafraîchir"
|
349 |
|
350 |
-
#: includes/mollie/wc/helper/settings.php:
|
351 |
msgid "Edit"
|
352 |
msgstr "éditer"
|
353 |
|
354 |
#. translators: Default payment description. {order_number} and {order_date}
|
355 |
#. are available tags.
|
356 |
-
#: includes/mollie/wc/helper/settings.php:
|
357 |
msgid "Order {order_number}"
|
358 |
msgstr "Ordre {order_number}"
|
359 |
|
360 |
-
#: includes/mollie/wc/helper/settings.php:
|
361 |
msgid "Log plugin events."
|
362 |
msgstr "Log plugin événements."
|
363 |
|
364 |
-
#: includes/mollie/wc/helper/settings.php:
|
365 |
msgid "View logs"
|
366 |
msgstr "Regarde le logs"
|
367 |
|
368 |
#. translators: Placeholder 1: Location of the log files
|
369 |
-
#: includes/mollie/wc/helper/settings.php:
|
370 |
msgid "Log files are saved to <code>%s</code>"
|
371 |
msgstr "Les fichiers journaux sont enregistrés <code>%s</code>"
|
372 |
|
373 |
-
#: includes/mollie/wc/helper/settings.php:
|
374 |
msgid "Mollie settings"
|
375 |
msgstr "Paramètres Mollie"
|
376 |
|
377 |
-
#: includes/mollie/wc/helper/settings.php:
|
378 |
msgid ""
|
379 |
-
"The following options are required to use the plugin and are used by all
|
|
|
380 |
msgstr ""
|
381 |
-
"Les options suivantes sont requises pour utiliser les paiements de Mollie et
|
382 |
-
"toutes les méthodes paiement de Mollie."
|
383 |
|
384 |
-
#: includes/mollie/wc/helper/settings.php:
|
385 |
msgid "Live API key"
|
386 |
msgstr "Live API key"
|
387 |
|
388 |
#. translators: Placeholder 1: API key mode (live or test). The surrounding
|
389 |
#. %s's Will be replaced by a link to the Mollie profile
|
390 |
-
#: includes/mollie/wc/helper/settings.php:
|
|
|
391 |
msgid ""
|
392 |
-
"The API key is used to connect to Mollie. You can find your <strong>%s</
|
393 |
-
"your %sMollie profile%s"
|
394 |
msgstr ""
|
395 |
-
"Ce API key est utilisé pour se connecter à Mollie. Vous pouvez trouver votre
|
396 |
-
"strong> API key dans votre %sMollie profil%s"
|
397 |
|
398 |
-
#: includes/mollie/wc/helper/settings.php:
|
399 |
msgid "Live API key should start with live_"
|
400 |
msgstr "Live API key devrait commencer par live_"
|
401 |
|
402 |
-
#: includes/mollie/wc/helper/settings.php:
|
403 |
msgid "Enable test mode"
|
404 |
msgstr "Activé mode de test"
|
405 |
|
406 |
-
#: includes/mollie/wc/helper/settings.php:
|
407 |
-
msgid "
|
408 |
-
|
|
|
|
|
|
|
409 |
|
410 |
-
#: includes/mollie/wc/helper/settings.php:
|
411 |
msgid "Test API key"
|
412 |
msgstr "Test API key"
|
413 |
|
414 |
-
#: includes/mollie/wc/helper/settings.php:
|
415 |
msgid "Test API key should start with test_"
|
416 |
msgstr "Test API key devrait commencer avec test_"
|
417 |
|
418 |
#. translators: Placeholder 1: Default payment description, placeholder 2: list
|
419 |
#. of available tags
|
420 |
-
#: includes/mollie/wc/helper/settings.php:
|
421 |
msgid ""
|
422 |
-
"Payment description send to Mollie. Default <code>%s</code><br/>You can use
|
423 |
-
"tags: %s"
|
424 |
msgstr ""
|
425 |
-
"Paiement Description envoyer à Mollie. Default <code>%s</code><br/>Vous
|
426 |
-
"balises suivantes: %s"
|
427 |
|
428 |
-
#: includes/mollie/wc/helper/settings.php:
|
429 |
msgid "Payment screen language"
|
430 |
msgstr "Paiement langue de l'écran"
|
431 |
|
432 |
-
#: includes/mollie/wc/helper/settings.php:
|
433 |
msgid "Detect using browser language"
|
434 |
msgstr "Détecter utilisant la langue du navigateur"
|
435 |
|
436 |
#. translators: Placeholder 1: Current WordPress locale
|
437 |
-
#: includes/mollie/wc/helper/settings.php:
|
438 |
msgid "Send WordPress language (%s)"
|
439 |
msgstr "Envoyer langue WordPress (%s) "
|
440 |
|
441 |
-
#: includes/mollie/wc/helper/settings.php:
|
442 |
-
msgid "default"
|
443 |
-
msgstr "défaut"
|
444 |
-
|
445 |
-
#: includes/mollie/wc/helper/settings.php:345
|
446 |
msgid "Dutch"
|
447 |
msgstr "Néerlandais"
|
448 |
|
449 |
-
#: includes/mollie/wc/helper/settings.php:
|
450 |
msgid "Flemish (Belgium)"
|
451 |
msgstr "Flamande (Belgique)"
|
452 |
|
453 |
-
#: includes/mollie/wc/helper/settings.php:
|
454 |
msgid "English"
|
455 |
msgstr "Anglais"
|
456 |
|
457 |
-
#: includes/mollie/wc/helper/settings.php:
|
458 |
msgid "German"
|
459 |
msgstr "Allemand"
|
460 |
|
461 |
-
#: includes/mollie/wc/helper/settings.php:
|
462 |
msgid "Spanish"
|
463 |
msgstr "Espagnol "
|
464 |
|
465 |
-
#: includes/mollie/wc/helper/settings.php:
|
466 |
msgid "French"
|
467 |
msgstr "Français"
|
468 |
|
469 |
-
#: includes/mollie/wc/helper/settings.php:
|
470 |
msgid "French (Belgium)"
|
471 |
msgstr "Français (Belgique) "
|
472 |
|
473 |
-
#: includes/mollie/wc/helper/settings.php:
|
474 |
msgid "Debug Log"
|
475 |
msgstr "Debug log"
|
476 |
|
@@ -478,17 +530,19 @@ msgstr "Debug log"
|
|
478 |
#. version, placeholder 3: used WooCommerce version
|
479 |
#: includes/mollie/wc/helper/status.php:53
|
480 |
msgid ""
|
481 |
-
"The %s plugin requires at least WooCommerce version %s, you are using
|
482 |
-
"update your WooCommerce plugin."
|
483 |
msgstr ""
|
484 |
-
"Le plugin %s nécessite au moins la version WooCommerce %s, vous utilisez la
|
485 |
-
"vous plaît mettre à jour votre plugin WooCommerce."
|
486 |
|
487 |
#: includes/mollie/wc/helper/status.php:64
|
488 |
-
msgid "
|
|
|
|
|
489 |
msgstr ""
|
490 |
-
"Mollie client API pas installé. S'il vous plaît assurez-vous que le plugin
|
491 |
-
"correctement."
|
492 |
|
493 |
#. translators: Placeholder 1: Required PHP version, placeholder 2: current PHP
|
494 |
#. version
|
@@ -498,28 +552,29 @@ msgstr "Le client nécessite la version de PHP >= %s, vous avez %s."
|
|
498 |
|
499 |
#: includes/mollie/wc/helper/status.php:89
|
500 |
msgid ""
|
501 |
-
"The Mollie API client requires the PHP extension JSON to be enabled. Please
|
502 |
-
"extension in your PHP configuration."
|
503 |
msgstr ""
|
504 |
-
"Le client Mollie API nécessite l'extension PHP JSON doit être activé. S'il
|
505 |
-
"permettre le 'json’ extension dans votre PHP configuration."
|
506 |
|
507 |
#: includes/mollie/wc/helper/status.php:93
|
508 |
msgid ""
|
509 |
-
"The Mollie API client requires the PHP extension cURL to be enabled. Please
|
510 |
-
"extension in your PHP configuration."
|
511 |
msgstr ""
|
512 |
-
"Le client Mollie API nécessite l'extension PHP cURL doit être activé. S'il
|
513 |
-
"permettre le ‘curl’ extension dans votre PHP configuration."
|
514 |
|
515 |
#. translators: Placeholder 1: The required cURL function names
|
516 |
#: includes/mollie/wc/helper/status.php:99
|
517 |
msgid ""
|
518 |
-
"The Mollie API client requires the following PHP cURL functions to be
|
519 |
-
"make sure all of these functions are available."
|
520 |
msgstr ""
|
521 |
-
"Le client Mollie API nécessite les fonctions cURL de PHP suivants pour être
|
522 |
-
"S’il vous plaît assurez-vous que toutes ces fonctions sont
|
|
|
523 |
|
524 |
#: includes/mollie/wc/plugin.php:287
|
525 |
msgid "Logs"
|
@@ -542,12 +597,8 @@ msgid "https://github.com/mollie/WooCommerce"
|
|
542 |
msgstr "https://github.com/mollie/WooCommerce"
|
543 |
|
544 |
#. Description of the plugin/theme
|
545 |
-
msgid ""
|
546 |
-
"
|
547 |
-
"Transfer, PayPal, Bitcoin, paysafecard and SOFORT Banking"
|
548 |
-
msgstr ""
|
549 |
-
"Accepter les paiements dans WooCommerce avec Mollie iDEAL, Credit Card, Bancontact/Mister "
|
550 |
-
"Cash, Bank Transfer, PayPal, Bitcoin, paysafecard and SOFORT Banking"
|
551 |
|
552 |
#. Author of the plugin/theme
|
553 |
msgid "Mollie"
|
@@ -557,22 +608,32 @@ msgstr "Mollie"
|
|
557 |
msgid "https://www.mollie.com"
|
558 |
msgstr "https://www.mollie.com"
|
559 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
#~ msgid ""
|
561 |
-
#~ "This payment method is not supported by this plugin. Please check if
|
562 |
-
#~ "available."
|
563 |
#~ msgstr ""
|
564 |
-
#~ "Ce mode de paiement est pas pris en charge par ce plugin . S'il vous
|
565 |
-
#~ "ya une mise à jour disponible ."
|
566 |
|
567 |
#~ msgid "Not supported"
|
568 |
#~ msgstr "Non supporté"
|
569 |
|
570 |
#~ msgid ""
|
571 |
-
#~ "No active Mollie payment methods found. Please check your Mollie profile
|
572 |
-
#~ "methods are activated."
|
573 |
#~ msgstr ""
|
574 |
-
#~ "Aucune méthode de paiement Mollie actifs trouvés . S'il vous plaît
|
575 |
-
#~ "Mollie quelles méthodes de paiement sont activées ."
|
576 |
|
577 |
#~ msgid "Mollie payments for WooCommerce"
|
578 |
#~ msgstr "Mollie paiements pour WooCommerce"
|
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.com>\n"
|
12 |
"Language: fr\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 |
|
19 |
+
#: includes/mollie/wc/gateway/abstract.php:83
|
20 |
msgid "Enable/Disable"
|
21 |
msgstr "Activer/Désactiver"
|
22 |
|
23 |
+
#: includes/mollie/wc/gateway/abstract.php:85
|
24 |
msgid "Enable %s"
|
25 |
msgstr "Activer %s"
|
26 |
|
27 |
+
#: includes/mollie/wc/gateway/abstract.php:89
|
28 |
msgid "Title"
|
29 |
msgstr "Titre"
|
30 |
|
31 |
+
#: includes/mollie/wc/gateway/abstract.php:91
|
32 |
+
msgid ""
|
33 |
+
"This controls the title which the user sees during checkout. Default <code>"
|
34 |
+
"%s</code>"
|
35 |
msgstr ""
|
36 |
+
"Ceci contrôle le titre que l’utilisateur voit lors du la commande. Default "
|
37 |
+
"<code>%s</code>"
|
38 |
|
39 |
+
#: includes/mollie/wc/gateway/abstract.php:96
|
40 |
msgid "Display logo"
|
41 |
msgstr "Afficher le logo"
|
42 |
|
43 |
+
#: includes/mollie/wc/gateway/abstract.php:98
|
44 |
msgid "Display logo on checkout page. Default <code>enabled</code>"
|
45 |
msgstr "Affichage logo sur la page de commande. Default <code>activé</code>"
|
46 |
|
47 |
+
#: includes/mollie/wc/gateway/abstract.php:102
|
48 |
+
#: includes/mollie/wc/helper/settings.php:340
|
49 |
msgid "Description"
|
50 |
msgstr "Description"
|
51 |
|
52 |
+
#: includes/mollie/wc/gateway/abstract.php:104
|
53 |
msgid ""
|
54 |
+
"Payment method description that the customer will see on your checkout. "
|
55 |
+
"Default <code>%s</code>"
|
56 |
+
msgstr ""
|
57 |
+
"Méthode de paiement description que le client vera lors du passage de la "
|
58 |
+
"commande. Default <code>%s</code>"
|
59 |
+
|
60 |
+
#: includes/mollie/wc/gateway/abstract.php:113
|
61 |
+
msgid "Initial order status"
|
62 |
+
msgstr "Etat de la commande initiale"
|
63 |
+
|
64 |
+
#: includes/mollie/wc/gateway/abstract.php:116
|
65 |
+
#: includes/mollie/wc/helper/settings.php:354
|
66 |
+
msgid "default"
|
67 |
+
msgstr "défaut"
|
68 |
+
|
69 |
+
#. translators: Placeholder 1: Default order status, placeholder 2: Link to
|
70 |
+
#. 'Hold Stock' setting
|
71 |
+
#: includes/mollie/wc/gateway/abstract.php:122
|
72 |
+
msgid ""
|
73 |
+
"Some payment methods take longer than a few hours to complete. The initial "
|
74 |
+
"order state is then set to '%s'. This ensures the order is not cancelled "
|
75 |
+
"when the setting %s is used."
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: includes/mollie/wc/gateway/abstract.php:124
|
79 |
+
msgid "Hold Stock (minutes)"
|
80 |
msgstr ""
|
|
|
|
|
81 |
|
82 |
+
#: includes/mollie/wc/gateway/abstract.php:153
|
83 |
+
#: includes/mollie/wc/gateway/abstract.php:197
|
84 |
+
#: includes/mollie/wc/helper/settings.php:197
|
85 |
msgid "Test mode enabled."
|
86 |
msgstr "Mode de test activé."
|
87 |
|
88 |
+
#: includes/mollie/wc/gateway/abstract.php:174
|
89 |
msgid "Gateway Disabled"
|
90 |
msgstr "Passerelle désactivée"
|
91 |
|
92 |
#. translators: The surrounding %s's Will be replaced by a link to the global
|
93 |
#. setting page
|
94 |
+
#: includes/mollie/wc/gateway/abstract.php:199
|
95 |
msgid "No API key provided. Please %sset you Mollie API key%s first."
|
96 |
+
msgstr ""
|
97 |
+
"Pas de API key fournie. S'il vous plaît %sset vous Mollie API key%s en "
|
98 |
+
"premier."
|
99 |
|
100 |
#. translators: Placeholder 1: payment method title. The surrounding %s's Will
|
101 |
#. be replaced by a link to the Mollie profile
|
102 |
+
#: includes/mollie/wc/gateway/abstract.php:211
|
103 |
msgid ""
|
104 |
+
"%s not enabled in your Mollie profile. You can enabled it by editing your "
|
105 |
+
"%sMollie profile%s."
|
106 |
msgstr ""
|
107 |
+
"%s pas activé dans votre Mollie profil . Vous pouvez lui a permis en éditant "
|
108 |
+
"votre %sMollie profile%s."
|
109 |
|
110 |
#. translators: Placeholder 1: WooCommerce currency, placeholder 2: Supported
|
111 |
#. Mollie currencies
|
112 |
+
#: includes/mollie/wc/gateway/abstract.php:224
|
113 |
msgid "Shop currency %s not supported by Mollie. Mollie only supports: %s."
|
114 |
+
msgstr ""
|
115 |
+
"monnaie de la boutique %s n’est pas supporté par Mollie . Mollie seuls "
|
116 |
+
"supports: %s"
|
117 |
|
118 |
+
#: includes/mollie/wc/gateway/abstract.php:291
|
119 |
msgid "Could not load order %s"
|
120 |
msgstr "pourrait pas charger ordre %s"
|
121 |
|
122 |
+
#: includes/mollie/wc/gateway/abstract.php:386
|
123 |
msgid "Awaiting payment confirmation."
|
124 |
msgstr "En attente de la confirmation de paiement."
|
125 |
|
126 |
#. translators: Placeholder 1: Payment method title, placeholder 2: payment ID
|
127 |
+
#: includes/mollie/wc/gateway/abstract.php:391
|
128 |
msgid "%s payment started (%s)."
|
129 |
msgstr "%s paiement a commencé (%s)."
|
130 |
|
131 |
+
#: includes/mollie/wc/gateway/abstract.php:393
|
132 |
+
#: includes/mollie/wc/gateway/abstract.php:558
|
133 |
+
#: includes/mollie/wc/gateway/abstract.php:589
|
134 |
+
#: includes/mollie/wc/gateway/abstract.php:614
|
135 |
+
#: includes/mollie/wc/gateway/abstract.php:633
|
136 |
msgid "test mode"
|
137 |
msgstr "mode test"
|
138 |
|
139 |
#. translators: Placeholder 1: Payment method title
|
140 |
+
#: includes/mollie/wc/gateway/abstract.php:411
|
141 |
msgid "Could not create %s payment."
|
142 |
msgstr "Impossible de créer %s paiement."
|
143 |
|
144 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment
|
145 |
#. status, placeholder 3: payment ID
|
146 |
+
#: includes/mollie/wc/gateway/abstract.php:555
|
147 |
msgid "%s payment %s (%s)."
|
148 |
msgstr "%s paiement %s (%s)."
|
149 |
|
150 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment ID
|
151 |
+
#: includes/mollie/wc/gateway/abstract.php:587
|
152 |
msgid "Order completed using %s payment (%s)."
|
153 |
msgstr "ordre terminé en utilisant %s paiement (%s)"
|
154 |
|
155 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment ID
|
156 |
+
#: includes/mollie/wc/gateway/abstract.php:612
|
157 |
msgid "%s payment cancelled (%s)."
|
158 |
msgstr "%s paiement annulé (%s)."
|
159 |
|
160 |
#. translators: Placeholder 1: payment method title, placeholder 2: payment ID
|
161 |
+
#: includes/mollie/wc/gateway/abstract.php:631
|
162 |
msgid "%s payment expired (%s)."
|
163 |
msgstr "%s paiement expiré (%s)."
|
164 |
|
165 |
+
#: includes/mollie/wc/gateway/abstract.php:647
|
166 |
msgid ""
|
167 |
+
"You have cancelled your payment. Please complete your order with a different "
|
168 |
+
"payment method."
|
169 |
msgstr ""
|
170 |
+
"Vous avez annulé votre paiement . S'il vous plaît compléter votre commande "
|
171 |
+
"avec un autre méthode de paiement."
|
172 |
|
173 |
#. translators: Placeholder 1: currency, placeholder 2: refunded amount,
|
174 |
#. placeholder 3: optional refund reason, placeholder 4: payment ID,
|
175 |
#. placeholder 5: refund ID
|
176 |
+
#: includes/mollie/wc/gateway/abstract.php:721
|
177 |
msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
|
178 |
msgstr "remboursé %s%s (raison: %s) - Paiement ID: %s, Rembourse: %s"
|
179 |
|
180 |
+
#: includes/mollie/wc/gateway/abstract.php:790
|
181 |
msgid "Payment"
|
182 |
msgstr "paiement"
|
183 |
|
184 |
+
#: includes/mollie/wc/gateway/abstract.php:811
|
185 |
msgid "We have not received a definite payment status."
|
186 |
msgstr "Nous avons pas reçu un statut de paiement définitif."
|
187 |
|
188 |
+
#: includes/mollie/wc/gateway/abstract.php:816
|
189 |
msgid ""
|
190 |
+
"We have not received a definite payment status. You will receive an email as "
|
191 |
+
"soon as we receive a confirmation of the bank/merchant."
|
192 |
msgstr ""
|
193 |
+
"Nous avons pas reçu un statut de paiement définitif. Vous recevrez un email "
|
194 |
+
"dès que nous recevrons une confirmation de la banque /merchant"
|
195 |
|
196 |
#. translators: Placeholder 1: payment method
|
197 |
+
#: includes/mollie/wc/gateway/abstract.php:823
|
198 |
msgid "Payment completed with <strong>%s</strong>"
|
199 |
msgstr "Paiement complété par <strong>%s</strong>"
|
200 |
|
203 |
msgstr "date d'expiration"
|
204 |
|
205 |
#: includes/mollie/wc/gateway/banktransfer.php:34
|
206 |
+
msgid ""
|
207 |
+
"Number of days after the payment will expire. Default <code>%d</code> days"
|
208 |
+
msgstr ""
|
209 |
+
"Nombre de jours après le paiement expirera. Default <code>%d</code> jours"
|
210 |
|
211 |
#: includes/mollie/wc/gateway/banktransfer.php:43
|
212 |
msgid "Mail payment instructions"
|
215 |
#. translators: Placeholder 1: enabled or disabled
|
216 |
#: includes/mollie/wc/gateway/banktransfer.php:45
|
217 |
msgid ""
|
218 |
+
"Should Mollie automatically mail the payment instructions to the customer? "
|
|
|
|
|
|
|
219 |
"Default <code>%s</code>"
|
220 |
+
msgstr ""
|
221 |
+
"Devrait Mollie automatiquement envoye les instructions de paiement pour le "
|
222 |
+
"client par mail? Default <code>%s</code>"
|
223 |
|
224 |
+
#: includes/mollie/wc/gateway/banktransfer.php:45
|
225 |
+
#: includes/mollie/wc/helper/settings.php:191
|
226 |
msgid "Disabled"
|
227 |
msgstr "Désactivé"
|
228 |
|
229 |
#: includes/mollie/wc/gateway/banktransfer.php:48
|
230 |
msgid ""
|
231 |
+
"If you disable this option the customer still has an option to send the "
|
232 |
+
"payment instructions to an email address on the Mollie payment screen."
|
233 |
msgstr ""
|
234 |
+
"Si vous désactivez cette option, le client a toujours une option pour "
|
235 |
+
"envoyer les instructions de paiement à une adresse e-mail sur l'écran de "
|
236 |
+
"paiement de Mollie."
|
237 |
|
238 |
#: includes/mollie/wc/gateway/banktransfer.php:93
|
239 |
msgid "Bank Transfer"
|
241 |
|
242 |
#. translators: Placeholder 1: consumer name, placeholder 2: consumer IBAN,
|
243 |
#. placeholder 3: consumer BIC
|
244 |
+
#: includes/mollie/wc/gateway/banktransfer.php:136
|
245 |
+
#: includes/mollie/wc/gateway/directdebit.php:51
|
246 |
+
#: includes/mollie/wc/gateway/ideal.php:86
|
247 |
+
#: includes/mollie/wc/gateway/sofort.php:56
|
248 |
msgid "Payment completed by <strong>%s</strong> (IBAN: %s, BIC: %s)"
|
249 |
msgstr "ordre terminé par <strong>%s</strong> (IBAN: %s, BIC: %s)"
|
250 |
|
251 |
+
#: includes/mollie/wc/gateway/banktransfer.php:146
|
252 |
msgid ""
|
253 |
+
"Please complete your payment by transferring the total amount to the "
|
254 |
+
"following bank account:"
|
255 |
msgstr ""
|
256 |
+
"S'il vous plaît terminé votre paiement par transférer le montant total sur "
|
257 |
+
"le compte bancaire suivant:"
|
258 |
|
259 |
#. translators: Placeholder 1: 'Stichting Mollie Payments'
|
260 |
+
#: includes/mollie/wc/gateway/banktransfer.php:150
|
261 |
msgid "Beneficiary: %s"
|
262 |
msgstr "bénéficiaire: %s"
|
263 |
|
264 |
+
#: includes/mollie/wc/gateway/banktransfer.php:151
|
265 |
msgid "IBAN: <strong>%s</strong>"
|
266 |
msgstr "IBAN: <strong>%s</strong>"
|
267 |
|
268 |
+
#: includes/mollie/wc/gateway/banktransfer.php:152
|
269 |
msgid "BIC: %s"
|
270 |
msgstr "BIC: %s"
|
271 |
|
272 |
#. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
|
273 |
#. (SEPA) or +++513/7587/59959+++ (Belgium)
|
274 |
+
#: includes/mollie/wc/gateway/banktransfer.php:157
|
275 |
msgid "Payment reference: %s"
|
276 |
msgstr "Référence de paiement: %s"
|
277 |
|
278 |
#. translators: Placeholder 1: Payment reference e.g. RF49-0000-4716-6216
|
279 |
#. (SEPA) or +++513/7587/59959+++ (Belgium)
|
280 |
+
#: includes/mollie/wc/gateway/banktransfer.php:162
|
281 |
msgid "Please provide the payment reference <strong>%s</strong>"
|
282 |
msgstr "S'il vous plaît fournir la référence de paiement <strong>%s</strong>"
|
283 |
|
284 |
+
#: includes/mollie/wc/gateway/banktransfer.php:175
|
285 |
msgid "The payment will expire on <strong>%s</strong>."
|
286 |
msgstr "le paiement expirera le <strong>%s</strong>."
|
287 |
|
288 |
+
#: includes/mollie/wc/gateway/banktransfer.php:182
|
289 |
msgid ""
|
290 |
+
"The payment will expire on <strong>%s</strong>. Please make sure you "
|
291 |
+
"transfer the total amount before this date."
|
292 |
msgstr ""
|
293 |
+
"le paiement expirera le <strong>%s</strong>. S'il vous plaît faire sûr que "
|
294 |
+
"vous transférez le montant total avant cette date."
|
295 |
|
296 |
#: includes/mollie/wc/gateway/belfius.php:30
|
297 |
msgid "Belfius Direct Net"
|
334 |
#. translators: Placeholder 1: PayPal consumer name, placeholder 2: PayPal
|
335 |
#. email, placeholder 3: PayPal transaction ID
|
336 |
#: includes/mollie/wc/gateway/paypal.php:56
|
337 |
+
msgid ""
|
338 |
+
"Payment completed by <strong>%s</strong> - %s (PayPal transaction ID: %s)"
|
339 |
+
msgstr ""
|
340 |
+
"paiement terminé par <strong>%s<strong> - %s (PayPal transaction ID: %s)"
|
341 |
|
342 |
#: includes/mollie/wc/gateway/paysafecard.php:17
|
343 |
msgid "paysafecard"
|
353 |
|
354 |
#: includes/mollie/wc/helper/api.php:39
|
355 |
msgid ""
|
356 |
+
"Invalid API key. The API key must start with 'live_' or 'test_' and can't "
|
357 |
+
"further contain any special characters."
|
358 |
msgstr ""
|
359 |
+
"API key invalide. Le API key doit commencer par 'Live_' ou 'test_' et ne "
|
360 |
+
"peut pas contenir plus de caractères spéciaux."
|
361 |
|
362 |
+
#: includes/mollie/wc/helper/data.php:563
|
363 |
+
msgid "Item #%s stock incremented from %s to %s."
|
364 |
+
msgstr "Article #s% stocks a augumenté à %s par %s."
|
365 |
+
|
366 |
+
#: includes/mollie/wc/helper/settings.php:119
|
367 |
msgid "Error"
|
368 |
msgstr "Erreur"
|
369 |
|
370 |
+
#: includes/mollie/wc/helper/settings.php:129
|
371 |
msgid "Mollie status:"
|
372 |
msgstr "Mollie état:"
|
373 |
|
374 |
+
#: includes/mollie/wc/helper/settings.php:130
|
375 |
msgid "Connected"
|
376 |
msgstr "Connecté"
|
377 |
|
378 |
+
#: includes/mollie/wc/helper/settings.php:190
|
379 |
msgid "Gateway enabled"
|
380 |
msgstr "Passerelle activé"
|
381 |
|
382 |
+
#: includes/mollie/wc/helper/settings.php:190
|
383 |
msgid "Enabled"
|
384 |
msgstr "Activé"
|
385 |
|
386 |
+
#: includes/mollie/wc/helper/settings.php:191
|
387 |
msgid "Gateway disabled"
|
388 |
msgstr "Passerelle désactivé"
|
389 |
|
390 |
#. translators: The surrounding %s's Will be replaced by a link to the Mollie
|
391 |
#. profile
|
392 |
+
#: includes/mollie/wc/helper/settings.php:202
|
393 |
msgid "The following payment methods are activated in your %sMollie profile%s:"
|
394 |
+
msgstr ""
|
395 |
+
"Les moyens de paiement suivants sont activés en votre %sMollie profile%s:"
|
396 |
|
397 |
+
#: includes/mollie/wc/helper/settings.php:212
|
398 |
msgid "Refresh"
|
399 |
msgstr "Rafraîchir"
|
400 |
|
401 |
+
#: includes/mollie/wc/helper/settings.php:236
|
402 |
msgid "Edit"
|
403 |
msgstr "éditer"
|
404 |
|
405 |
#. translators: Default payment description. {order_number} and {order_date}
|
406 |
#. are available tags.
|
407 |
+
#: includes/mollie/wc/helper/settings.php:267
|
408 |
msgid "Order {order_number}"
|
409 |
msgstr "Ordre {order_number}"
|
410 |
|
411 |
+
#: includes/mollie/wc/helper/settings.php:270
|
412 |
msgid "Log plugin events."
|
413 |
msgstr "Log plugin événements."
|
414 |
|
415 |
+
#: includes/mollie/wc/helper/settings.php:275
|
416 |
msgid "View logs"
|
417 |
msgstr "Regarde le logs"
|
418 |
|
419 |
#. translators: Placeholder 1: Location of the log files
|
420 |
+
#: includes/mollie/wc/helper/settings.php:281
|
421 |
msgid "Log files are saved to <code>%s</code>"
|
422 |
msgstr "Les fichiers journaux sont enregistrés <code>%s</code>"
|
423 |
|
424 |
+
#: includes/mollie/wc/helper/settings.php:288 includes/mollie/wc/plugin.php:280
|
425 |
msgid "Mollie settings"
|
426 |
msgstr "Paramètres Mollie"
|
427 |
|
428 |
+
#: includes/mollie/wc/helper/settings.php:291
|
429 |
msgid ""
|
430 |
+
"The following options are required to use the plugin and are used by all "
|
431 |
+
"Mollie payment methods"
|
432 |
msgstr ""
|
433 |
+
"Les options suivantes sont requises pour utiliser les paiements de Mollie et "
|
434 |
+
"sont utilisés par toutes les méthodes paiement de Mollie."
|
435 |
|
436 |
+
#: includes/mollie/wc/helper/settings.php:295
|
437 |
msgid "Live API key"
|
438 |
msgstr "Live API key"
|
439 |
|
440 |
#. translators: Placeholder 1: API key mode (live or test). The surrounding
|
441 |
#. %s's Will be replaced by a link to the Mollie profile
|
442 |
+
#: includes/mollie/wc/helper/settings.php:300
|
443 |
+
#: includes/mollie/wc/helper/settings.php:326
|
444 |
msgid ""
|
445 |
+
"The API key is used to connect to Mollie. You can find your <strong>%s</"
|
446 |
+
"strong> API key in your %sMollie profile%s"
|
447 |
msgstr ""
|
448 |
+
"Ce API key est utilisé pour se connecter à Mollie. Vous pouvez trouver votre "
|
449 |
+
"<strong>%s</strong> API key dans votre %sMollie profil%s"
|
450 |
|
451 |
+
#: includes/mollie/wc/helper/settings.php:306
|
452 |
msgid "Live API key should start with live_"
|
453 |
msgstr "Live API key devrait commencer par live_"
|
454 |
|
455 |
+
#: includes/mollie/wc/helper/settings.php:314
|
456 |
msgid "Enable test mode"
|
457 |
msgstr "Activé mode de test"
|
458 |
|
459 |
+
#: includes/mollie/wc/helper/settings.php:317
|
460 |
+
msgid ""
|
461 |
+
"Enable test mode if you want to test the plugin without using real payments."
|
462 |
+
msgstr ""
|
463 |
+
"Activé mode de test si vous souhaitez tester le plugin sans utiliser les "
|
464 |
+
"paiements réels"
|
465 |
|
466 |
+
#: includes/mollie/wc/helper/settings.php:321
|
467 |
msgid "Test API key"
|
468 |
msgstr "Test API key"
|
469 |
|
470 |
+
#: includes/mollie/wc/helper/settings.php:332
|
471 |
msgid "Test API key should start with test_"
|
472 |
msgstr "Test API key devrait commencer avec test_"
|
473 |
|
474 |
#. translators: Placeholder 1: Default payment description, placeholder 2: list
|
475 |
#. of available tags
|
476 |
+
#: includes/mollie/wc/helper/settings.php:343
|
477 |
msgid ""
|
478 |
+
"Payment description send to Mollie. Default <code>%s</code><br/>You can use "
|
479 |
+
"the following tags: %s"
|
480 |
msgstr ""
|
481 |
+
"Paiement Description envoyer à Mollie. Default <code>%s</code><br/>Vous "
|
482 |
+
"pouvez utiliser les balises suivantes: %s"
|
483 |
|
484 |
+
#: includes/mollie/wc/helper/settings.php:349
|
485 |
msgid "Payment screen language"
|
486 |
msgstr "Paiement langue de l'écran"
|
487 |
|
488 |
+
#: includes/mollie/wc/helper/settings.php:352
|
489 |
msgid "Detect using browser language"
|
490 |
msgstr "Détecter utilisant la langue du navigateur"
|
491 |
|
492 |
#. translators: Placeholder 1: Current WordPress locale
|
493 |
+
#: includes/mollie/wc/helper/settings.php:354
|
494 |
msgid "Send WordPress language (%s)"
|
495 |
msgstr "Envoyer langue WordPress (%s) "
|
496 |
|
497 |
+
#: includes/mollie/wc/helper/settings.php:355
|
|
|
|
|
|
|
|
|
498 |
msgid "Dutch"
|
499 |
msgstr "Néerlandais"
|
500 |
|
501 |
+
#: includes/mollie/wc/helper/settings.php:356
|
502 |
msgid "Flemish (Belgium)"
|
503 |
msgstr "Flamande (Belgique)"
|
504 |
|
505 |
+
#: includes/mollie/wc/helper/settings.php:357
|
506 |
msgid "English"
|
507 |
msgstr "Anglais"
|
508 |
|
509 |
+
#: includes/mollie/wc/helper/settings.php:358
|
510 |
msgid "German"
|
511 |
msgstr "Allemand"
|
512 |
|
513 |
+
#: includes/mollie/wc/helper/settings.php:359
|
514 |
msgid "Spanish"
|
515 |
msgstr "Espagnol "
|
516 |
|
517 |
+
#: includes/mollie/wc/helper/settings.php:360
|
518 |
msgid "French"
|
519 |
msgstr "Français"
|
520 |
|
521 |
+
#: includes/mollie/wc/helper/settings.php:361
|
522 |
msgid "French (Belgium)"
|
523 |
msgstr "Français (Belgique) "
|
524 |
|
525 |
+
#: includes/mollie/wc/helper/settings.php:367
|
526 |
msgid "Debug Log"
|
527 |
msgstr "Debug log"
|
528 |
|
530 |
#. version, placeholder 3: used WooCommerce version
|
531 |
#: includes/mollie/wc/helper/status.php:53
|
532 |
msgid ""
|
533 |
+
"The %s plugin requires at least WooCommerce version %s, you are using "
|
534 |
+
"version %s. Please update your WooCommerce plugin."
|
535 |
msgstr ""
|
536 |
+
"Le plugin %s nécessite au moins la version WooCommerce %s, vous utilisez la "
|
537 |
+
"version %s S'il vous plaît mettre à jour votre plugin WooCommerce."
|
538 |
|
539 |
#: includes/mollie/wc/helper/status.php:64
|
540 |
+
msgid ""
|
541 |
+
"Mollie API client not installed. Please make sure the plugin is installed "
|
542 |
+
"correctly."
|
543 |
msgstr ""
|
544 |
+
"Mollie client API pas installé. S'il vous plaît assurez-vous que le plugin "
|
545 |
+
"est installé correctement."
|
546 |
|
547 |
#. translators: Placeholder 1: Required PHP version, placeholder 2: current PHP
|
548 |
#. version
|
552 |
|
553 |
#: includes/mollie/wc/helper/status.php:89
|
554 |
msgid ""
|
555 |
+
"The Mollie API client requires the PHP extension JSON to be enabled. Please "
|
556 |
+
"enable the 'json' extension in your PHP configuration."
|
557 |
msgstr ""
|
558 |
+
"Le client Mollie API nécessite l'extension PHP JSON doit être activé. S'il "
|
559 |
+
"vous plaît permettre le 'json’ extension dans votre PHP configuration."
|
560 |
|
561 |
#: includes/mollie/wc/helper/status.php:93
|
562 |
msgid ""
|
563 |
+
"The Mollie API client requires the PHP extension cURL to be enabled. Please "
|
564 |
+
"enable the 'curl' extension in your PHP configuration."
|
565 |
msgstr ""
|
566 |
+
"Le client Mollie API nécessite l'extension PHP cURL doit être activé. S'il "
|
567 |
+
"vous plaît permettre le ‘curl’ extension dans votre PHP configuration."
|
568 |
|
569 |
#. translators: Placeholder 1: The required cURL function names
|
570 |
#: includes/mollie/wc/helper/status.php:99
|
571 |
msgid ""
|
572 |
+
"The Mollie API client requires the following PHP cURL functions to be "
|
573 |
+
"available: %s. Please make sure all of these functions are available."
|
574 |
msgstr ""
|
575 |
+
"Le client Mollie API nécessite les fonctions cURL de PHP suivants pour être "
|
576 |
+
"disponibles: %s. S’il vous plaît assurez-vous que toutes ces fonctions sont "
|
577 |
+
"disponibles."
|
578 |
|
579 |
#: includes/mollie/wc/plugin.php:287
|
580 |
msgid "Logs"
|
597 |
msgstr "https://github.com/mollie/WooCommerce"
|
598 |
|
599 |
#. Description of the plugin/theme
|
600 |
+
msgid "Accept payments in WooCommerce with the official Mollie plugin"
|
601 |
+
msgstr "Accepter les paiements en WooCommerce avec le Mollie plugin officiel"
|
|
|
|
|
|
|
|
|
602 |
|
603 |
#. Author of the plugin/theme
|
604 |
msgid "Mollie"
|
608 |
msgid "https://www.mollie.com"
|
609 |
msgstr "https://www.mollie.com"
|
610 |
|
611 |
+
#, fuzzy
|
612 |
+
#~ msgid ""
|
613 |
+
#~ "Accept payments in WooCommerce with the official Mollie plugin for iDEAL, "
|
614 |
+
#~ "Credit Card, Bancontact/Mister Cash, Bank Transfer, PayPal, Bitcoin, "
|
615 |
+
#~ "paysafecard and SOFORT Banking"
|
616 |
+
#~ msgstr ""
|
617 |
+
#~ "Accepter les paiements dans WooCommerce avec Mollie iDEAL, Credit Card, "
|
618 |
+
#~ "Bancontact/Mister Cash, Bank Transfer, PayPal, Bitcoin, paysafecard and "
|
619 |
+
#~ "SOFORT Banking"
|
620 |
+
|
621 |
#~ msgid ""
|
622 |
+
#~ "This payment method is not supported by this plugin. Please check if "
|
623 |
+
#~ "there is an update available."
|
624 |
#~ msgstr ""
|
625 |
+
#~ "Ce mode de paiement est pas pris en charge par ce plugin . S'il vous "
|
626 |
+
#~ "plaît vérifier si il ya une mise à jour disponible ."
|
627 |
|
628 |
#~ msgid "Not supported"
|
629 |
#~ msgstr "Non supporté"
|
630 |
|
631 |
#~ msgid ""
|
632 |
+
#~ "No active Mollie payment methods found. Please check your Mollie profile "
|
633 |
+
#~ "which payment methods are activated."
|
634 |
#~ msgstr ""
|
635 |
+
#~ "Aucune méthode de paiement Mollie actifs trouvés . S'il vous plaît "
|
636 |
+
#~ "vérifier votre profil Mollie quelles méthodes de paiement sont activées ."
|
637 |
|
638 |
#~ msgid "Mollie payments for WooCommerce"
|
639 |
#~ msgstr "Mollie paiements pour WooCommerce"
|
i18n/languages/mollie-payments-for-woocommerce-nl_NL.mo
CHANGED
Binary file
|
i18n/languages/mollie-payments-for-woocommerce-nl_NL.po
CHANGED
@@ -5,8 +5,8 @@ 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:
|
9 |
-
"PO-Revision-Date:
|
10 |
"Last-Translator: Lennard van Gunst <lennard@mollie.com>\n"
|
11 |
"Language-Team: Mollie <info@mollie.nl>\n"
|
12 |
"Language: nl\n"
|
@@ -121,50 +121,50 @@ msgstr ""
|
|
121 |
msgid "Could not load order %s"
|
122 |
msgstr "Kan bestelling %s niet laden"
|
123 |
|
124 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
125 |
msgid "Awaiting payment confirmation."
|
126 |
msgstr "In afwachting van betaling bevestiging."
|
127 |
|
128 |
#. translators: Placeholder 1: Payment method title, placeholder 2: payment ID
|
129 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
130 |
msgid "%s payment started (%s)."
|
131 |
msgstr "%s betaling gestart (%s)."
|
132 |
|
133 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
134 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
135 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
136 |
-
#: includes/mollie/wc/gateway/abstract.php:595
|
137 |
#: includes/mollie/wc/gateway/abstract.php:614
|
|
|
138 |
msgid "test mode"
|
139 |
msgstr "test modus"
|
140 |
|
141 |
#. translators: Placeholder 1: Payment method title
|
142 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
143 |
msgid "Could not create %s payment."
|
144 |
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:
|
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:
|
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:
|
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:
|
164 |
msgid "%s payment expired (%s)."
|
165 |
msgstr "%s betaling verlopen (%s)."
|
166 |
|
167 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
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:
|
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:
|
183 |
msgid "Payment"
|
184 |
msgstr "Betaling"
|
185 |
|
186 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
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:
|
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:
|
200 |
msgid "Payment completed with <strong>%s</strong>"
|
201 |
msgstr "Betaling afgerond met <strong>%s</strong>"
|
202 |
|
@@ -363,7 +363,7 @@ msgstr ""
|
|
363 |
"Ongeldige API key ingesteld. De API key moet beginnen met 'live_’ of 'test_’ "
|
364 |
"en mag verder geen speciale tekens bevatten."
|
365 |
|
366 |
-
#: includes/mollie/wc/helper/data.php:
|
367 |
msgid "Item #%s stock incremented from %s to %s."
|
368 |
msgstr "Artikel #%s voorraad verhoogd van %s naar %s."
|
369 |
|
@@ -598,12 +598,8 @@ msgid "https://github.com/mollie/WooCommerce"
|
|
598 |
msgstr "https://github.com/mollie/WooCommerce"
|
599 |
|
600 |
#. Description of the plugin/theme
|
601 |
-
msgid ""
|
602 |
-
"
|
603 |
-
"Mister Cash, Bank Transfer, PayPal, Bitcoin, paysafecard and SOFORT Banking"
|
604 |
-
msgstr ""
|
605 |
-
"Accepteer betalingen in WooCommerce met Mollie iDEAL, Creditcard, Bancontact/"
|
606 |
-
"Mister Cash, Overboeking, PayPal, Bitcoin, paysafecard en SOFORT Banking"
|
607 |
|
608 |
#. Author of the plugin/theme
|
609 |
msgid "Mollie"
|
@@ -613,6 +609,15 @@ msgstr "Mollie"
|
|
613 |
msgid "https://www.mollie.com"
|
614 |
msgstr "https://www.mollie.com"
|
615 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
616 |
#~ msgid ""
|
617 |
#~ "This payment method is not supported by this plugin. Please check if "
|
618 |
#~ "there is an update available."
|
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"
|
121 |
msgid "Could not load order %s"
|
122 |
msgstr "Kan bestelling %s niet laden"
|
123 |
|
124 |
+
#: includes/mollie/wc/gateway/abstract.php:386
|
125 |
msgid "Awaiting payment confirmation."
|
126 |
msgstr "In afwachting van betaling bevestiging."
|
127 |
|
128 |
#. translators: Placeholder 1: Payment method title, placeholder 2: payment ID
|
129 |
+
#: includes/mollie/wc/gateway/abstract.php:391
|
130 |
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 |
|
141 |
#. translators: Placeholder 1: Payment method title
|
142 |
+
#: includes/mollie/wc/gateway/abstract.php:411
|
143 |
msgid "Could not create %s payment."
|
144 |
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 |
#. 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 |
"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 |
|
363 |
"Ongeldige API key ingesteld. De API key moet beginnen met 'live_’ of 'test_’ "
|
364 |
"en mag verder geen speciale tekens bevatten."
|
365 |
|
366 |
+
#: includes/mollie/wc/helper/data.php:563
|
367 |
msgid "Item #%s stock incremented from %s to %s."
|
368 |
msgstr "Artikel #%s voorraad verhoogd van %s naar %s."
|
369 |
|
598 |
msgstr "https://github.com/mollie/WooCommerce"
|
599 |
|
600 |
#. Description of the plugin/theme
|
601 |
+
msgid "Accept payments in WooCommerce with the official Mollie plugin"
|
602 |
+
msgstr "Accepteer betalingen in WooCommerce met de officiële Mollie plugin"
|
|
|
|
|
|
|
|
|
603 |
|
604 |
#. Author of the plugin/theme
|
605 |
msgid "Mollie"
|
609 |
msgid "https://www.mollie.com"
|
610 |
msgstr "https://www.mollie.com"
|
611 |
|
612 |
+
#~ msgid ""
|
613 |
+
#~ "Accept payments in WooCommerce with the official Mollie plugin for iDEAL, "
|
614 |
+
#~ "Credit Card, Bancontact/Mister Cash, Bank Transfer, PayPal, Bitcoin, "
|
615 |
+
#~ "paysafecard and SOFORT Banking"
|
616 |
+
#~ msgstr ""
|
617 |
+
#~ "Accepteer betalingen in WooCommerce met de officiële Mollie plugin voor "
|
618 |
+
#~ "iDEAL, Creditcard, Bancontact/Mister Cash, Overboeking, PayPal, Bitcoin, "
|
619 |
+
#~ "paysafecard en SOFORT Banking"
|
620 |
+
|
621 |
#~ msgid ""
|
622 |
#~ "This payment method is not supported by this plugin. Please check if "
|
623 |
#~ "there is an update available."
|
i18n/languages/mollie-payments-for-woocommerce.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Mollie Payments for WooCommerce package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Mollie Payments for WooCommerce 2.0
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mollie-payments-"
|
7 |
"for-woocommerce\n"
|
8 |
-
"POT-Creation-Date:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date:
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
|
@@ -106,50 +106,50 @@ msgstr ""
|
|
106 |
msgid "Could not load order %s"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
110 |
msgid "Awaiting payment confirmation."
|
111 |
msgstr ""
|
112 |
|
113 |
#. translators: Placeholder 1: Payment method title, placeholder 2: payment ID
|
114 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
115 |
msgid "%s payment started (%s)."
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
119 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
120 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
121 |
-
#: includes/mollie/wc/gateway/abstract.php:595
|
122 |
#: includes/mollie/wc/gateway/abstract.php:614
|
|
|
123 |
msgid "test mode"
|
124 |
msgstr ""
|
125 |
|
126 |
#. translators: Placeholder 1: Payment method title
|
127 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
128 |
msgid "Could not create %s payment."
|
129 |
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:
|
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:
|
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:
|
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:
|
149 |
msgid "%s payment expired (%s)."
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
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:
|
162 |
msgid "Refunded %s%s (reason: %s) - Payment ID: %s, Refund: %s"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
166 |
msgid "Payment"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
170 |
msgid "We have not received a definite payment status."
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/mollie/wc/gateway/abstract.php:
|
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:
|
181 |
msgid "Payment completed with <strong>%s</strong>"
|
182 |
msgstr ""
|
183 |
|
@@ -329,7 +329,7 @@ msgid ""
|
|
329 |
"further contain any special characters."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: includes/mollie/wc/helper/data.php:
|
333 |
msgid "Item #%s stock incremented from %s to %s."
|
334 |
msgstr ""
|
335 |
|
@@ -548,9 +548,7 @@ msgid "https://github.com/mollie/WooCommerce"
|
|
548 |
msgstr ""
|
549 |
|
550 |
#. Description of the plugin/theme
|
551 |
-
msgid ""
|
552 |
-
"Accept payments in WooCommerce with Mollie iDEAL, Credit Card, Bancontact/"
|
553 |
-
"Mister Cash, Bank Transfer, PayPal, Bitcoin, paysafecard and SOFORT Banking"
|
554 |
msgstr ""
|
555 |
|
556 |
#. Author of the plugin/theme
|
1 |
+
# Copyright (C) 2016 Mollie Payments for WooCommerce
|
2 |
# This file is distributed under the same license as the Mollie Payments for WooCommerce package.
|
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"
|
12 |
+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
|
106 |
msgid "Could not load order %s"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: includes/mollie/wc/gateway/abstract.php:386
|
110 |
msgid "Awaiting payment confirmation."
|
111 |
msgstr ""
|
112 |
|
113 |
#. translators: Placeholder 1: Payment method title, placeholder 2: payment ID
|
114 |
+
#: includes/mollie/wc/gateway/abstract.php:391
|
115 |
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 |
|
126 |
#. translators: Placeholder 1: Payment method title
|
127 |
+
#: includes/mollie/wc/gateway/abstract.php:411
|
128 |
msgid "Could not create %s payment."
|
129 |
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 |
#. 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 |
|
329 |
"further contain any special characters."
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: includes/mollie/wc/helper/data.php:563
|
333 |
msgid "Item #%s stock incremented from %s to %s."
|
334 |
msgstr ""
|
335 |
|
548 |
msgstr ""
|
549 |
|
550 |
#. Description of the plugin/theme
|
551 |
+
msgid "Accept payments in WooCommerce with the official Mollie plugin"
|
|
|
|
|
552 |
msgstr ""
|
553 |
|
554 |
#. Author of the plugin/theme
|
includes/mollie-api-php/README.mdown
CHANGED
@@ -24,11 +24,11 @@ To use the Mollie API client, the following things are required:
|
|
24 |
|
25 |
By far the easiest way to install the Mollie API client is to require it with [Composer](http://getcomposer.org/doc/00-intro.md).
|
26 |
|
27 |
-
$ composer require mollie/mollie-api-php 1.
|
28 |
|
29 |
{
|
30 |
"require": {
|
31 |
-
"mollie/mollie-api-php": "1.
|
32 |
}
|
33 |
}
|
34 |
|
24 |
|
25 |
By far the easiest way to install the Mollie API client is to require it with [Composer](http://getcomposer.org/doc/00-intro.md).
|
26 |
|
27 |
+
$ composer require mollie/mollie-api-php 1.4.x
|
28 |
|
29 |
{
|
30 |
"require": {
|
31 |
+
"mollie/mollie-api-php": "1.4.x"
|
32 |
}
|
33 |
}
|
34 |
|
includes/mollie-api-php/composer.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"name": "mollie/mollie-api-php",
|
3 |
-
"version": "1.3.3",
|
4 |
"description": "Mollie API client library for PHP",
|
|
|
5 |
"homepage": "https://github.com/mollie/mollie-api-php",
|
6 |
"license": "BSD-2-Clause",
|
7 |
"authors": [
|
1 |
{
|
2 |
"name": "mollie/mollie-api-php",
|
|
|
3 |
"description": "Mollie API client library for PHP",
|
4 |
+
"version": "1.4.1",
|
5 |
"homepage": "https://github.com/mollie/mollie-api-php",
|
6 |
"license": "BSD-2-Clause",
|
7 |
"authors": [
|
includes/mollie-api-php/examples/11-new-customer.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Example 11 - How to create a new customer in the Mollie API.
|
4 |
+
*/
|
5 |
+
|
6 |
+
try
|
7 |
+
{
|
8 |
+
/*
|
9 |
+
* Initialize the Mollie API library with your API key or OAuth access token.
|
10 |
+
*/
|
11 |
+
include "initialize.php";
|
12 |
+
|
13 |
+
/*
|
14 |
+
* Customer creation parameters.
|
15 |
+
*
|
16 |
+
* See: https://www.mollie.com/en/docs/reference/customers/create
|
17 |
+
*/
|
18 |
+
$customer = $mollie->customers->create(array(
|
19 |
+
"name" => "Luke Skywalker",
|
20 |
+
"email" => "luke@example.org",
|
21 |
+
"metadata" => array(
|
22 |
+
"isJedi" => TRUE,
|
23 |
+
),
|
24 |
+
));
|
25 |
+
|
26 |
+
echo "<p>New customer created " . htmlspecialchars($customer->id) . " (" . htmlspecialchars($customer->name) . ").</p>";
|
27 |
+
}
|
28 |
+
catch (Mollie_API_Exception $e)
|
29 |
+
{
|
30 |
+
echo "API call failed: " . htmlspecialchars($e->getMessage());
|
31 |
+
}
|
includes/mollie-api-php/examples/12-new-customer-payment.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Example 12 - How to create a new customer in the Mollie API.
|
4 |
+
*/
|
5 |
+
|
6 |
+
try
|
7 |
+
{
|
8 |
+
/*
|
9 |
+
* Initialize the Mollie API library with your API key or OAuth access token.
|
10 |
+
*/
|
11 |
+
include "initialize.php";
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Retrieve the last created customer for this example.
|
15 |
+
* If no customers are created yet, run example 11.
|
16 |
+
*/
|
17 |
+
$customer = $mollie->customers->all(0, 1)->data[0];
|
18 |
+
|
19 |
+
/*
|
20 |
+
* Generate a unique order id for this example. It is important to include this unique attribute
|
21 |
+
* in the redirectUrl (below) so a proper return page can be shown to the customer.
|
22 |
+
*/
|
23 |
+
$order_id = time();
|
24 |
+
|
25 |
+
/*
|
26 |
+
* Determine the url parts to these example files.
|
27 |
+
*/
|
28 |
+
$protocol = isset($_SERVER['HTTPS']) && strcasecmp('off', $_SERVER['HTTPS']) !== 0 ? "https" : "http";
|
29 |
+
$hostname = $_SERVER['HTTP_HOST'];
|
30 |
+
$path = dirname(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['PHP_SELF']);
|
31 |
+
|
32 |
+
/*
|
33 |
+
* Customer Payment creation parameters.
|
34 |
+
*
|
35 |
+
* See: https://www.mollie.com/en/docs/reference/customers/create-payment
|
36 |
+
*/
|
37 |
+
$payment = $mollie->customers_payments->with($customer)->create(array(
|
38 |
+
"amount" => 10.00,
|
39 |
+
"description" => "My first Customer payment",
|
40 |
+
"redirectUrl" => "{$protocol}://{$hostname}{$path}/03-return-page.php?order_id={$order_id}",
|
41 |
+
"webhookUrl" => "{$protocol}://{$hostname}{$path}/02-webhook-verification.php"
|
42 |
+
));
|
43 |
+
|
44 |
+
/*
|
45 |
+
* In this example we store the order with its payment status in a database.
|
46 |
+
*/
|
47 |
+
database_write($order_id, $payment->status);
|
48 |
+
|
49 |
+
/*
|
50 |
+
* Send the customer off to complete the payment.
|
51 |
+
*/
|
52 |
+
header("Location: " . $payment->getPaymentUrl());
|
53 |
+
}
|
54 |
+
catch (Mollie_API_Exception $e)
|
55 |
+
{
|
56 |
+
echo "API call failed: " . htmlspecialchars($e->getMessage());
|
57 |
+
}
|
58 |
+
|
59 |
+
|
60 |
+
/*
|
61 |
+
* NOTE: This example uses a text file as a database. Please use a real database like MySQL in production code.
|
62 |
+
*/
|
63 |
+
function database_write ($order_id, $status)
|
64 |
+
{
|
65 |
+
$order_id = intval($order_id);
|
66 |
+
$database = dirname(__FILE__) . "/orders/order-{$order_id}.txt";
|
67 |
+
|
68 |
+
file_put_contents($database, $status);
|
69 |
+
}
|
includes/mollie-api-php/examples/13-customer-payments-history.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Example 13 - How to retrieve your customers' payments history.
|
4 |
+
*/
|
5 |
+
|
6 |
+
try
|
7 |
+
{
|
8 |
+
/*
|
9 |
+
* Initialize the Mollie API library with your API key.
|
10 |
+
*
|
11 |
+
* See: https://www.mollie.com/beheer/account/profielen/
|
12 |
+
*/
|
13 |
+
include "initialize.php";
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Retrieve the last created customer for this example.
|
17 |
+
* If no customers are created yet, run example 11.
|
18 |
+
*/
|
19 |
+
$customer = $mollie->customers->all(0, 1)->data[0];
|
20 |
+
|
21 |
+
// Pagination
|
22 |
+
$offset = 0;
|
23 |
+
$limit = 25;
|
24 |
+
|
25 |
+
/*
|
26 |
+
* Get the all payments for this API key ordered by newest.
|
27 |
+
*/
|
28 |
+
$payments = $mollie->customers_payments->with($customer)->all($offset, $limit);
|
29 |
+
|
30 |
+
foreach ($payments as $payment)
|
31 |
+
{
|
32 |
+
echo "€ " . htmlspecialchars($payment->amount) . ", status: " . htmlspecialchars($payment->status) . "<br>";
|
33 |
+
}
|
34 |
+
}
|
35 |
+
catch (Mollie_API_Exception $e)
|
36 |
+
{
|
37 |
+
echo "API call failed: " . htmlspecialchars($e->getMessage());
|
38 |
+
}
|
includes/mollie-api-php/src/Mollie/API/Client.php
CHANGED
@@ -34,7 +34,7 @@ class Mollie_API_Client
|
|
34 |
/**
|
35 |
* Version of our client.
|
36 |
*/
|
37 |
-
const CLIENT_VERSION = "1.
|
38 |
|
39 |
/**
|
40 |
* Endpoint of the remote API.
|
@@ -111,6 +111,20 @@ class Mollie_API_Client
|
|
111 |
*/
|
112 |
public $settlements;
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
/**
|
115 |
* @var string
|
116 |
*/
|
@@ -141,10 +155,12 @@ class Mollie_API_Client
|
|
141 |
$this->getCompatibilityChecker()
|
142 |
->checkCompatibility();
|
143 |
|
144 |
-
$this->payments
|
145 |
-
$this->payments_refunds
|
146 |
-
$this->issuers
|
147 |
-
$this->methods
|
|
|
|
|
148 |
|
149 |
// OAuth2 endpoints
|
150 |
$this->permissions = new Mollie_API_Resource_Permissions($this);
|
@@ -161,13 +177,13 @@ class Mollie_API_Client
|
|
161 |
}
|
162 |
|
163 |
/**
|
164 |
-
* @param string $
|
165 |
* @return Mollie_API_Resource_Undefined
|
166 |
*/
|
167 |
-
public function __get ($
|
168 |
{
|
169 |
$undefined_resource = new Mollie_API_Resource_Undefined($this);
|
170 |
-
$undefined_resource->
|
171 |
|
172 |
return $undefined_resource;
|
173 |
}
|
34 |
/**
|
35 |
* Version of our client.
|
36 |
*/
|
37 |
+
const CLIENT_VERSION = "1.4.1";
|
38 |
|
39 |
/**
|
40 |
* Endpoint of the remote API.
|
111 |
*/
|
112 |
public $settlements;
|
113 |
|
114 |
+
/**
|
115 |
+
* RESTful Customers resource.
|
116 |
+
*
|
117 |
+
* @var Mollie_API_Resource_Customers
|
118 |
+
*/
|
119 |
+
public $customers;
|
120 |
+
|
121 |
+
/**
|
122 |
+
* RESTful Customers Payments resource.
|
123 |
+
*
|
124 |
+
* @var Mollie_API_Resource_Customers_Payments
|
125 |
+
*/
|
126 |
+
public $customers_payments;
|
127 |
+
|
128 |
/**
|
129 |
* @var string
|
130 |
*/
|
155 |
$this->getCompatibilityChecker()
|
156 |
->checkCompatibility();
|
157 |
|
158 |
+
$this->payments = new Mollie_API_Resource_Payments($this);
|
159 |
+
$this->payments_refunds = new Mollie_API_Resource_Payments_Refunds($this);
|
160 |
+
$this->issuers = new Mollie_API_Resource_Issuers($this);
|
161 |
+
$this->methods = new Mollie_API_Resource_Methods($this);
|
162 |
+
$this->customers = new Mollie_API_Resource_Customers($this);
|
163 |
+
$this->customers_payments = new Mollie_API_Resource_Customers_Payments($this);
|
164 |
|
165 |
// OAuth2 endpoints
|
166 |
$this->permissions = new Mollie_API_Resource_Permissions($this);
|
177 |
}
|
178 |
|
179 |
/**
|
180 |
+
* @param string $resource_path
|
181 |
* @return Mollie_API_Resource_Undefined
|
182 |
*/
|
183 |
+
public function __get ($resource_path)
|
184 |
{
|
185 |
$undefined_resource = new Mollie_API_Resource_Undefined($this);
|
186 |
+
$undefined_resource->setResourcePath($resource_path);
|
187 |
|
188 |
return $undefined_resource;
|
189 |
}
|
includes/mollie-api-php/src/Mollie/API/Object/Customer.php
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015, Mollie B.V.
|
4 |
+
* All rights reserved.
|
5 |
+
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without
|
7 |
+
* modification, are permitted provided that the following conditions are met:
|
8 |
+
*
|
9 |
+
* - Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
11 |
+
* - Redistributions in binary form must reproduce the above copyright
|
12 |
+
* notice, this list of conditions and the following disclaimer in the
|
13 |
+
* documentation and/or other materials provided with the distribution.
|
14 |
+
*
|
15 |
+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
|
16 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18 |
+
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
|
19 |
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
21 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
22 |
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
23 |
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
24 |
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
25 |
+
* DAMAGE.
|
26 |
+
*
|
27 |
+
* @license Berkeley Software Distribution License (BSD-License 2) http://www.opensource.org/licenses/bsd-license.php
|
28 |
+
* @author Mollie B.V. <info@mollie.com>
|
29 |
+
* @copyright Mollie B.V.
|
30 |
+
* @link https://www.mollie.com
|
31 |
+
*/
|
32 |
+
class Mollie_API_Object_Customer
|
33 |
+
{
|
34 |
+
/**
|
35 |
+
* @var string
|
36 |
+
*/
|
37 |
+
public $resource;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Id of the customer.
|
41 |
+
*
|
42 |
+
* @var string
|
43 |
+
*/
|
44 |
+
public $id;
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Either "live" or "test". Indicates this being a test or a live (verified) customer.
|
48 |
+
*
|
49 |
+
* @var string
|
50 |
+
*/
|
51 |
+
public $mode;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* @var string
|
55 |
+
*/
|
56 |
+
public $name;
|
57 |
+
|
58 |
+
/**
|
59 |
+
* @var string
|
60 |
+
*/
|
61 |
+
public $email;
|
62 |
+
|
63 |
+
/**
|
64 |
+
* @var string|null
|
65 |
+
*/
|
66 |
+
public $locale;
|
67 |
+
|
68 |
+
/**
|
69 |
+
* @var object|mixed|null
|
70 |
+
*/
|
71 |
+
public $metadata;
|
72 |
+
|
73 |
+
/**
|
74 |
+
* @var string[]|array
|
75 |
+
*/
|
76 |
+
public $recentlyUsedMethods;
|
77 |
+
|
78 |
+
/**
|
79 |
+
* @var string
|
80 |
+
*/
|
81 |
+
public $createdDatetime;
|
82 |
+
}
|
includes/mollie-api-php/src/Mollie/API/Object/Payment.php
CHANGED
@@ -72,6 +72,11 @@ class Mollie_API_Object_Payment
|
|
72 |
*/
|
73 |
const STATUS_CHARGED_BACK = "charged_back";
|
74 |
|
|
|
|
|
|
|
|
|
|
|
75 |
/**
|
76 |
* Id of the payment (on the Mollie platform).
|
77 |
*
|
@@ -180,6 +185,14 @@ class Mollie_API_Object_Payment
|
|
180 |
*/
|
181 |
public $profileId;
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
/**
|
184 |
* The locale used for this payment.
|
185 |
*
|
72 |
*/
|
73 |
const STATUS_CHARGED_BACK = "charged_back";
|
74 |
|
75 |
+
/**
|
76 |
+
* @var string
|
77 |
+
*/
|
78 |
+
public $resource;
|
79 |
+
|
80 |
/**
|
81 |
* Id of the payment (on the Mollie platform).
|
82 |
*
|
185 |
*/
|
186 |
public $profileId;
|
187 |
|
188 |
+
/**
|
189 |
+
* The customer ID this payment is performed by.
|
190 |
+
*
|
191 |
+
* @example cst_51EkUqla3
|
192 |
+
* @var string
|
193 |
+
*/
|
194 |
+
public $customerId;
|
195 |
+
|
196 |
/**
|
197 |
* The locale used for this payment.
|
198 |
*
|
includes/mollie-api-php/src/Mollie/API/Resource/Base.php
CHANGED
@@ -48,21 +48,27 @@ abstract class Mollie_API_Resource_Base
|
|
48 |
protected $api;
|
49 |
|
50 |
/**
|
51 |
-
* @
|
52 |
*/
|
53 |
-
|
54 |
-
{
|
55 |
-
$this->api = $api;
|
56 |
-
}
|
57 |
|
58 |
/**
|
59 |
-
* @
|
60 |
*/
|
61 |
-
protected
|
|
|
|
|
|
|
|
|
|
|
62 |
{
|
63 |
-
$
|
64 |
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
/**
|
@@ -205,7 +211,7 @@ abstract class Mollie_API_Resource_Base
|
|
205 |
}
|
206 |
}
|
207 |
|
208 |
-
return $this->rest_create($this->
|
209 |
}
|
210 |
|
211 |
/**
|
@@ -220,7 +226,7 @@ abstract class Mollie_API_Resource_Base
|
|
220 |
*/
|
221 |
public function get ($resource_id, array $filters = array())
|
222 |
{
|
223 |
-
return $this->rest_read($this->
|
224 |
}
|
225 |
|
226 |
/**
|
@@ -234,7 +240,7 @@ abstract class Mollie_API_Resource_Base
|
|
234 |
*/
|
235 |
public function all ($offset = 0, $limit = 0, array $filters = array())
|
236 |
{
|
237 |
-
return $this->rest_list($this->
|
238 |
}
|
239 |
|
240 |
/**
|
@@ -270,4 +276,55 @@ abstract class Mollie_API_Resource_Base
|
|
270 |
|
271 |
return $object;
|
272 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
}
|
48 |
protected $api;
|
49 |
|
50 |
/**
|
51 |
+
* @var string
|
52 |
*/
|
53 |
+
protected $resource_path;
|
|
|
|
|
|
|
54 |
|
55 |
/**
|
56 |
+
* @var string|null
|
57 |
*/
|
58 |
+
protected $parent_id;
|
59 |
+
|
60 |
+
/**
|
61 |
+
* @param Mollie_API_Client $api
|
62 |
+
*/
|
63 |
+
public function __construct(Mollie_API_Client $api)
|
64 |
{
|
65 |
+
$this->api = $api;
|
66 |
|
67 |
+
if (empty($this->resource_path))
|
68 |
+
{
|
69 |
+
$class_parts = explode("_", get_class($this));
|
70 |
+
$this->resource_path = strtolower(end($class_parts));
|
71 |
+
}
|
72 |
}
|
73 |
|
74 |
/**
|
211 |
}
|
212 |
}
|
213 |
|
214 |
+
return $this->rest_create($this->getResourcePath(), $encoded, $filters);
|
215 |
}
|
216 |
|
217 |
/**
|
226 |
*/
|
227 |
public function get ($resource_id, array $filters = array())
|
228 |
{
|
229 |
+
return $this->rest_read($this->getResourcePath(), $resource_id, $filters);
|
230 |
}
|
231 |
|
232 |
/**
|
240 |
*/
|
241 |
public function all ($offset = 0, $limit = 0, array $filters = array())
|
242 |
{
|
243 |
+
return $this->rest_list($this->getResourcePath(), $offset, $limit, $filters);
|
244 |
}
|
245 |
|
246 |
/**
|
276 |
|
277 |
return $object;
|
278 |
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* @param string $resource_path
|
282 |
+
*/
|
283 |
+
public function setResourcePath ($resource_path)
|
284 |
+
{
|
285 |
+
$this->resource_path = strtolower($resource_path);
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* @return string
|
290 |
+
* @throws Mollie_API_Exception
|
291 |
+
*/
|
292 |
+
public function getResourcePath ()
|
293 |
+
{
|
294 |
+
if (strpos($this->resource_path, "_") !== FALSE)
|
295 |
+
{
|
296 |
+
list($parent_resource, $child_resource) = explode("_", $this->resource_path, 2);
|
297 |
+
|
298 |
+
if (!strlen($this->parent_id))
|
299 |
+
{
|
300 |
+
throw new Mollie_API_Exception("Subresource '{$this->resource_path}' used without parent '$parent_resource' ID.");
|
301 |
+
}
|
302 |
+
|
303 |
+
return "$parent_resource/{$this->parent_id}/$child_resource";
|
304 |
+
}
|
305 |
+
|
306 |
+
return $this->resource_path;
|
307 |
+
}
|
308 |
+
|
309 |
+
/**
|
310 |
+
* @param string $parent_id
|
311 |
+
* @return $this
|
312 |
+
*/
|
313 |
+
public function withParentId ($parent_id)
|
314 |
+
{
|
315 |
+
$this->parent_id = $parent_id;
|
316 |
+
|
317 |
+
return $this;
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Set the resource to use a certain parent. Use this method before performing a get() or all() call.
|
322 |
+
*
|
323 |
+
* @param mixed $parent An object with an 'id' property
|
324 |
+
* @return $this
|
325 |
+
*/
|
326 |
+
public function with ($parent)
|
327 |
+
{
|
328 |
+
return $this->withParentId($parent->id);
|
329 |
+
}
|
330 |
}
|
includes/mollie-api-php/src/Mollie/API/Resource/Customers.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015, Mollie B.V.
|
4 |
+
* All rights reserved.
|
5 |
+
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without
|
7 |
+
* modification, are permitted provided that the following conditions are met:
|
8 |
+
*
|
9 |
+
* - Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
11 |
+
* - Redistributions in binary form must reproduce the above copyright
|
12 |
+
* notice, this list of conditions and the following disclaimer in the
|
13 |
+
* documentation and/or other materials provided with the distribution.
|
14 |
+
*
|
15 |
+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
|
16 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18 |
+
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
|
19 |
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
21 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
22 |
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
23 |
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
24 |
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
25 |
+
* DAMAGE.
|
26 |
+
*
|
27 |
+
* @license Berkeley Software Distribution License (BSD-License 2) http://www.opensource.org/licenses/bsd-license.php
|
28 |
+
* @author Mollie B.V. <info@mollie.com>
|
29 |
+
* @copyright Mollie B.V.
|
30 |
+
* @link https://www.mollie.com
|
31 |
+
*
|
32 |
+
* @method Mollie_API_Object_Customer[]|Mollie_API_Object_List all($offset = 0, $limit = 0, array $filters = array())
|
33 |
+
* @method Mollie_API_Object_Customer get($id, array $filters = array())
|
34 |
+
*/
|
35 |
+
class Mollie_API_Resource_Customers extends Mollie_API_Resource_Base
|
36 |
+
{
|
37 |
+
/**
|
38 |
+
* @return Mollie_API_Object_Customer
|
39 |
+
*/
|
40 |
+
protected function getResourceObject ()
|
41 |
+
{
|
42 |
+
return new Mollie_API_Object_Customer;
|
43 |
+
}
|
44 |
+
}
|
includes/mollie-api-php/src/Mollie/API/Resource/Customers/Payments.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2013, Mollie B.V.
|
4 |
+
* All rights reserved.
|
5 |
+
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without
|
7 |
+
* modification, are permitted provided that the following conditions are met:
|
8 |
+
*
|
9 |
+
* - Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
11 |
+
* - Redistributions in binary form must reproduce the above copyright
|
12 |
+
* notice, this list of conditions and the following disclaimer in the
|
13 |
+
* documentation and/or other materials provided with the distribution.
|
14 |
+
*
|
15 |
+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
|
16 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18 |
+
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
|
19 |
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
21 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
22 |
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
23 |
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
24 |
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
25 |
+
* DAMAGE.
|
26 |
+
*
|
27 |
+
* @license Berkeley Software Distribution License (BSD-License 2) http://www.opensource.org/licenses/bsd-license.php
|
28 |
+
* @author Mollie B.V. <info@mollie.com>
|
29 |
+
* @copyright Mollie B.V.
|
30 |
+
* @link https://www.mollie.com
|
31 |
+
*
|
32 |
+
* @method Mollie_API_Object_Payment[]|Mollie_API_Object_List all($offset = 0, $limit = 0, array $filters = array())
|
33 |
+
* @method Mollie_API_Object_Payment create(array $data, array $filters = array())
|
34 |
+
*/
|
35 |
+
class Mollie_API_Resource_Customers_Payments extends Mollie_API_Resource_Payments
|
36 |
+
{
|
37 |
+
/**
|
38 |
+
* @var string
|
39 |
+
*/
|
40 |
+
protected $resource_path = "customers_payments";
|
41 |
+
}
|
includes/mollie-api-php/src/Mollie/API/Resource/Payments.php
CHANGED
@@ -74,7 +74,7 @@ class Mollie_API_Resource_Payments extends Mollie_API_Resource_Base
|
|
74 |
*/
|
75 |
public function refund (Mollie_API_Object_Payment $payment, $amount = NULL)
|
76 |
{
|
77 |
-
$resource = "{$this->
|
78 |
|
79 |
$body = NULL;
|
80 |
if ($amount)
|
74 |
*/
|
75 |
public function refund (Mollie_API_Object_Payment $payment, $amount = NULL)
|
76 |
{
|
77 |
+
$resource = "{$this->getResourcePath()}/" . urlencode($payment->id) . "/refunds";
|
78 |
|
79 |
$body = NULL;
|
80 |
if ($amount)
|
includes/mollie-api-php/src/Mollie/API/Resource/Payments/Refunds.php
CHANGED
@@ -37,7 +37,7 @@ class Mollie_API_Resource_Payments_Refunds extends Mollie_API_Resource_Base
|
|
37 |
/**
|
38 |
* @var string
|
39 |
*/
|
40 |
-
|
41 |
|
42 |
/**
|
43 |
* @return Mollie_API_Object_Method
|
@@ -46,24 +46,4 @@ class Mollie_API_Resource_Payments_Refunds extends Mollie_API_Resource_Base
|
|
46 |
{
|
47 |
return new Mollie_API_Object_Payment_Refund;
|
48 |
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* @return string
|
52 |
-
*/
|
53 |
-
protected function getResourceName ()
|
54 |
-
{
|
55 |
-
return "payments/" . urlencode($this->payment_id) . "/refunds";
|
56 |
-
}
|
57 |
-
|
58 |
-
/**
|
59 |
-
* Set the resource to use a certain payment. Use this method before performing a get() or all() call.
|
60 |
-
*
|
61 |
-
* @param Mollie_API_Object_Payment $payment
|
62 |
-
* @return self
|
63 |
-
*/
|
64 |
-
public function with(Mollie_API_Object_Payment $payment)
|
65 |
-
{
|
66 |
-
$this->payment_id = $payment->id;
|
67 |
-
return $this;
|
68 |
-
}
|
69 |
}
|
37 |
/**
|
38 |
* @var string
|
39 |
*/
|
40 |
+
protected $resource_path = "payments_refunds";
|
41 |
|
42 |
/**
|
43 |
* @return Mollie_API_Object_Method
|
46 |
{
|
47 |
return new Mollie_API_Object_Payment_Refund;
|
48 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
includes/mollie-api-php/src/Mollie/API/Resource/Undefined.php
CHANGED
@@ -41,67 +41,4 @@ class Mollie_API_Resource_Undefined extends Mollie_API_Resource_Base
|
|
41 |
{
|
42 |
return new stdClass;
|
43 |
}
|
44 |
-
|
45 |
-
/**
|
46 |
-
* @var string
|
47 |
-
*/
|
48 |
-
protected $resource_name;
|
49 |
-
|
50 |
-
/**
|
51 |
-
* @param string $resource_name
|
52 |
-
*/
|
53 |
-
public function setResourceName ($resource_name)
|
54 |
-
{
|
55 |
-
$this->resource_name = strtolower($resource_name);
|
56 |
-
}
|
57 |
-
|
58 |
-
/**
|
59 |
-
* @var string
|
60 |
-
*/
|
61 |
-
protected $parent_id;
|
62 |
-
|
63 |
-
/**
|
64 |
-
* @param string $parent_id
|
65 |
-
* @return $this
|
66 |
-
*/
|
67 |
-
public function withParentId ($parent_id)
|
68 |
-
{
|
69 |
-
$this->parent_id = $parent_id;
|
70 |
-
|
71 |
-
return $this;
|
72 |
-
}
|
73 |
-
|
74 |
-
/**
|
75 |
-
* Set the resource to use a certain parent. Use this method before performing a get() or all() call.
|
76 |
-
*
|
77 |
-
* @param mixed $parent An object with an 'id' property
|
78 |
-
* @return $this
|
79 |
-
*/
|
80 |
-
public function with ($parent)
|
81 |
-
{
|
82 |
-
$this->parent_id = $parent->id;
|
83 |
-
|
84 |
-
return $this;
|
85 |
-
}
|
86 |
-
|
87 |
-
/**
|
88 |
-
* @return string
|
89 |
-
* @throws Mollie_API_Exception
|
90 |
-
*/
|
91 |
-
public function getResourceName()
|
92 |
-
{
|
93 |
-
if (strpos($this->resource_name, "_") !== FALSE)
|
94 |
-
{
|
95 |
-
list($parent_resource, $child_resource) = explode("_", $this->resource_name, 2);
|
96 |
-
|
97 |
-
if (!strlen($this->parent_id))
|
98 |
-
{
|
99 |
-
throw new Mollie_API_Exception("Subresource '{$this->resource_name}' used without parent '$parent_resource' ID.");
|
100 |
-
}
|
101 |
-
|
102 |
-
return "$parent_resource/{$this->parent_id}/$child_resource";
|
103 |
-
}
|
104 |
-
|
105 |
-
return $this->resource_name;
|
106 |
-
}
|
107 |
}
|
41 |
{
|
42 |
return new stdClass;
|
43 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
includes/mollie-api-php/src/Mollie/API/cacert.pem
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
##
|
2 |
## Bundle of CA Root Certificates
|
3 |
##
|
4 |
-
## Certificate data from Mozilla as of: Wed
|
5 |
##
|
6 |
## This is a bundle of X.509 certificates of public Certificate Authorities
|
7 |
## (CA). These were automatically extracted from Mozilla's root certificates
|
@@ -14,30 +14,10 @@
|
|
14 |
## Just configure this file as the SSLCACertificateFile.
|
15 |
##
|
16 |
## Conversion done with mk-ca-bundle.pl version 1.25.
|
17 |
-
## SHA1:
|
18 |
##
|
19 |
|
20 |
|
21 |
-
Equifax Secure CA
|
22 |
-
=================
|
23 |
-
-----BEGIN CERTIFICATE-----
|
24 |
-
MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJVUzEQMA4GA1UE
|
25 |
-
ChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5
|
26 |
-
MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoT
|
27 |
-
B0VxdWlmYXgxLTArBgNVBAsTJEVxdWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCB
|
28 |
-
nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPR
|
29 |
-
fM6fBeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+AcJkVV5MW
|
30 |
-
8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kCAwEAAaOCAQkwggEFMHAG
|
31 |
-
A1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UE
|
32 |
-
CxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoG
|
33 |
-
A1UdEAQTMBGBDzIwMTgwODIyMTY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvS
|
34 |
-
spXXR9gjIBBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdEwQFMAMB
|
35 |
-
Af8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUAA4GBAFjOKer89961
|
36 |
-
zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y7qj/WsjTVbJmcVfewCHrPSqnI0kB
|
37 |
-
BIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee95
|
38 |
-
70+sB3c4
|
39 |
-
-----END CERTIFICATE-----
|
40 |
-
|
41 |
GlobalSign Root CA
|
42 |
==================
|
43 |
-----BEGIN CERTIFICATE-----
|
@@ -105,30 +85,6 @@ xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGtTxzhT5yvDwyd93gN2PQ1VoDa
|
|
105 |
t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ==
|
106 |
-----END CERTIFICATE-----
|
107 |
|
108 |
-
Verisign Class 4 Public Primary Certification Authority - G3
|
109 |
-
============================================================
|
110 |
-
-----BEGIN CERTIFICATE-----
|
111 |
-
MIIEGjCCAwICEQDsoKeLbnVqAc/EfMwvlF7XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV
|
112 |
-
UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv
|
113 |
-
cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl
|
114 |
-
IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh
|
115 |
-
dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw
|
116 |
-
CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy
|
117 |
-
dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv
|
118 |
-
cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDQgUHVibGljIFByaW1hcnkg
|
119 |
-
Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
120 |
-
ggEBAK3LpRFpxlmr8Y+1GQ9Wzsy1HyDkniYlS+BzZYlZ3tCD5PUPtbut8XzoIfzk6AzufEUiGXaS
|
121 |
-
tBO3IFsJ+mGuqPKljYXCKtbeZjbSmwL0qJJgfJxptI8kHtCGUvYynEFYHiK9zUVilQhu0GbdU6LM
|
122 |
-
8BDcVHOLBKFGMzNcF0C5nk3T875Vg+ixiY5afJqWIpA7iCXy0lOIAgwLePLmNxdLMEYH5IBtptiW
|
123 |
-
Lugs+BGzOA1mppvqySNb247i8xOOGlktqgLw7KSHZtzBP/XYufTsgsbSPZUd5cBPhMnZo0QoBmrX
|
124 |
-
Razwa2rvTl/4EYIeOGM0ZlDUPpNz+jDDZq3/ky2X7wMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA
|
125 |
-
j/ola09b5KROJ1WrIhVZPMq1CtRK26vdoV9TxaBXOcLORyu+OshWv8LZJxA6sQU8wHcxuzrTBXtt
|
126 |
-
mhwwjIDLk5Mqg6sFUYICABFna/OIYUdfA5PVWw3g8dShMjWFsjrbsIKr0csKvE+MW8VLADsfKoKm
|
127 |
-
fjaF3H48ZwC15DtS4KjrXRX5xm3wrR0OhbepmnMUWluPQSjA1egtTaRezarZ7c7c2NU8Qh0XwRJd
|
128 |
-
RTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/bLvSHgCwIe34QWKCudiyxLtG
|
129 |
-
UPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg==
|
130 |
-
-----END CERTIFICATE-----
|
131 |
-
|
132 |
Entrust.net Premium 2048 Secure Server CA
|
133 |
=========================================
|
134 |
-----BEGIN CERTIFICATE-----
|
@@ -695,31 +651,6 @@ nGQI0DvDKcWy7ZAEwbEpkcUwb8GpcjPM/l0WFywRaed+/sWDCN+83CI6LiBpIzlWYGeQiy52OfsR
|
|
695 |
iJf2fL1LuCAWZwWN4jvBcj+UlTfHXbme2JOhF4//DGYVwSR8MnwDHTuhWEUykw==
|
696 |
-----END CERTIFICATE-----
|
697 |
|
698 |
-
UTN DATACorp SGC Root CA
|
699 |
-
========================
|
700 |
-
-----BEGIN CERTIFICATE-----
|
701 |
-
MIIEXjCCA0agAwIBAgIQRL4Mi1AAIbQR0ypoBqmtaTANBgkqhkiG9w0BAQUFADCBkzELMAkGA1UE
|
702 |
-
BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl
|
703 |
-
IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xGzAZ
|
704 |
-
BgNVBAMTElVUTiAtIERBVEFDb3JwIFNHQzAeFw05OTA2MjQxODU3MjFaFw0xOTA2MjQxOTA2MzBa
|
705 |
-
MIGTMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4w
|
706 |
-
HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsTGGh0dHA6Ly93d3cudXNlcnRy
|
707 |
-
dXN0LmNvbTEbMBkGA1UEAxMSVVROIC0gREFUQUNvcnAgU0dDMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
708 |
-
AQ8AMIIBCgKCAQEA3+5YEKIrblXEjr8uRgnn4AgPLit6E5Qbvfa2gI5lBZMAHryv4g+OGQ0SR+ys
|
709 |
-
raP6LnD43m77VkIVni5c7yPeIbkFdicZD0/Ww5y0vpQZY/KmEQrrU0icvvIpOxboGqBMpsn0GFlo
|
710 |
-
wHDyUwDAXlCCpVZvNvlK4ESGoE1O1kduSUrLZ9emxAW5jh70/P/N5zbgnAVssjMiFdC04MwXwLLA
|
711 |
-
9P4yPykqlXvY8qdOD1R8oQ2AswkDwf9c3V6aPryuvEeKaq5xyh+xKrhfQgUL7EYw0XILyulWbfXv
|
712 |
-
33i+Ybqypa4ETLyorGkVl73v67SMvzX41MPRKA5cOp9wGDMgd8SirwIDAQABo4GrMIGoMAsGA1Ud
|
713 |
-
DwQEAwIBxjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRTMtGzz3/64PGgXYVOktKeRR20TzA9
|
714 |
-
BgNVHR8ENjA0MDKgMKAuhixodHRwOi8vY3JsLnVzZXJ0cnVzdC5jb20vVVROLURBVEFDb3JwU0dD
|
715 |
-
LmNybDAqBgNVHSUEIzAhBggrBgEFBQcDAQYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMA0GCSqGSIb3
|
716 |
-
DQEBBQUAA4IBAQAnNZcAiosovcYzMB4p/OL31ZjUQLtgyr+rFywJNn9Q+kHcrpY6CiM+iVnJowft
|
717 |
-
Gzet/Hy+UUla3joKVAgWRcKZsYfNjGjgaQPpxE6YsjuMFrMOoAyYUJuTqXAJyCyjj98C5OBxOvG0
|
718 |
-
I3KgqgHf35g+FFCgMSa9KOlaMCZ1+XtgHI3zzVAmbQQnmt/VDUVHKWss5nbZqSl9Mt3JNjy9rjXx
|
719 |
-
EZ4du5A/EkdOjtd+D2JzHVImOBwYSf0wdJrE5SIv2MCN7ZF6TACPcn9d2t0bi0Vr591pl6jFVkwP
|
720 |
-
DPafepE39peC4N1xaf92P2BNPM/3mfnGV/TJVTl4uix5yaaIK/QI
|
721 |
-
-----END CERTIFICATE-----
|
722 |
-
|
723 |
UTN USERFirst Hardware Root CA
|
724 |
==============================
|
725 |
-----BEGIN CERTIFICATE-----
|
@@ -1142,31 +1073,6 @@ vFcj4jjSm2jzVhKIT0J8uDHEtdvkyCE06UgRNe76x5JXxZ805Mf29w4LTJxoeHtxMcfrHuBnQfO3
|
|
1142 |
oKfN5XozNmr6mis=
|
1143 |
-----END CERTIFICATE-----
|
1144 |
|
1145 |
-
TURKTRUST Certificate Services Provider Root 2
|
1146 |
-
==============================================
|
1147 |
-
-----BEGIN CERTIFICATE-----
|
1148 |
-
MIIEPDCCAySgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBvjE/MD0GA1UEAww2VMOcUktUUlVTVCBF
|
1149 |
-
bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGEwJUUjEP
|
1150 |
-
MA0GA1UEBwwGQW5rYXJhMV0wWwYDVQQKDFRUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUg
|
1151 |
-
QmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAoYykgS2FzxLFtIDIwMDUwHhcN
|
1152 |
-
MDUxMTA3MTAwNzU3WhcNMTUwOTE2MTAwNzU3WjCBvjE/MD0GA1UEAww2VMOcUktUUlVTVCBFbGVr
|
1153 |
-
dHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGEwJUUjEPMA0G
|
1154 |
-
A1UEBwwGQW5rYXJhMV0wWwYDVQQKDFRUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUgQmls
|
1155 |
-
acWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAoYykgS2FzxLFtIDIwMDUwggEiMA0G
|
1156 |
-
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpNn7DkUNMwxmYCMjHWHtPFoylzkkBH3MOrHUTpvqe
|
1157 |
-
LCDe2JAOCtFp0if7qnefJ1Il4std2NiDUBd9irWCPwSOtNXwSadktx4uXyCcUHVPr+G1QRT0mJKI
|
1158 |
-
x+XlZEdhR3n9wFHxwZnn3M5q+6+1ATDcRhzviuyV79z/rxAc653YsKpqhRgNF8k+v/Gb0AmJQv2g
|
1159 |
-
QrSdiVFVKc8bcLyEVK3BEx+Y9C52YItdP5qtygy/p1Zbj3e41Z55SZI/4PGXJHpsmxcPbe9TmJEr
|
1160 |
-
5A++WXkHeLuXlfSfadRYhwqp48y2WBmfJiGxxFmNskF1wK1pzpwACPI2/z7woQ8arBT9pmAPAgMB
|
1161 |
-
AAGjQzBBMB0GA1UdDgQWBBTZN7NOBf3Zz58SFq62iS/rJTqIHDAPBgNVHQ8BAf8EBQMDBwYAMA8G
|
1162 |
-
A1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAHJglrfJ3NgpXiOFX7KzLXb7iNcX/ntt
|
1163 |
-
Rbj2hWyfIvwqECLsqrkw9qtY1jkQMZkpAL2JZkH7dN6RwRgLn7Vhy506vvWolKMiVW4XSf/SKfE4
|
1164 |
-
Jl3vpao6+XF75tpYHdN0wgH6PmlYX63LaL4ULptswLbcoCb6dxriJNoaN+BnrdFzgw2lGh1uEpJ+
|
1165 |
-
hGIAF728JRhX8tepb1mIvDS3LoV4nZbcFMMsilKbloxSZj2GFotHuFEJjOp9zYhys2AzsfAKRO8P
|
1166 |
-
9Qk3iCQOLGsgOqL6EfJANZxEaGM7rDNvY7wsu/LSy3Z9fYjYHcgFHW68lKlmjHdxx/qR+i9Rnuk5
|
1167 |
-
UrbnBEI=
|
1168 |
-
-----END CERTIFICATE-----
|
1169 |
-
|
1170 |
SwissSign Gold CA - G2
|
1171 |
======================
|
1172 |
-----BEGIN CERTIFICATE-----
|
@@ -2520,29 +2426,6 @@ iJ35Rld8TWCvmHMTI6QgkYH60GFmuH3Rr9ZvHmw96RH9qfmCIoaZM3Fa6hlXPZHNqcCjbgcTpsnt
|
|
2520 |
+GijnsNacgmHKNHEc8RzGF9QdRYxn7fofMM=
|
2521 |
-----END CERTIFICATE-----
|
2522 |
|
2523 |
-
A-Trust-nQual-03
|
2524 |
-
================
|
2525 |
-
-----BEGIN CERTIFICATE-----
|
2526 |
-
MIIDzzCCAregAwIBAgIDAWweMA0GCSqGSIb3DQEBBQUAMIGNMQswCQYDVQQGEwJBVDFIMEYGA1UE
|
2527 |
-
Cgw/QS1UcnVzdCBHZXMuIGYuIFNpY2hlcmhlaXRzc3lzdGVtZSBpbSBlbGVrdHIuIERhdGVudmVy
|
2528 |
-
a2VociBHbWJIMRkwFwYDVQQLDBBBLVRydXN0LW5RdWFsLTAzMRkwFwYDVQQDDBBBLVRydXN0LW5R
|
2529 |
-
dWFsLTAzMB4XDTA1MDgxNzIyMDAwMFoXDTE1MDgxNzIyMDAwMFowgY0xCzAJBgNVBAYTAkFUMUgw
|
2530 |
-
RgYDVQQKDD9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGltIGVsZWt0ci4gRGF0
|
2531 |
-
ZW52ZXJrZWhyIEdtYkgxGTAXBgNVBAsMEEEtVHJ1c3QtblF1YWwtMDMxGTAXBgNVBAMMEEEtVHJ1
|
2532 |
-
c3QtblF1YWwtMDMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtPWFuA/OQO8BBC4SA
|
2533 |
-
zewqo51ru27CQoT3URThoKgtUaNR8t4j8DRE/5TrzAUjlUC5B3ilJfYKvUWG6Nm9wASOhURh73+n
|
2534 |
-
yfrBJcyFLGM/BWBzSQXgYHiVEEvc+RFZznF/QJuKqiTfC0Li21a8StKlDJu3Qz7dg9MmEALP6iPE
|
2535 |
-
SU7l0+m0iKsMrmKS1GWH2WrX9IWf5DMiJaXlyDO6w8dB3F/GaswADm0yqLaHNgBid5seHzTLkDx4
|
2536 |
-
iHQF63n1k3Flyp3HaxgtPVxO59X4PzF9j4fsCiIvI+n+u33J4PTs63zEsMMtYrWacdaxaujs2e3V
|
2537 |
-
cuy+VwHOBVWf3tFgiBCzAgMBAAGjNjA0MA8GA1UdEwEB/wQFMAMBAf8wEQYDVR0OBAoECERqlWdV
|
2538 |
-
eRFPMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAVdRU0VlIXLOThaq/Yy/kgM40
|
2539 |
-
ozRiPvbY7meIMQQDbwvUB/tOdQ/TLtPAF8fGKOwGDREkDg6lXb+MshOWcdzUzg4NCmgybLlBMRmr
|
2540 |
-
sQd7TZjTXLDR8KdCoLXEjq/+8T/0709GAHbrAvv5ndJAlseIOrifEXnzgGWovR/TeIGgUUw3tKZd
|
2541 |
-
JXDRZslo+S4RFGjxVJgIrCaSD96JntT6s3kr0qN51OyLrIdTaEJMUVF0HhsnLuP1Hyl0Te2v9+GS
|
2542 |
-
mYHovjrHF1D2t8b8m7CKa9aIA5GPBnc6hQLdmNVDeD/GMBWsm2vLV7eJUYs66MmEDNuxUCAKGkq6
|
2543 |
-
ahq97BvIxYSazQ==
|
2544 |
-
-----END CERTIFICATE-----
|
2545 |
-
|
2546 |
TWCA Root Certification Authority
|
2547 |
=================================
|
2548 |
-----BEGIN CERTIFICATE-----
|
@@ -3950,3 +3833,61 @@ I0ZSKS3io0EHVmmY0gUJvGnHWmHNj4FgFU2A3ZDifcRQ8ow7bkrHxuaAKzyBvBGAFhAn1/DNP3nM
|
|
3950 |
cyrDflOR1m749fPH0FFNjkulW+YZFzvWgQncItzujrnEj1PhZ7szuIgVRs/taTX/dQ1G885x4cVr
|
3951 |
hkIGuUE=
|
3952 |
-----END CERTIFICATE-----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
##
|
2 |
## Bundle of CA Root Certificates
|
3 |
##
|
4 |
+
## Certificate data from Mozilla as of: Wed Jan 20 04:12:04 2016
|
5 |
##
|
6 |
## This is a bundle of X.509 certificates of public Certificate Authorities
|
7 |
## (CA). These were automatically extracted from Mozilla's root certificates
|
14 |
## Just configure this file as the SSLCACertificateFile.
|
15 |
##
|
16 |
## Conversion done with mk-ca-bundle.pl version 1.25.
|
17 |
+
## SHA1: 0ab47e2f41518f8d223eab517cb799e5b071231e
|
18 |
##
|
19 |
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
GlobalSign Root CA
|
22 |
==================
|
23 |
-----BEGIN CERTIFICATE-----
|
85 |
t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ==
|
86 |
-----END CERTIFICATE-----
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
Entrust.net Premium 2048 Secure Server CA
|
89 |
=========================================
|
90 |
-----BEGIN CERTIFICATE-----
|
651 |
iJf2fL1LuCAWZwWN4jvBcj+UlTfHXbme2JOhF4//DGYVwSR8MnwDHTuhWEUykw==
|
652 |
-----END CERTIFICATE-----
|
653 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
654 |
UTN USERFirst Hardware Root CA
|
655 |
==============================
|
656 |
-----BEGIN CERTIFICATE-----
|
1073 |
oKfN5XozNmr6mis=
|
1074 |
-----END CERTIFICATE-----
|
1075 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1076 |
SwissSign Gold CA - G2
|
1077 |
======================
|
1078 |
-----BEGIN CERTIFICATE-----
|
2426 |
+GijnsNacgmHKNHEc8RzGF9QdRYxn7fofMM=
|
2427 |
-----END CERTIFICATE-----
|
2428 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2429 |
TWCA Root Certification Authority
|
2430 |
=================================
|
2431 |
-----BEGIN CERTIFICATE-----
|
3833 |
cyrDflOR1m749fPH0FFNjkulW+YZFzvWgQncItzujrnEj1PhZ7szuIgVRs/taTX/dQ1G885x4cVr
|
3834 |
hkIGuUE=
|
3835 |
-----END CERTIFICATE-----
|
3836 |
+
|
3837 |
+
OISTE WISeKey Global Root GB CA
|
3838 |
+
===============================
|
3839 |
+
-----BEGIN CERTIFICATE-----
|
3840 |
+
MIIDtTCCAp2gAwIBAgIQdrEgUnTwhYdGs/gjGvbCwDANBgkqhkiG9w0BAQsFADBtMQswCQYDVQQG
|
3841 |
+
EwJDSDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNl
|
3842 |
+
ZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwgUm9vdCBHQiBDQTAeFw0xNDEyMDExNTAw
|
3843 |
+
MzJaFw0zOTEyMDExNTEwMzFaMG0xCzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYD
|
3844 |
+
VQQLExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEds
|
3845 |
+
b2JhbCBSb290IEdCIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Be3HEokKtaX
|
3846 |
+
scriHvt9OO+Y9bI5mE4nuBFde9IllIiCFSZqGzG7qFshISvYD06fWvGxWuR51jIjK+FTzJlFXHtP
|
3847 |
+
rby/h0oLS5daqPZI7H17Dc0hBt+eFf1Biki3IPShehtX1F1Q/7pn2COZH8g/497/b1t3sWtuuMlk
|
3848 |
+
9+HKQUYOKXHQuSP8yYFfTvdv37+ErXNku7dCjmn21HYdfp2nuFeKUWdy19SouJVUQHMD9ur06/4o
|
3849 |
+
Qnc/nSMbsrY9gBQHTC5P99UKFg29ZkM3fiNDecNAhvVMKdqOmq0NpQSHiB6F4+lT1ZvIiwNjeOvg
|
3850 |
+
GUpuuy9rM2RYk61pv48b74JIxwIDAQABo1EwTzALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB
|
3851 |
+
/zAdBgNVHQ4EFgQUNQ/INmNe4qPs+TtmFc5RUuORmj0wEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZI
|
3852 |
+
hvcNAQELBQADggEBAEBM+4eymYGQfp3FsLAmzYh7KzKNbrghcViXfa43FK8+5/ea4n32cZiZBKpD
|
3853 |
+
dHij40lhPnOMTZTg+XHEthYOU3gf1qKHLwI5gSk8rxWYITD+KJAAjNHhy/peyP34EEY7onhCkRd0
|
3854 |
+
VQreUGdNZtGn//3ZwLWoo4rOZvUPQ82nK1d7Y0Zqqi5S2PTt4W2tKZB4SLrhI6qjiey1q5bAtEui
|
3855 |
+
HZeeevJuQHHfaPFlTc58Bd9TZaml8LGXBHAVRgOY1NK/VLSgWH1Sb9pWJmLU2NuJMW8c8CLC02Ic
|
3856 |
+
Nc1MaRVUGpCY3useX8p3x8uOPUNpnJpY0CQ73xtAln41rYHHTnG6iBM=
|
3857 |
+
-----END CERTIFICATE-----
|
3858 |
+
|
3859 |
+
Certification Authority of WoSign G2
|
3860 |
+
====================================
|
3861 |
+
-----BEGIN CERTIFICATE-----
|
3862 |
+
MIIDfDCCAmSgAwIBAgIQayXaioidfLwPBbOxemFFRDANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQG
|
3863 |
+
EwJDTjEaMBgGA1UEChMRV29TaWduIENBIExpbWl0ZWQxLTArBgNVBAMTJENlcnRpZmljYXRpb24g
|
3864 |
+
QXV0aG9yaXR5IG9mIFdvU2lnbiBHMjAeFw0xNDExMDgwMDU4NThaFw00NDExMDgwMDU4NThaMFgx
|
3865 |
+
CzAJBgNVBAYTAkNOMRowGAYDVQQKExFXb1NpZ24gQ0EgTGltaXRlZDEtMCsGA1UEAxMkQ2VydGlm
|
3866 |
+
aWNhdGlvbiBBdXRob3JpdHkgb2YgV29TaWduIEcyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
3867 |
+
CgKCAQEAvsXEoCKASU+/2YcRxlPhuw+9YH+v9oIOH9ywjj2X4FA8jzrvZjtFB5sg+OPXJYY1kBai
|
3868 |
+
XW8wGQiHC38Gsp1ij96vkqVg1CuAmlI/9ZqD6TRay9nVYlzmDuDfBpgOgHzKtB0TiGsOqCR3A9Du
|
3869 |
+
W/PKaZE1OVbFbeP3PU9ekzgkyhjpJMuSA93MHD0JcOQg5PGurLtzaaNjOg9FD6FKmsLRY6zLEPg9
|
3870 |
+
5k4ot+vElbGs/V6r+kHLXZ1L3PR8du9nfwB6jdKgGlxNIuG12t12s9R23164i5jIFFTMaxeSt+BK
|
3871 |
+
v0mUYQs4kI9dJGwlezt52eJ+na2fmKEG/HgUYFf47oB3sQIDAQABo0IwQDAOBgNVHQ8BAf8EBAMC
|
3872 |
+
AQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU+mCp62XF3RYUCE4MD42b4Pdkr2cwDQYJKoZI
|
3873 |
+
hvcNAQELBQADggEBAFfDejaCnI2Y4qtAqkePx6db7XznPWZaOzG73/MWM5H8fHulwqZm46qwtyeY
|
3874 |
+
P0nXYGdnPzZPSsvxFPpahygc7Y9BMsaV+X3avXtbwrAh449G3CE4Q3RM+zD4F3LBMvzIkRfEzFg3
|
3875 |
+
TgvMWvchNSiDbGAtROtSjFA9tWwS1/oJu2yySrHFieT801LYYRf+epSEj3m2M1m6D8QL4nCgS3gu
|
3876 |
+
+sif/a+RZQp4OBXllxcU3fngLDT4ONCEIgDAFFEYKwLcMFrw6AF8NTojrwjkr6qOKEJJLvD1mTS+
|
3877 |
+
7Q9LGOHSJDy7XUe3IfKN0QqZjuNuPq1w4I+5ysxugTH2e5x6eeRncRg=
|
3878 |
+
-----END CERTIFICATE-----
|
3879 |
+
|
3880 |
+
CA WoSign ECC Root
|
3881 |
+
==================
|
3882 |
+
-----BEGIN CERTIFICATE-----
|
3883 |
+
MIICCTCCAY+gAwIBAgIQaEpYcIBr8I8C+vbe6LCQkDAKBggqhkjOPQQDAzBGMQswCQYDVQQGEwJD
|
3884 |
+
TjEaMBgGA1UEChMRV29TaWduIENBIExpbWl0ZWQxGzAZBgNVBAMTEkNBIFdvU2lnbiBFQ0MgUm9v
|
3885 |
+
dDAeFw0xNDExMDgwMDU4NThaFw00NDExMDgwMDU4NThaMEYxCzAJBgNVBAYTAkNOMRowGAYDVQQK
|
3886 |
+
ExFXb1NpZ24gQ0EgTGltaXRlZDEbMBkGA1UEAxMSQ0EgV29TaWduIEVDQyBSb290MHYwEAYHKoZI
|
3887 |
+
zj0CAQYFK4EEACIDYgAE4f2OuEMkq5Z7hcK6C62N4DrjJLnSsb6IOsq/Srj57ywvr1FQPEd1bPiU
|
3888 |
+
t5v8KB7FVMxjnRZLU8HnIKvNrCXSf4/CwVqCXjCLelTOA7WRf6qU0NGKSMyCBSah1VES1ns2o0Iw
|
3889 |
+
QDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUqv3VWqP2h4syhf3R
|
3890 |
+
MluARZPzA7gwCgYIKoZIzj0EAwMDaAAwZQIxAOSkhLCB1T2wdKyUpOgOPQB0TKGXa/kNUTyh2Tv0
|
3891 |
+
Daupn75OcsqF1NnstTJFGG+rrQIwfcf3aWMvoeGY7xMQ0Xk/0f7qO3/eVvSQsRUR2LIiFdAvwyYu
|
3892 |
+
a/GRspBl9JrmkO5K
|
3893 |
+
-----END CERTIFICATE-----
|
includes/mollie-api-php/tests/resourceUnitTest.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mollie_API_Resource_BaseUnitTest extends PHPUnit_Framework_TestCase
|
4 |
+
{
|
5 |
+
public function testGetResourcePathTopLevelWorks()
|
6 |
+
{
|
7 |
+
$resource = new Mollie_API_Resource_Payments(new Mollie_API_Client);
|
8 |
+
|
9 |
+
$this->assertSame("payments", $resource->getResourcePath());
|
10 |
+
}
|
11 |
+
|
12 |
+
public function testGetResourcePathSubresourceFails()
|
13 |
+
{
|
14 |
+
$this->setExpectedException("Mollie_API_Exception", "Subresource 'payments_refunds' used without parent 'payments' ID.");
|
15 |
+
|
16 |
+
$resource = new Mollie_API_Resource_Payments_Refunds(new Mollie_API_Client);
|
17 |
+
$resource->getResourcePath();
|
18 |
+
}
|
19 |
+
|
20 |
+
public function testGetResourcePathSubresourceWorks()
|
21 |
+
{
|
22 |
+
$resource = new Mollie_API_Resource_Payments_Refunds(new Mollie_API_Client);
|
23 |
+
|
24 |
+
$this->assertSame("payments/tr_1237191/refunds", $resource->withParentId("tr_1237191")->getResourcePath());
|
25 |
+
}
|
26 |
+
|
27 |
+
public function testSetResourcePathWorks()
|
28 |
+
{
|
29 |
+
$resource = new Mollie_API_Resource_Payments_Refunds(new Mollie_API_Client);
|
30 |
+
$resource->setResourcePath("requests_responses");
|
31 |
+
|
32 |
+
$this->assertSame("requests/req_8192398/responses", $resource->withParentId("req_8192398")->getResourcePath());
|
33 |
+
}
|
34 |
+
|
35 |
+
public function testWithWorks()
|
36 |
+
{
|
37 |
+
$resource = new Mollie_API_Resource_Payments_Refunds(new Mollie_API_Client);
|
38 |
+
$payment = new Mollie_API_Object_Payment;
|
39 |
+
$payment->id = "tr_1237191";
|
40 |
+
|
41 |
+
$this->assertSame("payments/tr_1237191/refunds", $resource->with($payment)->getResourcePath());
|
42 |
+
}
|
43 |
+
}
|
includes/mollie/wc/gateway/abstract.php
CHANGED
@@ -303,12 +303,16 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
|
|
303 |
|
304 |
$settings_helper = Mollie_WC_Plugin::getSettingsHelper();
|
305 |
|
|
|
|
|
|
|
306 |
$payment_description = $settings_helper->getPaymentDescription();
|
307 |
$payment_locale = $settings_helper->getPaymentLocale();
|
308 |
$mollie_method = $this->getMollieMethodId();
|
309 |
$selected_issuer = $this->getSelectedIssuer();
|
310 |
$return_url = $this->getReturnUrl($order);
|
311 |
$webhook_url = $this->getWebhookUrl($order);
|
|
|
312 |
|
313 |
$payment_description = strtr($payment_description, array(
|
314 |
'{order_number}' => $order->get_order_number(),
|
@@ -336,6 +340,7 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
|
|
336 |
'metadata' => array(
|
337 |
'order_id' => $order->id,
|
338 |
),
|
|
|
339 |
));
|
340 |
|
341 |
$data = apply_filters('woocommerce_' . $this->id . '_args', $data, $order);
|
@@ -346,15 +351,29 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
|
|
346 |
|
347 |
do_action(Mollie_WC_Plugin::PLUGIN_ID . '_create_payment', $data, $order);
|
348 |
|
349 |
-
//
|
350 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
|
352 |
-
|
353 |
-
|
|
|
|
|
354 |
|
355 |
// Set active Mollie payment
|
356 |
Mollie_WC_Plugin::getDataHelper()->setActiveMolliePayment($order->id, $payment);
|
357 |
|
|
|
|
|
|
|
358 |
do_action(Mollie_WC_Plugin::PLUGIN_ID . '_payment_created', $payment, $order);
|
359 |
|
360 |
Mollie_WC_Plugin::debug($this->id . ': Payment ' . $payment->id . ' (' . $payment->mode . ') created for order ' . $order->id);
|
303 |
|
304 |
$settings_helper = Mollie_WC_Plugin::getSettingsHelper();
|
305 |
|
306 |
+
// Is test mode enabled?
|
307 |
+
$test_mode = $settings_helper->isTestModeEnabled();
|
308 |
+
|
309 |
$payment_description = $settings_helper->getPaymentDescription();
|
310 |
$payment_locale = $settings_helper->getPaymentLocale();
|
311 |
$mollie_method = $this->getMollieMethodId();
|
312 |
$selected_issuer = $this->getSelectedIssuer();
|
313 |
$return_url = $this->getReturnUrl($order);
|
314 |
$webhook_url = $this->getWebhookUrl($order);
|
315 |
+
$customer_id = Mollie_WC_Plugin::getDataHelper()->getUserMollieCustomerId($order->customer_user, $test_mode);
|
316 |
|
317 |
$payment_description = strtr($payment_description, array(
|
318 |
'{order_number}' => $order->get_order_number(),
|
340 |
'metadata' => array(
|
341 |
'order_id' => $order->id,
|
342 |
),
|
343 |
+
'customerId' => $customer_id,
|
344 |
));
|
345 |
|
346 |
$data = apply_filters('woocommerce_' . $this->id . '_args', $data, $order);
|
351 |
|
352 |
do_action(Mollie_WC_Plugin::PLUGIN_ID . '_create_payment', $data, $order);
|
353 |
|
354 |
+
// Create Mollie payment with customer id.
|
355 |
+
try
|
356 |
+
{
|
357 |
+
$payment = Mollie_WC_Plugin::getApiHelper()->getApiClient($test_mode)->payments->create($data);
|
358 |
+
}
|
359 |
+
catch (Mollie_API_Exception $e)
|
360 |
+
{
|
361 |
+
if ($e->getField() !== 'customerId')
|
362 |
+
{
|
363 |
+
throw $e;
|
364 |
+
}
|
365 |
|
366 |
+
// Retry without customer id.
|
367 |
+
unset($data['customerId']);
|
368 |
+
$payment = Mollie_WC_Plugin::getApiHelper()->getApiClient($test_mode)->payments->create($data);
|
369 |
+
}
|
370 |
|
371 |
// Set active Mollie payment
|
372 |
Mollie_WC_Plugin::getDataHelper()->setActiveMolliePayment($order->id, $payment);
|
373 |
|
374 |
+
// Set Mollie customer
|
375 |
+
Mollie_WC_Plugin::getDataHelper()->setUserMollieCustomerId($order->customer_user, $payment->customerId);
|
376 |
+
|
377 |
do_action(Mollie_WC_Plugin::PLUGIN_ID . '_payment_created', $payment, $order);
|
378 |
|
379 |
Mollie_WC_Plugin::debug($this->id . ': Payment ' . $payment->id . ' (' . $payment->mode . ') created for order ' . $order->id);
|
includes/mollie/wc/helper/data.php
CHANGED
@@ -7,7 +7,7 @@ class Mollie_WC_Helper_Data
|
|
7 |
*
|
8 |
* @var string
|
9 |
*/
|
10 |
-
const TRANSIENT_PREFIX = 'mollie-
|
11 |
|
12 |
/**
|
13 |
* @var Mollie_API_Object_Method[]|Mollie_API_Object_List|array
|
@@ -371,9 +371,71 @@ class Mollie_WC_Helper_Data
|
|
371 |
|
372 |
delete_post_meta($order_id, '_mollie_cancelled_payment_id');
|
373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
return $this;
|
375 |
}
|
376 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
/**
|
378 |
* Delete active Mollie payment id for order
|
379 |
*
|
7 |
*
|
8 |
* @var string
|
9 |
*/
|
10 |
+
const TRANSIENT_PREFIX = 'mollie-wc-';
|
11 |
|
12 |
/**
|
13 |
* @var Mollie_API_Object_Method[]|Mollie_API_Object_List|array
|
371 |
|
372 |
delete_post_meta($order_id, '_mollie_cancelled_payment_id');
|
373 |
|
374 |
+
if ($payment->customerId)
|
375 |
+
{
|
376 |
+
add_post_meta($order_id, '_mollie_customer_id', $payment->customerId, $single = true);
|
377 |
+
}
|
378 |
+
|
379 |
+
return $this;
|
380 |
+
}
|
381 |
+
|
382 |
+
/**
|
383 |
+
* @param int $user_id
|
384 |
+
* @param string|null $customer_id
|
385 |
+
* @return $this
|
386 |
+
*/
|
387 |
+
public function setUserMollieCustomerId ($user_id, $customer_id)
|
388 |
+
{
|
389 |
+
if (!empty($customer_id))
|
390 |
+
{
|
391 |
+
update_user_meta($user_id, 'mollie_customer_id', $customer_id);
|
392 |
+
}
|
393 |
+
|
394 |
return $this;
|
395 |
}
|
396 |
|
397 |
+
/**
|
398 |
+
* @param int $user_id
|
399 |
+
* @param bool $test_mode
|
400 |
+
* @return null|string
|
401 |
+
*/
|
402 |
+
public function getUserMollieCustomerId ($user_id, $test_mode = FALSE)
|
403 |
+
{
|
404 |
+
if (empty($user_id))
|
405 |
+
{
|
406 |
+
return NULL;
|
407 |
+
}
|
408 |
+
|
409 |
+
$customer_id = get_user_meta($user_id, 'mollie_customer_id', $single = true);
|
410 |
+
|
411 |
+
if (empty($customer_id))
|
412 |
+
{
|
413 |
+
try
|
414 |
+
{
|
415 |
+
$userdata = get_userdata($user_id);
|
416 |
+
|
417 |
+
$customer = $this->api_helper->getApiClient($test_mode)->customers->create(array(
|
418 |
+
'name' => trim($userdata->user_nicename),
|
419 |
+
'email' => trim($userdata->user_email),
|
420 |
+
'locale' => trim($this->getCurrentLocale()),
|
421 |
+
'metadata' => array('user_id' => $user_id),
|
422 |
+
));
|
423 |
+
|
424 |
+
$this->setUserMollieCustomerId($user_id, $customer->id);
|
425 |
+
|
426 |
+
$customer_id = $customer->id;
|
427 |
+
}
|
428 |
+
catch (Exception $e)
|
429 |
+
{
|
430 |
+
Mollie_WC_Plugin::debug(
|
431 |
+
__FUNCTION__ . ": Could not create customer $user_id (" . ($test_mode ? 'test' : 'live') . "): " . $e->getMessage() . ' (' . get_class($e) . ')'
|
432 |
+
);
|
433 |
+
}
|
434 |
+
}
|
435 |
+
|
436 |
+
return $customer_id;
|
437 |
+
}
|
438 |
+
|
439 |
/**
|
440 |
* Delete active Mollie payment id for order
|
441 |
*
|
includes/mollie/wc/plugin.php
CHANGED
@@ -6,7 +6,7 @@ class Mollie_WC_Plugin
|
|
6 |
{
|
7 |
const PLUGIN_ID = 'mollie-payments-for-woocommerce';
|
8 |
const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
|
9 |
-
const PLUGIN_VERSION = '2.
|
10 |
|
11 |
/**
|
12 |
* @var bool
|
6 |
{
|
7 |
const PLUGIN_ID = 'mollie-payments-for-woocommerce';
|
8 |
const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
|
9 |
+
const PLUGIN_VERSION = '2.2.0';
|
10 |
|
11 |
/**
|
12 |
* @var bool
|
mollie-payments-for-woocommerce.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Mollie Payments for WooCommerce
|
4 |
* Plugin URI: https://github.com/mollie/WooCommerce
|
5 |
-
* Description: Accept payments in WooCommerce with
|
6 |
-
* Version: 2.
|
7 |
* Author: Mollie
|
8 |
* Author URI: https://www.mollie.com
|
9 |
* Requires at least: 3.8
|
10 |
-
* Tested up to: 4.4.
|
11 |
* Text Domain: mollie-payments-for-woocommerce
|
12 |
* Domain Path: /i18n/languages/
|
13 |
* License: GPLv2 or later
|
2 |
/**
|
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
|
10 |
+
* Tested up to: 4.4.2
|
11 |
* Text Domain: mollie-payments-for-woocommerce
|
12 |
* Domain Path: /i18n/languages/
|
13 |
* License: GPLv2 or later
|
readme.txt
CHANGED
@@ -2,12 +2,12 @@
|
|
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.
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
-
Accept payments in WooCommerce with
|
11 |
|
12 |
== Description ==
|
13 |
|
@@ -132,6 +132,11 @@ Automatic updates should work like a charm; as always though, ensure you backup
|
|
132 |
* Add better support for translation plugins Polylang and mLanguage.
|
133 |
* Fixed small issue for PHP 5.2 users.
|
134 |
|
|
|
|
|
|
|
|
|
|
|
135 |
== Upgrade Notice ==
|
136 |
|
137 |
= 2.0.0 =
|
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 |
|
10 |
+
Accept payments in WooCommerce with the official Mollie plugin
|
11 |
|
12 |
== Description ==
|
13 |
|
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 |
|
142 |
= 2.0.0 =
|