From 6b8d2a09e454110972b3c4696f19ff78473a1532 Mon Sep 17 00:00:00 2001 From: Anne Date: Tue, 12 Sep 2023 16:56:59 +0200 Subject: [PATCH 1/2] Auto-void translations --- ...woocommerce-paynl-payment-methods-nl_NL.mo | Bin 16416 -> 16371 bytes ...woocommerce-paynl-payment-methods-nl_NL.po | 360 +++++++++-------- ...erce-paynl-payment-methods-nl_NL_formal.mo | Bin 13352 -> 13573 bytes ...erce-paynl-payment-methods-nl_NL_formal.po | 364 ++++++++++-------- .../woocommerce-paynl-payment-methods.pot | 337 ++++++++-------- 5 files changed, 570 insertions(+), 491 deletions(-) diff --git a/i18n/languages/woocommerce-paynl-payment-methods-nl_NL.mo b/i18n/languages/woocommerce-paynl-payment-methods-nl_NL.mo index eb71398152050e514838dd33fb05c424cc9e1e7a..69e0f26135fb1ae1264a54efc8ad12ca22c2f21e 100644 GIT binary patch delta 3360 zcmYk-3rv+|9LMnoL~eqLfS}w373HF!LYStQpr}}Y;ti9Fs33?}$}*3)c{kIe1Zq=T z7w5{%vs|;hwVal7u9>oGd1=m#O$X*?OELTY&ihh5<9|NS^SD$YZ-_u5{?JlcLi)_aPuufB)9 zaXY5qCqc$x;;CHc!bJQFeK3dKcVj;CE^`|-u!pDtJx5>c7Hk=gooUBmSL}}~FazuG zQ(TRaA=drFgpFIa*tb~~5Ds`gYQRm=$t!js4@m`kX=|HC#Q z-TJ504|RVkYAYPr7aNh?F=w#1)~1CDt7N>`SiLA6U&Kjvdo${R50C?4uAs8J)xO_( zsI^rws4Yyv7)(dyQlV`%2Gd@Lnm_~kYj2KF(bBmv0DnZS#7)!}A0S8HJV#c~L=UsJ zVlr0Jo`QPr6l$gyu^ZmTsn~`(Ex8%Syo}qBr8ig65kjRu8>KxOf!fPl)C*^$URaG< zf%W$FW2jvC8Uyh>s>7?cw`^PS3D=*alI{untQGLcvXVA5i}hc?g;*|V$+zIEcmWxl z={ejoA9>bnz>#*T@FLzP*e&;wjz%(rQCr(M2g8X0gi4x) zS!uf)r`h$zSmq23h#8qrO-Z9NnAqyB@lOV~5OKsLB7#^%bd(uXvYkr;f@g$K3nr9` zn}|}PkWgtLlxmzgcTwJ}Od#GS{D}nO0HOaN(~0eb$`a>q0TKC=sl^lXbcvEmBogb? zpbW7v^Kl#T9#KVXCPowc2$fw#hASuVsfX{1<#j3bbyag+FLkT&a3uvj_w+04xaK?; z9OYHaP3PUJfPOY z^=RN_PcOaNc_Ag3;6@=Kn<)9b8u(i z@9;9(kK!nN0(X@HjT$8#n>8uP|mAPVuNzP;pTsKZw`k3qku_(7tTEF`4u) zK@D^{Dy19oO5BNDYM#WY_;TPWoJc#1iz-arWyIl+=?S{J7(cM$UDvbNcPP^)E;{Ym9c-KGJFQvTb}urN(mi5p;A}O zFtx_zs0YnO&0q!2#V*u!f53A5Q_wz*>@V{f>i!G301J3~6RyB&+>6?4uVaY!n?l~6 zOGi2C0X3)xEJD3#HEJL>Ds}y+&G!sy(;W)hDb#((0^dT-^gTR`pQ84{e$uJTJdL@$ z-yEf~5|85?3^84`n{g8!z?oBBwVxTGK74O_fCc%#(a*2~MB}{61>tAueXyn3li< z>J;rlrFcK4PZR3YoI}k#d%AyL;dIaMsG>tJxDIo06>5a7_z1S6UVH%;U^N>dfi7yv zJ`S8z;lFSl>U2DT`lUOHEWbH}TFT5yf1))Wm9=!NN2TUP+>b|5n`aewYaljibHz~o z1DK6NsPFfnW_$n#@CY(DQ&r^;t z9&&O_6Y2-VM(v5)QTOjfW#lQ$#eZW9euSJz(=dzufi1{!_RL`_qv-eqTk(9*Uc+Hk zJA!Nxa~#Lw-;q@?|3a;OMvZSVG6ypo^?d}j1iNtxK8LK5If)v`c?>H@Ar@8-YQ*bs zeb638-Eags5avD9uKp?bzVI4zzQ;%2GO%`j>G9euE6sEWFnD4&)i;2sYrSn8b2!()m7yjX0v-zpe>ypuGb% z&=WWYPogGv8gInU>dAjAmDxPi#y!}DXR!<;{EjL!58wnmh|0uYQ8V}i+wd&ji!Jl~ zy>tpQY5y0M;qOsPn>F7bKnOEvw|acE6A|KK>7$~TZ6JO_M2XvpJBYi8n~4E}B&Ewu zfkN3Rx}?oK(wV&~=o>_3=3?=-QCmgaLMZhX!LMujM+i(z9~8}Q5ut3TOd%5KnlTTf zeia`f;>2=78%&!}X;Agi1fLop?+Q%GhM} z$nh&1{f60zy9xb5{Fc~4R1jMA5~7Jv*+H;7&0=CIq4S^}RY|D)I{DbhVx8Fkm-W=L zhyw(xn?BkTk*$;de}wkYt;Bd@I&md2i@3Dxp|LjT(6-u`EXtqMu!P#Cpm!z?1@&e4 z05O?pCW?tp;$mr`GC#R3KXh}5+BjkcaUXFTv64{PON=6F)u8nFr1$%s)bofk;&DR% zf~+HU5h~ruQ~AY9mr^Sw9CcB`L^*M{8k8Czvl$;Gh6$bG`w8~B*+-~6M9fY#75tEq zT0DA7hV8^7mfPW2U5SX3up+i=TW*)N!tSrCq(9nY@t1J6^+pp;#ENdV`n!6q?RMO? zdV3se8rNC&W>9WrTL+DJB|RmoSvrP&LE`Um0g Status > " "Logs" @@ -554,11 +554,11 @@ msgstr "" "Log de betaalproces informatie. Deze kun je raadplegen via: WooCommerce > " "Status > Logs" -#: includes/classes/PPMFWC/Gateways.php:483 +#: includes/classes/PPMFWC/Gateways.php:482 msgid "SSL Verify Peer" msgstr "SSL Verify Peer" -#: includes/classes/PPMFWC/Gateways.php:485 +#: includes/classes/PPMFWC/Gateways.php:484 msgid "" "Uncheck this box if you have SSL certificate errors that you don't know how " "to fix" @@ -566,25 +566,25 @@ msgstr "" "Vink dit uit als je SSL certificaat problemen hebt en je weet niet hoe je " "deze moet oplossen" -#: includes/classes/PPMFWC/Gateways.php:490 +#: includes/classes/PPMFWC/Gateways.php:489 msgid "Alternative Exchange URL" msgstr "Alternatieve Exchange URL" -#: includes/classes/PPMFWC/Gateways.php:499 +#: includes/classes/PPMFWC/Gateways.php:498 msgid "Failover Gateway" msgstr "Failover Gateway" -#: includes/classes/PPMFWC/Gateways.php:502 +#: includes/classes/PPMFWC/Gateways.php:501 msgid "Leave empty. Unless Pay. provides you with a failover gateway" msgstr "" "Laat dit veld leeg. Tenzij Pay. specifiek vraagt deze in te vullen met de " "aangegeven URL" -#: includes/classes/PPMFWC/Gateways.php:506 +#: includes/classes/PPMFWC/Gateways.php:505 msgid "Order Description Prefix" msgstr "Order Omschrijving Prefix" -#: includes/classes/PPMFWC/Gateways.php:509 +#: includes/classes/PPMFWC/Gateways.php:508 #, fuzzy #| msgid "" #| "Optionally add a custom order description prefix. If left empty, the " @@ -596,11 +596,11 @@ msgstr "" "Vul hier optioneel een order-prefix in. Deze prefix wordt toegevoegd aan de " "order omschrijving." -#: includes/classes/PPMFWC/Gateways.php:513 +#: includes/classes/PPMFWC/Gateways.php:512 msgid "Follow Payment Method" msgstr "Volg Betaalmethode" -#: includes/classes/PPMFWC/Gateways.php:516 +#: includes/classes/PPMFWC/Gateways.php:515 msgid "" "When `Yes`, the order will be updated with the actual used payment method in " "case this method differs from the initial method." @@ -608,29 +608,43 @@ msgstr "" "Indien `Ja`, dan wordt de order bijgewerkt met de uiteindelijke gebruikte " "betaalmethode indien deze tijdens het proces is gewijzigd." -#: includes/classes/PPMFWC/Gateways.php:543 +#: includes/classes/PPMFWC/Gateways.php:520 +msgid "Test IP address" +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:522 +msgid "" +"Forces testmode on these IP addresses, separate IP's by comma's for multiple " +"IP's." +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:522 +msgid "Current IP address:" +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:548 msgid "Pay. Setup" msgstr "Pay. Setup" -#: includes/classes/PPMFWC/Gateways.php:549 +#: includes/classes/PPMFWC/Gateways.php:554 msgid "Token Code *" msgstr "Token Code *" -#: includes/classes/PPMFWC/Gateways.php:554 +#: includes/classes/PPMFWC/Gateways.php:559 msgid "The AT-code belonging to your token, you can find this " msgstr "De AT-code behorende bij de API-Token kun je vinden op het " -#: includes/classes/PPMFWC/Gateways.php:557 -#: includes/classes/PPMFWC/Gateways.php:568 -#: includes/classes/PPMFWC/Gateways.php:580 +#: includes/classes/PPMFWC/Gateways.php:562 +#: includes/classes/PPMFWC/Gateways.php:573 +#: includes/classes/PPMFWC/Gateways.php:585 msgid "here" msgstr "Pay. dashboard" -#: includes/classes/PPMFWC/Gateways.php:561 +#: includes/classes/PPMFWC/Gateways.php:566 msgid "API-token *" msgstr "API-token *" -#: includes/classes/PPMFWC/Gateways.php:565 +#: includes/classes/PPMFWC/Gateways.php:570 msgid "" "The API-token used to communicate with the Pay. API, you can find your API-" "token " @@ -638,30 +652,30 @@ msgstr "" "Het API-token wordt gebruikt om met de API van Pay. de communiceren, je kunt " "je API-token vinden op het " -#: includes/classes/PPMFWC/Gateways.php:572 +#: includes/classes/PPMFWC/Gateways.php:577 msgid "Service ID *" msgstr "Service ID *" -#: includes/classes/PPMFWC/Gateways.php:577 +#: includes/classes/PPMFWC/Gateways.php:582 msgid "The serviceid to identify your website, you can find your serviceid " msgstr "" "Het serviceId is de SL-code van je dienst, en wordt gebruikt om de " "betalingen aan de juiste dienst te koppelen. Je kunt je serviceId vinden op " "het " -#: includes/classes/PPMFWC/Gateways.php:582 +#: includes/classes/PPMFWC/Gateways.php:587 msgid "The serviceid should be in the following format: SL-xxxx-xxxx" msgstr "Het serviceId moet in het volgende formaat zijn: SL-xxxx-xxxx" -#: includes/classes/PPMFWC/Gateways.php:585 +#: includes/classes/PPMFWC/Gateways.php:590 msgid "Test Mode" msgstr "Test Modus" -#: includes/classes/PPMFWC/Gateways.php:587 +#: includes/classes/PPMFWC/Gateways.php:592 msgid "Check this box if you want to enable test mode" msgstr "Selecteer deze optie om betalingen via testmodus te laten verlopen" -#: includes/classes/PPMFWC/Gateways.php:696 +#: includes/classes/PPMFWC/Gateways.php:701 #, php-format msgid "" "Unfortunately the payment has been denied by %s. Please try again or use " @@ -670,7 +684,7 @@ msgstr "" "Helaas is uw betaling door %s afgewezen. Probeert u het opnieuw of kies een " "andere betaalmethode." -#: includes/classes/PPMFWC/Gateways.php:705 +#: includes/classes/PPMFWC/Gateways.php:710 msgid "" "Unfortunately the payment has been denied by the payment method. Please try " "again or use another payment method." @@ -678,51 +692,51 @@ msgstr "" "Helaas is uw betaling door de betaalmethode afgewezen. Probeert u het " "opnieuw of kies een andere betaalmethode." -#: includes/classes/PPMFWC/Gateways.php:865 +#: includes/classes/PPMFWC/Gateways.php:870 msgid "The payment has been canceled, please try again" msgstr "De betaling is geannuleerd, probeer het a.u.b. opnieuw" -#: includes/classes/PPMFWC/Gateways.php:873 +#: includes/classes/PPMFWC/Gateways.php:878 msgid "The payment is pending or not completed" msgstr "De betaling moet worden verwerkt of is nog niet afgerond" -#: includes/classes/PPMFWC/Helper/Data.php:322 +#: includes/classes/PPMFWC/Helper/Data.php:344 msgid "Dutch" msgstr "Nederlands" -#: includes/classes/PPMFWC/Helper/Data.php:323 +#: includes/classes/PPMFWC/Helper/Data.php:345 msgid "English" msgstr "Engels" -#: includes/classes/PPMFWC/Helper/Data.php:324 +#: includes/classes/PPMFWC/Helper/Data.php:346 msgid "German" msgstr "Duits" -#: includes/classes/PPMFWC/Helper/Data.php:325 +#: includes/classes/PPMFWC/Helper/Data.php:347 msgid "Spanish" msgstr "Spaans" -#: includes/classes/PPMFWC/Helper/Data.php:326 +#: includes/classes/PPMFWC/Helper/Data.php:348 msgid "Italian" msgstr "Italiaans" -#: includes/classes/PPMFWC/Helper/Data.php:327 +#: includes/classes/PPMFWC/Helper/Data.php:349 msgid "French" msgstr "Frans" -#: includes/classes/PPMFWC/Helper/Data.php:328 +#: includes/classes/PPMFWC/Helper/Data.php:350 msgid "Use browser language" msgstr "Gebruik de browsertaal" -#: includes/classes/PPMFWC/Helper/Transaction.php:106 +#: includes/classes/PPMFWC/Helper/Transaction.php:136 msgid "Local transaction not found: " msgstr "Transactie niet gevonden: " -#: includes/classes/PPMFWC/Helper/Transaction.php:109 +#: includes/classes/PPMFWC/Helper/Transaction.php:139 msgid "OrderId not set in local transaction: " msgstr "OrderId niet opgeslagen in lokale transactie: " -#: includes/classes/PPMFWC/Helper/Transaction.php:173 +#: includes/classes/PPMFWC/Helper/Transaction.php:202 #, php-format msgid "" "Validation error: Paid amount does not match order amount. \n" @@ -733,38 +747,38 @@ msgstr "" "Betaald bedrag: %s\n" "Order bedrag: %s\n" -#: includes/classes/PPMFWC/Helper/Transaction.php:198 +#: includes/classes/PPMFWC/Helper/Transaction.php:227 msgid "PAY.: Authorised order set to " msgstr "PAY.: Order status naar " -#: includes/classes/PPMFWC/Helper/Transaction.php:221 +#: includes/classes/PPMFWC/Helper/Transaction.php:250 #, php-format msgid "PAY.: Changed method to %s" msgstr "PAY.: Betaalmethode gewijzigd naar %s" -#: includes/classes/PPMFWC/Helper/Transaction.php:232 +#: includes/classes/PPMFWC/Helper/Transaction.php:261 #, php-format msgid "PAY.: Orderstatus set to custom-status: %s" msgstr "PAY.: Orderstatus set to custom-status: %s" -#: includes/classes/PPMFWC/Helper/Transaction.php:237 +#: includes/classes/PPMFWC/Helper/Transaction.php:266 #, php-format msgid "PAY.: Payment complete (%s). customerkey: %s" msgstr "PAY.: Betaling voltooid (%s). Customerkey: %s" -#: includes/classes/PPMFWC/Helper/Transaction.php:247 +#: includes/classes/PPMFWC/Helper/Transaction.php:276 msgid "PAY.: Payment denied. " msgstr "PAY.: Betaling afgewezen " -#: includes/classes/PPMFWC/Helper/Transaction.php:279 +#: includes/classes/PPMFWC/Helper/Transaction.php:307 msgid "PAY.: Payment canceled" msgstr "PAY.: Betaling geannuleerd" -#: includes/classes/PPMFWC/Helper/Transaction.php:283 +#: includes/classes/PPMFWC/Helper/Transaction.php:311 msgid "To be verified. " msgstr "Controle nodig. " -#: includes/classes/PPMFWC/Setup.php:141 +#: includes/classes/PPMFWC/Setup.php:163 msgid "" "Cannot activate PAY. Payment Methods for WooCommerce because WooCommerce " "could not be found. Please install and activate WooCommerce first" @@ -773,11 +787,11 @@ msgstr "" "WooCommerce niet kan worden gevonden. Installeer en activeer WooCommerce " "eerst" -#: includes/classes/PPMFWC/Setup.php:142 +#: includes/classes/PPMFWC/Setup.php:164 msgid "Woocommerce not found" msgstr "Woocommerce niet gevonden" -#: woocommerce-payment-paynl.php:100 +#: woocommerce-payment-paynl.php:122 msgid "" "The PAY. Payment Methods for WooCommerce plugin requires WooCommerce to be " "active" @@ -785,7 +799,7 @@ msgstr "" "Om de PAY. betaalmethoden te kunnen gebruiken, moet WooCommerce geactiveerd " "zijn" -#: woocommerce-payment-paynl.php:108 +#: woocommerce-payment-paynl.php:131 msgid "" "Curl is not installed. In order to use the PAY. payment methods, you must " "install install CURL. Ask your system administrator to install php_curl." @@ -794,27 +808,43 @@ msgstr "" "CURL geinstalleerd zijn. Vraag je systeembeheerder op php_curl te " "installeren." -#: woocommerce-payment-paynl.php:130 woocommerce-payment-paynl.php:199 +#: woocommerce-payment-paynl.php:156 woocommerce-payment-paynl.php:236 msgid "VAT Number" msgstr "Btw-nummer" -#: woocommerce-payment-paynl.php:131 +#: woocommerce-payment-paynl.php:157 msgid "Enter your VAT number" msgstr "Vul je btw-nummer in" -#: woocommerce-payment-paynl.php:177 woocommerce-payment-paynl.php:219 +#: woocommerce-payment-paynl.php:211 woocommerce-payment-paynl.php:259 msgid "COC Number" msgstr "KVK-nummer" -#: woocommerce-payment-paynl.php:178 +#: woocommerce-payment-paynl.php:212 msgid "Enter your COC number" msgstr "Vul je KVK-nummer in" -#: woocommerce-payment-paynl.php:243 +#: woocommerce-payment-paynl.php:285 #, php-format msgid "PAY.: Performed auto-capture on transaction: %s" msgstr "PAY.: Succesvol auto-capture uitgevoerd voor transactie: %s" +#: woocommerce-payment-paynl.php:297 +#, fuzzy, php-format +#| msgid "PAY.: Performed auto-capture on transaction: %s" +msgid "PAY.: Performed auto-void on transaction: %s" +msgstr "PAY.: Succesvol auto-capture uitgevoerd voor transactie: %s" + +#~ msgid "Send Order Data" +#~ msgstr "Bestellingsgegevens versturen" + +#~ msgid "" +#~ "Check this box if you want to send the order data to Pay., this is " +#~ "required if you want use 'Pay after delivery' paymentmethods " +#~ msgstr "" +#~ "Vink aan om order data naar Pay. te versturen, dit is verplicht indien u " +#~ "van Achteraf betalen gebruik wilt maken " + #~ msgid "Choose your bank" #~ msgstr "Kies uw bank" diff --git a/i18n/languages/woocommerce-paynl-payment-methods-nl_NL_formal.mo b/i18n/languages/woocommerce-paynl-payment-methods-nl_NL_formal.mo index 45d57cc49b8e6f11a41e0a003d9a8545062cc6db..d66b5961c1319a39ed10691bbcf841910e9593b7 100644 GIT binary patch delta 2904 zcmZA3drXye9LMn=aJX~y1c)UUxrCxz3gzM<5fw6(yo;4VfJiE$kP7DYnCRMCmV+6t z7TPLTTQc3T+eRp^R%=bR=4h71A4bw;qZ*YJYrQ|u^RPL8<9lAu?{}W_Jiq7r`~Dt% zYxB_t-*?fj6Ncs^5{OurF=sI6g8 zj>!}3->=7X#LzVYwcAh=WiDa=A-8dQmg{0=bs?7Wp$j^P!~t>*(U7VES(4 z5+(*)Fcq8dBp$@DyX^0uMcwBmoP=FcX}`b$=bFzQzj03Z1w$AQBn>hgW6|T7j`z?n zLXu(DVgc5oZgdh8@iZ>SUd%*yj6ESQ`W7*;*co^c)$hVU970WO7`2vv<1~zB7SfAT zum-Ifz%2UhPX8j_M}GkI#36iWLJ63PMU%)sbz-U*;2g6B$*wtwlko*i!ZSDrKS4d| zf0%)h+*SQNBw1zw>i26f7wb^9b;9}n6zcr*sO$H}k$d8lZ32}$ww{88dL_VQ4{Y( z%Ei2fk6;hZ!Ppu0{$GZ^N(L&Ofe%sr&oBtnXWH9p25M;@z#ObVPBBN2hc?})8(l@c zVnWMky-ZsPeiTVTvX~Bu^ykn zD7=YE@hEDk+{~gB6EPfXQ5oBc5qQ|?AIm2Hy1*L@xbZyd0v8?o9S89r#z#_wf}gNyMG)Y{LRWlyjS zwKS`+7Q1mBde{Qgui1op!sk&bejPQzD_Dou@CX*?*-LR51L^y&bD$IrqEi1ODkHZr z09y$?nc7yuYaQ7y8Le%T(--;9@sp@5sXc9DHagx8OXf3AF|v(N0aX!X#wrf5YCtl1 z>ouwjsHy77ta*Z%MuZVd2^HmDLQPrSMHCat% z?{Q)YQA0EkJBUY#sl=U4TTIPOsQ9!j+lkeLnwDV=5u^@HS+?%4_i_obUjsD#JD_)T zs5-PVf~{*U&k7CD9<;GuTsoXgs1RF-O++=J_7Jg<*iBRr<%H^ndbQU-l7lV8PC^A3 zOWfIb(^@s6id9nqt|C^dLwk%^Mnn_q2@k=>vi`G?gnI}zYTC>v4iJq5%}x%x%4%7B z>J6vLRW&as)Y6Cz#7v@)c$iSrOJ%(6;~;^E@t=*j8W7g9t0}v+Y0E~xFDk?pUOV3H zi1#GA)-m2u;>ioC-CkGU*y!KmIT!5r##Mxdd$V(ACFd3t<@-AmGhE>d#((DTO<8pN aRXWns?5li~o;`k*U(-87{BLHph5iqN`yx;P delta 2853 zcmZA3TTql`9LMoLxEw_gTsf%7ilvBnLIpxi0yGtmm`0vB$cl;~axgSf#*WU!WSKWvHZ|7N1?4njQTF}qKGTKI?En3|&$I9D`#k^W|1P|^ z|NP#-w<(^}Mmt7KArd@hZ{uhT2iicqSv3yg3``zt#>Zg>{e|J)g!82)?- zKFs)LoP$SjI=+P!_!-7&FmubU3LX|*)WG#{NDKsM$!KR`3}2>?HJ34 zmBnMI@qbWBOh`7Hh+bzd>OLis``ae>Mjb}e?{EgtOTWi?1~cdnAW5)Ku>fzNZj?yc zGBFj`<071m$59jN$CY^5^`j<`e+_s!iNx)wne9UD-9gkIpK$i$B>G>Y_Iw2MFqT=W zzZmD?TGWa=Q4>0e**JidgMEp-?3S1OlRdjjFAY6>YAQ~_B3y!6X&dHXm+N0Z7HyYM zpZ^3G;7yFfvCKyAPei>x6ZJiXsQZ+owsc1-`PYfxUD)J2hN^*AZ~*&IDPG5?b%QOq z39GRX2VMVXR0fuizM0sF%kUJI<1p^VRQ7Qx9u08vC?}UtRrx2XxJt>hX1oe3aSPVq zd2Gfw9vK#EM^UMK6@7RP^|V~Yoj8mt%6UB7y8ay;gCC+66!@4E9(nr$^}(+&f-Anm zYWlac!ZlFp3-8@NR86!ai?u#ni0@(<-a*!2dDF}&4_k?Un=1wH3pt+KG6`Y%AuX7Tkqr z^!)d5qP@=M*Ft+cA2oqu)c6`ys;W>EszI%+5j!z}e2tBwCeTTGqVY6pYx_n z-oO-n@D3+Y__s5H%3<3q2B|xnj(UuWQIAg*YUTB)3HKpoVQ=D-_&ye42FuoSUx_=g z*7YyD{xuAY;f>r`;m2hzYVS&LE^b3!_A&<+XF=4BZlY3r7j=DhE)|bUQT-0&WhXhX zi#CMHb2^@%DLwbus6BfOmAXUd#~xJC{EABPJ=7MZr^Q9W7Ma{4QwP$Tui^HhuU6^l1 zy;?77rTs`Y?J8=5Be)w!u^Vf6WV9teVkF*2Wh!z}cnbmvoaly=F#_8O%}i}Sp+Zw5 z5urb`O`%@+z;}h3wn$l0dnQb167KYW(l~1-4iK6Y3k-w`%|}OVe3;O0IS+$vcl{~Y zM(iY1h_QsSMxomgLTx$GN~jQ($x1?vM1)d*5EC`v8i{8M*?*<8o*)6Xjd+}>CiW4B z2&G-c`C!}P22@DeQ+{XcX<{RxR!3|i^n|G?%WBUNs*PvW;r^jN1YV5M0If8PW#Kw^ zUgq>Twf7CgQ^X!(7ooO-C?O6Ln~BxL6GR@N{U1xHfLn+HA~1o&gKZiEDw1;dMh$Kt z*1NubWGaYcqKZf&^hahEkx6tAY7~9wk6R};YQQy~-cX}(OG7^>s@#dh+VFVjp9NKY z4zZY6}zW9HTWC+hy6{hzQg{O*0%N*e^an) HPIt_I4Mh(m diff --git a/i18n/languages/woocommerce-paynl-payment-methods-nl_NL_formal.po b/i18n/languages/woocommerce-paynl-payment-methods-nl_NL_formal.po index 8dff4449..80b7be2a 100644 --- a/i18n/languages/woocommerce-paynl-payment-methods-nl_NL_formal.po +++ b/i18n/languages/woocommerce-paynl-payment-methods-nl_NL_formal.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: PAY. Payment Methods for WooCommerce\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-paynl-" "payment-methods\n" -"POT-Creation-Date: 2023-06-28 11:24+0200\n" -"PO-Revision-Date: 2023-06-28 11:26+0200\n" +"POT-Creation-Date: 2023-09-12 16:55+0200\n" +"PO-Revision-Date: 2023-09-12 16:56+0200\n" "Last-Translator: \n" "Language-Team: Dutch; Flemish\n" "Language: nl\n" @@ -23,71 +23,71 @@ msgstr "" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPathExcluded-0: *.js\n" -#: includes/classes/PPMFWC/Gateway/Abstract.php:38 +#: includes/classes/PPMFWC/Gateway/Abstract.php:41 #, php-format msgid "Activate this module to accept %s transactions" msgstr "Activeer deze module om %s betalingen te accepteren" -#: includes/classes/PPMFWC/Gateway/Abstract.php:91 +#: includes/classes/PPMFWC/Gateway/Abstract.php:94 msgid "Enable/Disable" msgstr "Inschakelen/uitschakelen" -#: includes/classes/PPMFWC/Gateway/Abstract.php:93 -#: includes/classes/PPMFWC/Gateway/Abstract.php:289 +#: includes/classes/PPMFWC/Gateway/Abstract.php:96 +#: includes/classes/PPMFWC/Gateway/Abstract.php:292 #, php-format msgid "Enable PAY. %s" msgstr "PAY. %s inschakelen" -#: includes/classes/PPMFWC/Gateway/Abstract.php:97 +#: includes/classes/PPMFWC/Gateway/Abstract.php:100 msgid "Title" msgstr "Titel" -#: includes/classes/PPMFWC/Gateway/Abstract.php:99 +#: includes/classes/PPMFWC/Gateway/Abstract.php:102 msgid "This controls the title which the user sees during checkout." msgstr "Hier stel je de titel in die de klant tijdens het afrekenen ziet." -#: includes/classes/PPMFWC/Gateway/Abstract.php:104 +#: includes/classes/PPMFWC/Gateway/Abstract.php:107 msgid "Customer Message" msgstr "Klant bericht" -#: includes/classes/PPMFWC/Gateway/Abstract.php:109 +#: includes/classes/PPMFWC/Gateway/Abstract.php:112 msgid "Instructions" msgstr "Instructies" -#: includes/classes/PPMFWC/Gateway/Abstract.php:111 +#: includes/classes/PPMFWC/Gateway/Abstract.php:114 msgid "Instructions that will be added to the thank you page." msgstr "De instructies worden op de bedankt pagina weergegeven." -#: includes/classes/PPMFWC/Gateway/Abstract.php:116 +#: includes/classes/PPMFWC/Gateway/Abstract.php:119 msgid "Minimum amount" msgstr "Minimum bedrag" -#: includes/classes/PPMFWC/Gateway/Abstract.php:118 +#: includes/classes/PPMFWC/Gateway/Abstract.php:121 msgid "Minimum amount valid for this payment method, leave blank for no limit" msgstr "" "Minimale bedrag dat met deze betaalmethode afgerekend kan worden, laat leeg " "voor geen limiet" -#: includes/classes/PPMFWC/Gateway/Abstract.php:123 +#: includes/classes/PPMFWC/Gateway/Abstract.php:126 msgid "Maximum amount" msgstr "Maximum bedrag" -#: includes/classes/PPMFWC/Gateway/Abstract.php:125 +#: includes/classes/PPMFWC/Gateway/Abstract.php:128 msgid "Maximum amount valid for this payment method, leave blank for no limit" msgstr "" "Maximale bedrag dat met deze betaalmethode afgerekend kan worden, laat leeg " "voor geen limiet" -#: includes/classes/PPMFWC/Gateway/Abstract.php:133 +#: includes/classes/PPMFWC/Gateway/Abstract.php:136 msgid "Initial order status" msgstr "Initiële order status" -#: includes/classes/PPMFWC/Gateway/Abstract.php:136 +#: includes/classes/PPMFWC/Gateway/Abstract.php:139 #: includes/classes/PPMFWC/Gateways.php:40 msgid "default" msgstr "standaard" -#: includes/classes/PPMFWC/Gateway/Abstract.php:144 +#: includes/classes/PPMFWC/Gateway/Abstract.php:147 #, php-format msgid "" "Some payment methods take longer than a few hours to complete. The initial " @@ -99,56 +99,56 @@ msgstr "" "zorgt er voor dat de order niet automatisch wordt geannuleerd wanneer de " "instelling %s wordt gebruikt." -#: includes/classes/PPMFWC/Gateway/Abstract.php:149 +#: includes/classes/PPMFWC/Gateway/Abstract.php:152 msgid "Hold Stock (minutes)" msgstr "Voorraad behouden (minuten)" -#: includes/classes/PPMFWC/Gateway/Abstract.php:158 +#: includes/classes/PPMFWC/Gateway/Abstract.php:161 msgid "Customer type" msgstr "Klanttype" -#: includes/classes/PPMFWC/Gateway/Abstract.php:161 +#: includes/classes/PPMFWC/Gateway/Abstract.php:164 msgid "Show for both" msgstr "Toon voor beide" -#: includes/classes/PPMFWC/Gateway/Abstract.php:162 +#: includes/classes/PPMFWC/Gateway/Abstract.php:165 msgid "Private only" msgstr "Alleen niet-zakelijk" -#: includes/classes/PPMFWC/Gateway/Abstract.php:163 +#: includes/classes/PPMFWC/Gateway/Abstract.php:166 msgid "Businesses only" msgstr "Alleen zakelijk" -#: includes/classes/PPMFWC/Gateway/Abstract.php:167 +#: includes/classes/PPMFWC/Gateway/Abstract.php:170 msgid "Allow payment method to be used for companies, private or both." msgstr "Gebruik deze betaalmethode voor alle, zakelijke- of privé klanten." -#: includes/classes/PPMFWC/Gateway/Abstract.php:171 +#: includes/classes/PPMFWC/Gateway/Abstract.php:174 msgid "Country" msgstr "Land" -#: includes/classes/PPMFWC/Gateway/Abstract.php:173 +#: includes/classes/PPMFWC/Gateway/Abstract.php:176 msgid "Available for all countries" msgstr "Beschikbaar voor elk land" -#: includes/classes/PPMFWC/Gateway/Abstract.php:175 +#: includes/classes/PPMFWC/Gateway/Abstract.php:178 #, php-format msgid "Select one or more billing-countries for which %s should be available" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:176 +#: includes/classes/PPMFWC/Gateway/Abstract.php:179 msgid "Select in which (billing) country this method should be available." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:182 +#: includes/classes/PPMFWC/Gateway/Abstract.php:185 msgid "Authorize status" msgstr "Authorize status" -#: includes/classes/PPMFWC/Gateway/Abstract.php:189 +#: includes/classes/PPMFWC/Gateway/Abstract.php:192 msgid "Use default (parent) setting " msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:195 +#: includes/classes/PPMFWC/Gateway/Abstract.php:198 #, fuzzy #| msgid "Select which status authorized transactions initially should have." msgid "" @@ -158,54 +158,54 @@ msgstr "" "Selecteer welke status een order moet krijgen in het geval van een " "authorized betaling." -#: includes/classes/PPMFWC/Gateway/Abstract.php:204 +#: includes/classes/PPMFWC/Gateway/Abstract.php:207 msgid "External logo" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:206 +#: includes/classes/PPMFWC/Gateway/Abstract.php:209 msgid "URL to a different logo to be used in the checkout." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:212 +#: includes/classes/PPMFWC/Gateway/Abstract.php:215 msgid "Ask birthdate" msgstr "Vraag geboortedatum" -#: includes/classes/PPMFWC/Gateway/Abstract.php:214 +#: includes/classes/PPMFWC/Gateway/Abstract.php:217 msgid "" "Ask the customer for his birthdate, this will fasten the checkout process" msgstr "Vraag de klant naar zijn geboortedatum, dit versnelt het afrekenproces" -#: includes/classes/PPMFWC/Gateway/Abstract.php:219 +#: includes/classes/PPMFWC/Gateway/Abstract.php:222 msgid "Birthdate required" msgstr "Geboortedatum verplicht" -#: includes/classes/PPMFWC/Gateway/Abstract.php:221 +#: includes/classes/PPMFWC/Gateway/Abstract.php:224 msgid "Make the birthdate required in the checkout" msgstr "Stel het geboortedatum veld als verplicht in de checkout" -#: includes/classes/PPMFWC/Gateway/Abstract.php:228 +#: includes/classes/PPMFWC/Gateway/Abstract.php:231 msgid "Apple Detection" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:231 -#: includes/classes/PPMFWC/Gateways.php:515 +#: includes/classes/PPMFWC/Gateway/Abstract.php:234 +#: includes/classes/PPMFWC/Gateways.php:514 msgid "No" msgstr "Nee" -#: includes/classes/PPMFWC/Gateway/Abstract.php:232 -#: includes/classes/PPMFWC/Gateways.php:515 +#: includes/classes/PPMFWC/Gateway/Abstract.php:235 +#: includes/classes/PPMFWC/Gateways.php:514 msgid "Yes" msgstr "Ja" -#: includes/classes/PPMFWC/Gateway/Abstract.php:235 +#: includes/classes/PPMFWC/Gateway/Abstract.php:238 msgid "Only show Apple Pay on Apple devices." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:241 +#: includes/classes/PPMFWC/Gateway/Abstract.php:244 msgid "Use invoice address for shipping" msgstr "Gebruik het factuur adres als verzendadres" -#: includes/classes/PPMFWC/Gateway/Abstract.php:245 +#: includes/classes/PPMFWC/Gateway/Abstract.php:248 msgid "" "Enable this option when the required shipping address for post-payments is " "empty or is not being forwarded to PAY. correctly. " @@ -213,82 +213,82 @@ msgstr "" "Schakel deze optie (alleen) in wanneer bij achterafbetalingen het " "verzendadres niet wordt meegegeven door WooCommerce aan PAY. " -#: includes/classes/PPMFWC/Gateway/Abstract.php:255 +#: includes/classes/PPMFWC/Gateway/Abstract.php:258 #, fuzzy #| msgid "Alternative Exchange URL" msgid "Alternative Return URL" msgstr "Alternatieve Exchange URL" -#: includes/classes/PPMFWC/Gateway/Abstract.php:258 +#: includes/classes/PPMFWC/Gateway/Abstract.php:261 msgid "" "Use this URL for when the paymentstatus is (still) pending/ payment after " "payment finish." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:280 +#: includes/classes/PPMFWC/Gateway/Abstract.php:283 #, php-format msgid "Pay with %s" msgstr "Betaal met %s" -#: includes/classes/PPMFWC/Gateway/Abstract.php:286 +#: includes/classes/PPMFWC/Gateway/Abstract.php:289 msgid "Disabled" msgstr "Uitgeschakeld" -#: includes/classes/PPMFWC/Gateway/Abstract.php:288 +#: includes/classes/PPMFWC/Gateway/Abstract.php:291 msgid "" "This payment method is not available, please enable this in the PAY. admin." msgstr "" "Deze betaalmethode is niet beschikbaar, schakel deze in op admin.pay.nl." -#: includes/classes/PPMFWC/Gateway/Abstract.php:435 +#: includes/classes/PPMFWC/Gateway/Abstract.php:438 msgid "Date of birth: " msgstr "Geboortedatum: " -#: includes/classes/PPMFWC/Gateway/Abstract.php:456 +#: includes/classes/PPMFWC/Gateway/Abstract.php:459 msgid "Please enter your date of birth, this field is required." msgstr "Vul je geboortedatum in. Dit veld is verplicht." -#: includes/classes/PPMFWC/Gateway/Abstract.php:471 +#: includes/classes/PPMFWC/Gateway/Abstract.php:474 #, php-format msgid "PAY.: Transaction started: %s (%s)" msgstr "PAY.: Transactie gestart: %s (%s)" -#: includes/classes/PPMFWC/Gateway/Abstract.php:475 +#: includes/classes/PPMFWC/Gateway/Abstract.php:478 #, php-format msgid "Initial status set to %s " msgstr "Initiële status op %s gezet " -#: includes/classes/PPMFWC/Gateway/Abstract.php:493 +#: includes/classes/PPMFWC/Gateway/Abstract.php:496 msgid "" "Could not initiate payment. Please try again or use another payment method." msgstr "" "De betaling kon niet worden gestart. Probeer opnieuw of kies een andere " "betaalmethode." -#: includes/classes/PPMFWC/Gateway/Abstract.php:737 +#: includes/classes/PPMFWC/Gateway/Abstract.php:740 msgid "Shipping" msgstr "Verzendkosten" -#: includes/classes/PPMFWC/Gateway/Abstract.php:753 +#: includes/classes/PPMFWC/Gateway/Abstract.php:756 msgid "Discount" msgstr "Korting" -#: includes/classes/PPMFWC/Gateway/Abstract.php:800 +#: includes/classes/PPMFWC/Gateway/Abstract.php:803 msgid "" "The transaction seems to be already refunded or may be not captured yet. " "Please check admin.pay.nl." msgstr "The betaling is al reeds terugbetaald. Controleer dit op admin.pay.nl." -#: includes/classes/PPMFWC/Gateway/Abstract.php:818 +#: includes/classes/PPMFWC/Gateway/Abstract.php:821 #, php-format msgid "PAY.: Refunded: %s %s" msgstr "PAY.: Terugbetaald: %s %s" -#: includes/classes/PPMFWC/Gateway/Abstract.php:822 +#: includes/classes/PPMFWC/Gateway/Abstract.php:825 msgid "PAY. could not refund the transaction." msgstr "PAY. Kan de transactie niet terugbetalen." -#: includes/classes/PPMFWC/Gateway/Abstract.php:823 +#: includes/classes/PPMFWC/Gateway/Abstract.php:826 msgid "" "A (partial) refund has just been made on this transaction, please wait a " "moment, and try again." @@ -363,78 +363,78 @@ msgstr "De pin-betaling kan niet worden gestart." msgid "PAY.: Transaction started: %s" msgstr "PAY.: Transactie gestart, TransactieId: %s" -#: includes/classes/PPMFWC/Gateways.php:171 +#: includes/classes/PPMFWC/Gateways.php:169 msgid "Pay." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:183 +#: includes/classes/PPMFWC/Gateways.php:181 msgid "Setup" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:184 +#: includes/classes/PPMFWC/Gateways.php:182 msgid "Payment Methods" msgstr "Betaalmethoden" -#: includes/classes/PPMFWC/Gateways.php:185 woocommerce-payment-paynl.php:117 +#: includes/classes/PPMFWC/Gateways.php:183 woocommerce-payment-paynl.php:141 msgid "Settings" msgstr "Instellingen" -#: includes/classes/PPMFWC/Gateways.php:186 +#: includes/classes/PPMFWC/Gateways.php:184 msgid "Order State Automation" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:243 +#: includes/classes/PPMFWC/Gateways.php:241 msgid "API token and Service id are required." msgstr "API token and Service id zijn vereist." -#: includes/classes/PPMFWC/Gateways.php:245 +#: includes/classes/PPMFWC/Gateways.php:243 msgid "Pay. Not connected." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:249 +#: includes/classes/PPMFWC/Gateways.php:247 msgid "API-token and Service id are required." msgstr "API-token and Service id zijn vereist." -#: includes/classes/PPMFWC/Gateways.php:251 +#: includes/classes/PPMFWC/Gateways.php:249 msgid "API-token is required." msgstr "API-token is verplicht." -#: includes/classes/PPMFWC/Gateways.php:253 +#: includes/classes/PPMFWC/Gateways.php:251 msgid "Service id is required." msgstr "Service id is vereist." -#: includes/classes/PPMFWC/Gateways.php:258 +#: includes/classes/PPMFWC/Gateways.php:256 msgid "Service-ID, API-Token or Tokencode invalid" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:261 +#: includes/classes/PPMFWC/Gateways.php:259 #, fuzzy #| msgid "Service id is invalid." msgid "Service-ID is invalid." msgstr "Service id is ongeldig." -#: includes/classes/PPMFWC/Gateways.php:264 +#: includes/classes/PPMFWC/Gateways.php:262 #, fuzzy #| msgid "Service id is invalid." msgid "Service-ID / API-Token combination is invalid." msgstr "Service id is ongeldig." -#: includes/classes/PPMFWC/Gateways.php:271 -#: includes/classes/PPMFWC/Gateways.php:274 +#: includes/classes/PPMFWC/Gateways.php:269 +#: includes/classes/PPMFWC/Gateways.php:272 #, fuzzy #| msgid "Not registered at PAY? Sign up " msgid "Not registered at Pay.? Sign up " msgstr "Niet geregistreerd bij PAY? Registreer " -#: includes/classes/PPMFWC/Gateways.php:273 +#: includes/classes/PPMFWC/Gateways.php:271 msgid "Pay. Connection failed." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:276 +#: includes/classes/PPMFWC/Gateways.php:274 msgid "Pay. Successfully connected." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:329 +#: includes/classes/PPMFWC/Gateways.php:327 #, fuzzy #| msgid "The following payment methods can be enabled" msgid "" @@ -442,30 +442,30 @@ msgid "" "to open the settings:" msgstr "De volgende betaalmethoden kunnen worden ingeschakeld" -#: includes/classes/PPMFWC/Gateways.php:362 -#: includes/classes/PPMFWC/Gateways.php:369 +#: includes/classes/PPMFWC/Gateways.php:360 +#: includes/classes/PPMFWC/Gateways.php:367 msgid "Pay. Payment Methods" msgstr "Pay. Betaalmethoden" -#: includes/classes/PPMFWC/Gateways.php:371 +#: includes/classes/PPMFWC/Gateways.php:369 msgid "Complete connecting your Pay. account on the " msgstr "Voltooi het koppelen van uw PAY. account op de " -#: includes/classes/PPMFWC/Gateways.php:371 +#: includes/classes/PPMFWC/Gateways.php:370 msgid "setup page" msgstr "setup pagina" -#: includes/classes/PPMFWC/Gateways.php:381 +#: includes/classes/PPMFWC/Gateways.php:380 #, fuzzy #| msgid "PAY.: Order state set to " msgid "Pay. Order State Automation" msgstr "PAY.: Order status naar " -#: includes/classes/PPMFWC/Gateways.php:400 +#: includes/classes/PPMFWC/Gateways.php:399 msgid "Pay. status " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:404 +#: includes/classes/PPMFWC/Gateways.php:403 #, fuzzy #| msgid "Select which status authorized transactions initially should have." msgid "" @@ -474,19 +474,19 @@ msgstr "" "Selecteer welke status een order moet krijgen in het geval van een " "authorized betaling." -#: includes/classes/PPMFWC/Gateways.php:413 +#: includes/classes/PPMFWC/Gateways.php:412 #, fuzzy #| msgid "PAY. settings" msgid "Pay. Settings" msgstr "PAY. instellingen" -#: includes/classes/PPMFWC/Gateways.php:419 +#: includes/classes/PPMFWC/Gateways.php:418 #, fuzzy #| msgid "Standard PAY. Style" msgid "Standard Pay. Style" msgstr "Standard PAY. Stijl" -#: includes/classes/PPMFWC/Gateways.php:421 +#: includes/classes/PPMFWC/Gateways.php:420 #, fuzzy #| msgid "" #| "Check this box if you want to use the standard PAY. style in the checkout" @@ -494,29 +494,29 @@ msgid "" "Check this box if you want to use the standard Pay. style in the checkout" msgstr "Schakel in om gebruik te maken van de PAY style tweaks in de checkout" -#: includes/classes/PPMFWC/Gateways.php:426 +#: includes/classes/PPMFWC/Gateways.php:425 msgid "Payment Screen Language" msgstr "Betaalscherm Taal" -#: includes/classes/PPMFWC/Gateways.php:429 +#: includes/classes/PPMFWC/Gateways.php:428 msgid "This is the language in which the payment screen will be shown" msgstr "Dit is de taal waarin het betaalscherm wordt weergegeven" -#: includes/classes/PPMFWC/Gateways.php:434 +#: includes/classes/PPMFWC/Gateways.php:433 msgid "Refund Processing" msgstr "Verwerking Terugbetaling" -#: includes/classes/PPMFWC/Gateways.php:436 +#: includes/classes/PPMFWC/Gateways.php:435 msgid "Process refunds initiated from PAY admin" msgstr "" "Verwerk terugbetaling die gestart zijn vanuit PAY. De orderstatus en " "voorraad wordt hierbij aangepast" -#: includes/classes/PPMFWC/Gateways.php:441 +#: includes/classes/PPMFWC/Gateways.php:440 msgid "Auto-capture" msgstr "Auto-capture" -#: includes/classes/PPMFWC/Gateways.php:443 +#: includes/classes/PPMFWC/Gateways.php:442 msgid "" "Enable auto-capture for authorize-transactions. Capture will be initiated " "when an order gets the status: `Completed`." @@ -524,51 +524,47 @@ msgstr "" "Schakel auto-capture in voor authorize-transacties. De Capture wordt gestart " "wanneer een order de status `Completed` krijgt." -#: includes/classes/PPMFWC/Gateways.php:448 -msgid "Send Order Data" -msgstr "Bestelling gegevens versturen" +#: includes/classes/PPMFWC/Gateways.php:447 +msgid "Auto-void" +msgstr "Auto-void" -#: includes/classes/PPMFWC/Gateways.php:450 -#, fuzzy -#| msgid "" -#| "Check this box if you want to send the order data to PAY., this is " -#| "required if you want use 'Pay after delivery' paymentmethods " +#: includes/classes/PPMFWC/Gateways.php:449 msgid "" -"Check this box if you want to send the order data to Pay., this is required " -"if you want use 'Pay after delivery' paymentmethods " +"Enable auto-void for authorize-transactions. Void will be initiated when an " +"order gets the status: `Cancelled`." msgstr "" -"Vink aan om order data naar PAY. te versturen, dit is verplicht indien u van " -"Achteraf betalen gebruik wilt maken " +"Schakel auto-void in voor authorize-transacties. De Void wordt gestart " +"wanneer een order de status `Cancelled` krijgt." -#: includes/classes/PPMFWC/Gateways.php:455 +#: includes/classes/PPMFWC/Gateways.php:454 msgid "Show VAT Number" msgstr "Toon BTW-nummer" -#: includes/classes/PPMFWC/Gateways.php:457 +#: includes/classes/PPMFWC/Gateways.php:456 msgid "Check this box if you want to show VAT number in checkout" msgstr "Vink aan om het Btw-nummer veld te tonen in de checkout" -#: includes/classes/PPMFWC/Gateways.php:462 +#: includes/classes/PPMFWC/Gateways.php:461 msgid "Show COC Number" msgstr "Toon KVK-nummer" -#: includes/classes/PPMFWC/Gateways.php:464 +#: includes/classes/PPMFWC/Gateways.php:463 msgid "Check this box if you want to show COC number in checkout" msgstr "Vink aan om het KVK-nummer veld te tonen in de checkout" -#: includes/classes/PPMFWC/Gateways.php:469 +#: includes/classes/PPMFWC/Gateways.php:468 msgid "Use High Risk Methods" msgstr "Gebruik ‘High Risk' betaalmethoden" -#: includes/classes/PPMFWC/Gateways.php:471 +#: includes/classes/PPMFWC/Gateways.php:470 msgid "Check this box if you are using high risk payment methods" msgstr "Vink aan om 'high risk' betaalmethoden te gebruiken" -#: includes/classes/PPMFWC/Gateways.php:476 +#: includes/classes/PPMFWC/Gateways.php:475 msgid "Extended Logging" msgstr "Extended Logging" -#: includes/classes/PPMFWC/Gateways.php:478 +#: includes/classes/PPMFWC/Gateways.php:477 msgid "" "Log payment information. Logfiles can be found at: WooCommerce > Status > " "Logs" @@ -576,11 +572,11 @@ msgstr "" "Log de betaalproces informatie. Deze kun je raadplegen via: WooCommerce > " "Status > Logs" -#: includes/classes/PPMFWC/Gateways.php:483 +#: includes/classes/PPMFWC/Gateways.php:482 msgid "SSL Verify Peer" msgstr "SSL Verify Peer" -#: includes/classes/PPMFWC/Gateways.php:485 +#: includes/classes/PPMFWC/Gateways.php:484 msgid "" "Uncheck this box if you have SSL certificate errors that you don't know how " "to fix" @@ -588,15 +584,15 @@ msgstr "" "Vink dit uit als je SSL certificaat problemen hebt en je weet niet hoe je " "deze moet oplossen" -#: includes/classes/PPMFWC/Gateways.php:490 +#: includes/classes/PPMFWC/Gateways.php:489 msgid "Alternative Exchange URL" msgstr "Alternatieve Exchange URL" -#: includes/classes/PPMFWC/Gateways.php:499 +#: includes/classes/PPMFWC/Gateways.php:498 msgid "Failover Gateway" msgstr "Failover Gateway" -#: includes/classes/PPMFWC/Gateways.php:502 +#: includes/classes/PPMFWC/Gateways.php:501 #, fuzzy #| msgid "Leave empty. Unless PAY. provides you with a failover gateway" msgid "Leave empty. Unless Pay. provides you with a failover gateway" @@ -604,11 +600,11 @@ msgstr "" "Laat dit veld leeg. Tenzij PAY. specifiek vraagt deze in te vullen met de " "aangegeven URL" -#: includes/classes/PPMFWC/Gateways.php:506 +#: includes/classes/PPMFWC/Gateways.php:505 msgid "Order Description Prefix" msgstr "Order Omschrijving Prefix" -#: includes/classes/PPMFWC/Gateways.php:509 +#: includes/classes/PPMFWC/Gateways.php:508 #, fuzzy #| msgid "" #| "Optionally add a custom order description prefix. If left empty, the " @@ -618,11 +614,11 @@ msgid "" "add an extra space." msgstr "Voeg optioneel een prefix toe aan uw order omschrijving." -#: includes/classes/PPMFWC/Gateways.php:513 +#: includes/classes/PPMFWC/Gateways.php:512 msgid "Follow Payment Method" msgstr "Volg betaalmethode" -#: includes/classes/PPMFWC/Gateways.php:516 +#: includes/classes/PPMFWC/Gateways.php:515 msgid "" "When `Yes`, the order will be updated with the actual used payment method in " "case this method differs from the initial method." @@ -630,29 +626,43 @@ msgstr "" "Indien `Ja`, dan wordt de order bijgewerkt met de uiteindelijke gebruikte " "betaalmethode indien deze tijdens het proces is gewijzigd." -#: includes/classes/PPMFWC/Gateways.php:543 +#: includes/classes/PPMFWC/Gateways.php:520 +msgid "Test IP address" +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:522 +msgid "" +"Forces testmode on these IP addresses, separate IP's by comma's for multiple " +"IP's." +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:522 +msgid "Current IP address:" +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:548 msgid "Pay. Setup" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:549 +#: includes/classes/PPMFWC/Gateways.php:554 msgid "Token Code *" msgstr "Token Code *" -#: includes/classes/PPMFWC/Gateways.php:554 +#: includes/classes/PPMFWC/Gateways.php:559 msgid "The AT-code belonging to your token, you can find this " msgstr "De AT-code behorende bij de API-token kun je vinden op het" -#: includes/classes/PPMFWC/Gateways.php:557 -#: includes/classes/PPMFWC/Gateways.php:568 -#: includes/classes/PPMFWC/Gateways.php:580 +#: includes/classes/PPMFWC/Gateways.php:562 +#: includes/classes/PPMFWC/Gateways.php:573 +#: includes/classes/PPMFWC/Gateways.php:585 msgid "here" msgstr "Pay. dashboard" -#: includes/classes/PPMFWC/Gateways.php:561 +#: includes/classes/PPMFWC/Gateways.php:566 msgid "API-token *" msgstr "API-token *" -#: includes/classes/PPMFWC/Gateways.php:565 +#: includes/classes/PPMFWC/Gateways.php:570 msgid "" "The API-token used to communicate with the Pay. API, you can find your API-" "token " @@ -660,30 +670,30 @@ msgstr "" "Het API-token wordt gebruikt om met de API van PAY. de communiceren, je kunt " "je API-token vinden op het " -#: includes/classes/PPMFWC/Gateways.php:572 +#: includes/classes/PPMFWC/Gateways.php:577 msgid "Service ID *" msgstr "Service ID" -#: includes/classes/PPMFWC/Gateways.php:577 +#: includes/classes/PPMFWC/Gateways.php:582 msgid "The serviceid to identify your website, you can find your serviceid " msgstr "" "Het serviceId is de SL-code van je dienst, en wordt gebruikt om de " "betalingen aan de juiste dienst te koppelen. Je kunt je serviceId vinden op " "het " -#: includes/classes/PPMFWC/Gateways.php:582 +#: includes/classes/PPMFWC/Gateways.php:587 msgid "The serviceid should be in the following format: SL-xxxx-xxxx" msgstr "Het serviceId moet in het volgende formaat zijn: SL-xxxx-xxxx" -#: includes/classes/PPMFWC/Gateways.php:585 +#: includes/classes/PPMFWC/Gateways.php:590 msgid "Test Mode" msgstr "Test Modus" -#: includes/classes/PPMFWC/Gateways.php:587 +#: includes/classes/PPMFWC/Gateways.php:592 msgid "Check this box if you want to enable test mode" msgstr "Vink aan om betalingen via testmodus te laten verlopen" -#: includes/classes/PPMFWC/Gateways.php:696 +#: includes/classes/PPMFWC/Gateways.php:701 #, php-format msgid "" "Unfortunately the payment has been denied by %s. Please try again or use " @@ -692,7 +702,7 @@ msgstr "" "Helaas is uw betaling door %s afgewezen. Probeert u het opnieuw of kies een " "andere betaalmethode." -#: includes/classes/PPMFWC/Gateways.php:705 +#: includes/classes/PPMFWC/Gateways.php:710 msgid "" "Unfortunately the payment has been denied by the payment method. Please try " "again or use another payment method." @@ -700,51 +710,51 @@ msgstr "" "De betaling kon niet worden gestart. Probeer opnieuw of kies een andere " "betaalmethode." -#: includes/classes/PPMFWC/Gateways.php:865 +#: includes/classes/PPMFWC/Gateways.php:870 msgid "The payment has been canceled, please try again" msgstr "De betaling is geannuleerd, probeer het a.u.b. opnieuw" -#: includes/classes/PPMFWC/Gateways.php:873 +#: includes/classes/PPMFWC/Gateways.php:878 msgid "The payment is pending or not completed" msgstr "De betaling moet worden verwerkt of is nog niet afgerond" -#: includes/classes/PPMFWC/Helper/Data.php:322 +#: includes/classes/PPMFWC/Helper/Data.php:344 msgid "Dutch" msgstr "Nederlands" -#: includes/classes/PPMFWC/Helper/Data.php:323 +#: includes/classes/PPMFWC/Helper/Data.php:345 msgid "English" msgstr "Engels" -#: includes/classes/PPMFWC/Helper/Data.php:324 +#: includes/classes/PPMFWC/Helper/Data.php:346 msgid "German" msgstr "Duits" -#: includes/classes/PPMFWC/Helper/Data.php:325 +#: includes/classes/PPMFWC/Helper/Data.php:347 msgid "Spanish" msgstr "Spaans" -#: includes/classes/PPMFWC/Helper/Data.php:326 +#: includes/classes/PPMFWC/Helper/Data.php:348 msgid "Italian" msgstr "Italiaans" -#: includes/classes/PPMFWC/Helper/Data.php:327 +#: includes/classes/PPMFWC/Helper/Data.php:349 msgid "French" msgstr "Frans" -#: includes/classes/PPMFWC/Helper/Data.php:328 +#: includes/classes/PPMFWC/Helper/Data.php:350 msgid "Use browser language" msgstr "Gebruik de browsertaal" -#: includes/classes/PPMFWC/Helper/Transaction.php:106 +#: includes/classes/PPMFWC/Helper/Transaction.php:136 msgid "Local transaction not found: " msgstr "Transactie niet gevonden: " -#: includes/classes/PPMFWC/Helper/Transaction.php:109 +#: includes/classes/PPMFWC/Helper/Transaction.php:139 msgid "OrderId not set in local transaction: " msgstr "OrderId niet opgeslagen in lokale transactie: " -#: includes/classes/PPMFWC/Helper/Transaction.php:173 +#: includes/classes/PPMFWC/Helper/Transaction.php:202 #, php-format msgid "" "Validation error: Paid amount does not match order amount. \n" @@ -755,41 +765,41 @@ msgstr "" "Betaald bedrag: %s\n" "Order bedrag: %s\n" -#: includes/classes/PPMFWC/Helper/Transaction.php:198 +#: includes/classes/PPMFWC/Helper/Transaction.php:227 #, fuzzy #| msgid "PAY.: Order state set to " msgid "PAY.: Authorised order set to " msgstr "PAY.: Order status naar " -#: includes/classes/PPMFWC/Helper/Transaction.php:221 +#: includes/classes/PPMFWC/Helper/Transaction.php:250 #, php-format msgid "PAY.: Changed method to %s" msgstr "PAY.: Betaalmethode gewijzigd naar %s" -#: includes/classes/PPMFWC/Helper/Transaction.php:232 +#: includes/classes/PPMFWC/Helper/Transaction.php:261 #, fuzzy, php-format #| msgid "PAY.: Order state set to " msgid "PAY.: Orderstatus set to custom-status: %s" msgstr "PAY.: Order status naar " -#: includes/classes/PPMFWC/Helper/Transaction.php:237 +#: includes/classes/PPMFWC/Helper/Transaction.php:266 #, php-format msgid "PAY.: Payment complete (%s). customerkey: %s" msgstr "PAY.: Betaling voltooid (%s). Customerkey: %s" -#: includes/classes/PPMFWC/Helper/Transaction.php:247 +#: includes/classes/PPMFWC/Helper/Transaction.php:276 msgid "PAY.: Payment denied. " msgstr "PAY.: Betaling afgewezen " -#: includes/classes/PPMFWC/Helper/Transaction.php:279 +#: includes/classes/PPMFWC/Helper/Transaction.php:307 msgid "PAY.: Payment canceled" msgstr "PAY.: Betaling geannuleerd" -#: includes/classes/PPMFWC/Helper/Transaction.php:283 +#: includes/classes/PPMFWC/Helper/Transaction.php:311 msgid "To be verified. " msgstr "" -#: includes/classes/PPMFWC/Setup.php:141 +#: includes/classes/PPMFWC/Setup.php:163 msgid "" "Cannot activate PAY. Payment Methods for WooCommerce because WooCommerce " "could not be found. Please install and activate WooCommerce first" @@ -798,11 +808,11 @@ msgstr "" "WooCommerce niet kan worden gevonden. Installeer en activeer WooCommerce " "eerst" -#: includes/classes/PPMFWC/Setup.php:142 +#: includes/classes/PPMFWC/Setup.php:164 msgid "Woocommerce not found" msgstr "Woocommerce niet gevonden" -#: woocommerce-payment-paynl.php:100 +#: woocommerce-payment-paynl.php:122 msgid "" "The PAY. Payment Methods for WooCommerce plugin requires WooCommerce to be " "active" @@ -810,7 +820,7 @@ msgstr "" "Om de PAY. betaalmethoden te kunnen gebruiken, moet WooCommerce geactiveerd " "zijn" -#: woocommerce-payment-paynl.php:108 +#: woocommerce-payment-paynl.php:131 msgid "" "Curl is not installed. In order to use the PAY. payment methods, you must " "install install CURL. Ask your system administrator to install php_curl." @@ -819,27 +829,47 @@ msgstr "" "CURL geinstalleerd zijn. Vraag je systeembeheerder op php_curl te " "installeren." -#: woocommerce-payment-paynl.php:130 woocommerce-payment-paynl.php:199 +#: woocommerce-payment-paynl.php:156 woocommerce-payment-paynl.php:236 msgid "VAT Number" msgstr "Btw-nummer" -#: woocommerce-payment-paynl.php:131 +#: woocommerce-payment-paynl.php:157 msgid "Enter your VAT number" msgstr "Vul je btw-nummer in" -#: woocommerce-payment-paynl.php:177 woocommerce-payment-paynl.php:219 +#: woocommerce-payment-paynl.php:211 woocommerce-payment-paynl.php:259 msgid "COC Number" msgstr "KVK-nummer" -#: woocommerce-payment-paynl.php:178 +#: woocommerce-payment-paynl.php:212 msgid "Enter your COC number" msgstr "Vul je KVK-nummer in" -#: woocommerce-payment-paynl.php:243 +#: woocommerce-payment-paynl.php:285 #, php-format msgid "PAY.: Performed auto-capture on transaction: %s" msgstr "PAY.: Succesvol auto-capture uitgevoerd voor transactie: %s" +#: woocommerce-payment-paynl.php:297 +#, fuzzy, php-format +#| msgid "PAY.: Performed auto-capture on transaction: %s" +msgid "PAY.: Performed auto-void on transaction: %s" +msgstr "PAY.: Succesvol auto-capture uitgevoerd voor transactie: %s" + +#~ msgid "Send Order Data" +#~ msgstr "Bestelling gegevens versturen" + +#, fuzzy +#~| msgid "" +#~| "Check this box if you want to send the order data to PAY., this is " +#~| "required if you want use 'Pay after delivery' paymentmethods " +#~ msgid "" +#~ "Check this box if you want to send the order data to Pay., this is " +#~ "required if you want use 'Pay after delivery' paymentmethods " +#~ msgstr "" +#~ "Vink aan om order data naar PAY. te versturen, dit is verplicht indien u " +#~ "van Achteraf betalen gebruik wilt maken " + #~ msgid "Show Payment Method Logos" #~ msgstr "Toon Logo’s Betaalmethoden" diff --git a/i18n/languages/woocommerce-paynl-payment-methods.pot b/i18n/languages/woocommerce-paynl-payment-methods.pot index 746e076f..13bfa3ba 100644 --- a/i18n/languages/woocommerce-paynl-payment-methods.pot +++ b/i18n/languages/woocommerce-paynl-payment-methods.pot @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: PAY. Payment Methods for WooCommerce\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-paynl-" "payment-methods\n" -"POT-Creation-Date: 2023-06-28 11:28+0200\n" +"POT-Creation-Date: 2023-09-12 16:56+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: Dutch; Flemish\n" @@ -23,67 +23,67 @@ msgstr "" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPathExcluded-0: *.js\n" -#: includes/classes/PPMFWC/Gateway/Abstract.php:38 +#: includes/classes/PPMFWC/Gateway/Abstract.php:41 #, php-format msgid "Activate this module to accept %s transactions" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:91 +#: includes/classes/PPMFWC/Gateway/Abstract.php:94 msgid "Enable/Disable" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:93 -#: includes/classes/PPMFWC/Gateway/Abstract.php:289 +#: includes/classes/PPMFWC/Gateway/Abstract.php:96 +#: includes/classes/PPMFWC/Gateway/Abstract.php:292 #, php-format msgid "Enable PAY. %s" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:97 +#: includes/classes/PPMFWC/Gateway/Abstract.php:100 msgid "Title" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:99 +#: includes/classes/PPMFWC/Gateway/Abstract.php:102 msgid "This controls the title which the user sees during checkout." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:104 +#: includes/classes/PPMFWC/Gateway/Abstract.php:107 msgid "Customer Message" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:109 +#: includes/classes/PPMFWC/Gateway/Abstract.php:112 msgid "Instructions" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:111 +#: includes/classes/PPMFWC/Gateway/Abstract.php:114 msgid "Instructions that will be added to the thank you page." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:116 +#: includes/classes/PPMFWC/Gateway/Abstract.php:119 msgid "Minimum amount" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:118 +#: includes/classes/PPMFWC/Gateway/Abstract.php:121 msgid "Minimum amount valid for this payment method, leave blank for no limit" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:123 +#: includes/classes/PPMFWC/Gateway/Abstract.php:126 msgid "Maximum amount" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:125 +#: includes/classes/PPMFWC/Gateway/Abstract.php:128 msgid "Maximum amount valid for this payment method, leave blank for no limit" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:133 +#: includes/classes/PPMFWC/Gateway/Abstract.php:136 msgid "Initial order status" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:136 +#: includes/classes/PPMFWC/Gateway/Abstract.php:139 #: includes/classes/PPMFWC/Gateways.php:40 msgid "default" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:144 +#: includes/classes/PPMFWC/Gateway/Abstract.php:147 #, php-format msgid "" "Some payment methods take longer than a few hours to complete. The initial " @@ -91,185 +91,185 @@ msgid "" "the setting %s is used." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:149 +#: includes/classes/PPMFWC/Gateway/Abstract.php:152 msgid "Hold Stock (minutes)" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:158 +#: includes/classes/PPMFWC/Gateway/Abstract.php:161 msgid "Customer type" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:161 +#: includes/classes/PPMFWC/Gateway/Abstract.php:164 msgid "Show for both" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:162 +#: includes/classes/PPMFWC/Gateway/Abstract.php:165 msgid "Private only" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:163 +#: includes/classes/PPMFWC/Gateway/Abstract.php:166 msgid "Businesses only" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:167 +#: includes/classes/PPMFWC/Gateway/Abstract.php:170 msgid "Allow payment method to be used for companies, private or both." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:171 +#: includes/classes/PPMFWC/Gateway/Abstract.php:174 msgid "Country" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:173 +#: includes/classes/PPMFWC/Gateway/Abstract.php:176 msgid "Available for all countries" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:175 +#: includes/classes/PPMFWC/Gateway/Abstract.php:178 #, php-format msgid "Select one or more billing-countries for which %s should be available" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:176 +#: includes/classes/PPMFWC/Gateway/Abstract.php:179 msgid "Select in which (billing) country this method should be available." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:182 +#: includes/classes/PPMFWC/Gateway/Abstract.php:185 msgid "Authorize status" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:189 +#: includes/classes/PPMFWC/Gateway/Abstract.php:192 msgid "Use default (parent) setting " msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:195 +#: includes/classes/PPMFWC/Gateway/Abstract.php:198 msgid "" "Select which status authorized transactions initially should have. Select " "`Use default` to use the global setting. " msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:204 +#: includes/classes/PPMFWC/Gateway/Abstract.php:207 msgid "External logo" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:206 +#: includes/classes/PPMFWC/Gateway/Abstract.php:209 msgid "URL to a different logo to be used in the checkout." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:212 +#: includes/classes/PPMFWC/Gateway/Abstract.php:215 msgid "Ask birthdate" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:214 +#: includes/classes/PPMFWC/Gateway/Abstract.php:217 msgid "" "Ask the customer for his birthdate, this will fasten the checkout process" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:219 +#: includes/classes/PPMFWC/Gateway/Abstract.php:222 msgid "Birthdate required" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:221 +#: includes/classes/PPMFWC/Gateway/Abstract.php:224 msgid "Make the birthdate required in the checkout" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:228 +#: includes/classes/PPMFWC/Gateway/Abstract.php:231 msgid "Apple Detection" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:231 -#: includes/classes/PPMFWC/Gateways.php:515 +#: includes/classes/PPMFWC/Gateway/Abstract.php:234 +#: includes/classes/PPMFWC/Gateways.php:514 msgid "No" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:232 -#: includes/classes/PPMFWC/Gateways.php:515 +#: includes/classes/PPMFWC/Gateway/Abstract.php:235 +#: includes/classes/PPMFWC/Gateways.php:514 msgid "Yes" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:235 +#: includes/classes/PPMFWC/Gateway/Abstract.php:238 msgid "Only show Apple Pay on Apple devices." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:241 +#: includes/classes/PPMFWC/Gateway/Abstract.php:244 msgid "Use invoice address for shipping" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:245 +#: includes/classes/PPMFWC/Gateway/Abstract.php:248 msgid "" "Enable this option when the required shipping address for post-payments is " "empty or is not being forwarded to PAY. correctly. " msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:255 +#: includes/classes/PPMFWC/Gateway/Abstract.php:258 msgid "Alternative Return URL" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:258 +#: includes/classes/PPMFWC/Gateway/Abstract.php:261 msgid "" "Use this URL for when the paymentstatus is (still) pending/ payment after " "payment finish." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:280 +#: includes/classes/PPMFWC/Gateway/Abstract.php:283 #, php-format msgid "Pay with %s" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:286 +#: includes/classes/PPMFWC/Gateway/Abstract.php:289 msgid "Disabled" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:288 +#: includes/classes/PPMFWC/Gateway/Abstract.php:291 msgid "" "This payment method is not available, please enable this in the PAY. admin." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:435 +#: includes/classes/PPMFWC/Gateway/Abstract.php:438 msgid "Date of birth: " msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:456 +#: includes/classes/PPMFWC/Gateway/Abstract.php:459 msgid "Please enter your date of birth, this field is required." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:471 +#: includes/classes/PPMFWC/Gateway/Abstract.php:474 #, php-format msgid "PAY.: Transaction started: %s (%s)" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:475 +#: includes/classes/PPMFWC/Gateway/Abstract.php:478 #, php-format msgid "Initial status set to %s " msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:493 +#: includes/classes/PPMFWC/Gateway/Abstract.php:496 msgid "" "Could not initiate payment. Please try again or use another payment method." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:737 +#: includes/classes/PPMFWC/Gateway/Abstract.php:740 msgid "Shipping" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:753 +#: includes/classes/PPMFWC/Gateway/Abstract.php:756 msgid "Discount" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:800 +#: includes/classes/PPMFWC/Gateway/Abstract.php:803 msgid "" "The transaction seems to be already refunded or may be not captured yet. " "Please check admin.pay.nl." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:818 +#: includes/classes/PPMFWC/Gateway/Abstract.php:821 #, php-format msgid "PAY.: Refunded: %s %s" msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:822 +#: includes/classes/PPMFWC/Gateway/Abstract.php:825 msgid "PAY. could not refund the transaction." msgstr "" -#: includes/classes/PPMFWC/Gateway/Abstract.php:823 +#: includes/classes/PPMFWC/Gateway/Abstract.php:826 msgid "" "A (partial) refund has just been made on this transaction, please wait a " "moment, and try again." @@ -336,333 +336,347 @@ msgstr "" msgid "PAY.: Transaction started: %s" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:171 +#: includes/classes/PPMFWC/Gateways.php:169 msgid "Pay." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:183 +#: includes/classes/PPMFWC/Gateways.php:181 msgid "Setup" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:184 +#: includes/classes/PPMFWC/Gateways.php:182 msgid "Payment Methods" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:185 woocommerce-payment-paynl.php:117 +#: includes/classes/PPMFWC/Gateways.php:183 woocommerce-payment-paynl.php:141 msgid "Settings" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:186 +#: includes/classes/PPMFWC/Gateways.php:184 msgid "Order State Automation" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:243 +#: includes/classes/PPMFWC/Gateways.php:241 msgid "API token and Service id are required." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:245 +#: includes/classes/PPMFWC/Gateways.php:243 msgid "Pay. Not connected." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:249 +#: includes/classes/PPMFWC/Gateways.php:247 msgid "API-token and Service id are required." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:251 +#: includes/classes/PPMFWC/Gateways.php:249 msgid "API-token is required." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:253 +#: includes/classes/PPMFWC/Gateways.php:251 msgid "Service id is required." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:258 +#: includes/classes/PPMFWC/Gateways.php:256 msgid "Service-ID, API-Token or Tokencode invalid" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:261 +#: includes/classes/PPMFWC/Gateways.php:259 msgid "Service-ID is invalid." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:264 +#: includes/classes/PPMFWC/Gateways.php:262 msgid "Service-ID / API-Token combination is invalid." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:271 -#: includes/classes/PPMFWC/Gateways.php:274 +#: includes/classes/PPMFWC/Gateways.php:269 +#: includes/classes/PPMFWC/Gateways.php:272 msgid "Not registered at Pay.? Sign up " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:273 +#: includes/classes/PPMFWC/Gateways.php:271 msgid "Pay. Connection failed." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:276 +#: includes/classes/PPMFWC/Gateways.php:274 msgid "Pay. Successfully connected." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:329 +#: includes/classes/PPMFWC/Gateways.php:327 msgid "" "The following payment methods can be enabled, please select a payment method " "to open the settings:" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:362 -#: includes/classes/PPMFWC/Gateways.php:369 +#: includes/classes/PPMFWC/Gateways.php:360 +#: includes/classes/PPMFWC/Gateways.php:367 msgid "Pay. Payment Methods" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:371 +#: includes/classes/PPMFWC/Gateways.php:369 msgid "Complete connecting your Pay. account on the " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:371 +#: includes/classes/PPMFWC/Gateways.php:370 msgid "setup page" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:381 +#: includes/classes/PPMFWC/Gateways.php:380 msgid "Pay. Order State Automation" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:400 +#: includes/classes/PPMFWC/Gateways.php:399 msgid "Pay. status " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:404 +#: includes/classes/PPMFWC/Gateways.php:403 msgid "" "Select which status an order should have when Pay.'s transaction status is " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:413 +#: includes/classes/PPMFWC/Gateways.php:412 msgid "Pay. Settings" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:419 +#: includes/classes/PPMFWC/Gateways.php:418 msgid "Standard Pay. Style" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:421 +#: includes/classes/PPMFWC/Gateways.php:420 msgid "" "Check this box if you want to use the standard Pay. style in the checkout" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:426 +#: includes/classes/PPMFWC/Gateways.php:425 msgid "Payment Screen Language" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:429 +#: includes/classes/PPMFWC/Gateways.php:428 msgid "This is the language in which the payment screen will be shown" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:434 +#: includes/classes/PPMFWC/Gateways.php:433 msgid "Refund Processing" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:436 +#: includes/classes/PPMFWC/Gateways.php:435 msgid "Process refunds initiated from PAY admin" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:441 +#: includes/classes/PPMFWC/Gateways.php:440 msgid "Auto-capture" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:443 +#: includes/classes/PPMFWC/Gateways.php:442 msgid "" "Enable auto-capture for authorize-transactions. Capture will be initiated " "when an order gets the status: `Completed`." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:448 -msgid "Send Order Data" +#: includes/classes/PPMFWC/Gateways.php:447 +msgid "Auto-void" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:450 +#: includes/classes/PPMFWC/Gateways.php:449 msgid "" -"Check this box if you want to send the order data to Pay., this is required " -"if you want use 'Pay after delivery' paymentmethods " +"Enable auto-void for authorize-transactions. Void will be initiated when an " +"order gets the status: `Cancelled`." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:455 +#: includes/classes/PPMFWC/Gateways.php:454 msgid "Show VAT Number" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:457 +#: includes/classes/PPMFWC/Gateways.php:456 msgid "Check this box if you want to show VAT number in checkout" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:462 +#: includes/classes/PPMFWC/Gateways.php:461 msgid "Show COC Number" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:464 +#: includes/classes/PPMFWC/Gateways.php:463 msgid "Check this box if you want to show COC number in checkout" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:469 +#: includes/classes/PPMFWC/Gateways.php:468 msgid "Use High Risk Methods" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:471 +#: includes/classes/PPMFWC/Gateways.php:470 msgid "Check this box if you are using high risk payment methods" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:476 +#: includes/classes/PPMFWC/Gateways.php:475 msgid "Extended Logging" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:478 +#: includes/classes/PPMFWC/Gateways.php:477 msgid "" "Log payment information. Logfiles can be found at: WooCommerce > Status > Logs" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:483 +#: includes/classes/PPMFWC/Gateways.php:482 msgid "SSL Verify Peer" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:485 +#: includes/classes/PPMFWC/Gateways.php:484 msgid "" "Uncheck this box if you have SSL certificate errors that you don't know how " "to fix" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:490 +#: includes/classes/PPMFWC/Gateways.php:489 msgid "Alternative Exchange URL" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:499 +#: includes/classes/PPMFWC/Gateways.php:498 msgid "Failover Gateway" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:502 +#: includes/classes/PPMFWC/Gateways.php:501 msgid "Leave empty. Unless Pay. provides you with a failover gateway" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:506 +#: includes/classes/PPMFWC/Gateways.php:505 msgid "Order Description Prefix" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:509 +#: includes/classes/PPMFWC/Gateways.php:508 msgid "" "Optionally add a custom order description prefix. Use a double underscore to " "add an extra space." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:513 +#: includes/classes/PPMFWC/Gateways.php:512 msgid "Follow Payment Method" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:516 +#: includes/classes/PPMFWC/Gateways.php:515 msgid "" "When `Yes`, the order will be updated with the actual used payment method in " "case this method differs from the initial method." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:543 +#: includes/classes/PPMFWC/Gateways.php:520 +msgid "Test IP address" +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:522 +msgid "" +"Forces testmode on these IP addresses, separate IP's by comma's for multiple " +"IP's." +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:522 +msgid "Current IP address:" +msgstr "" + +#: includes/classes/PPMFWC/Gateways.php:548 msgid "Pay. Setup" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:549 +#: includes/classes/PPMFWC/Gateways.php:554 msgid "Token Code *" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:554 +#: includes/classes/PPMFWC/Gateways.php:559 msgid "The AT-code belonging to your token, you can find this " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:557 -#: includes/classes/PPMFWC/Gateways.php:568 -#: includes/classes/PPMFWC/Gateways.php:580 +#: includes/classes/PPMFWC/Gateways.php:562 +#: includes/classes/PPMFWC/Gateways.php:573 +#: includes/classes/PPMFWC/Gateways.php:585 msgid "here" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:561 +#: includes/classes/PPMFWC/Gateways.php:566 msgid "API-token *" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:565 +#: includes/classes/PPMFWC/Gateways.php:570 msgid "" "The API-token used to communicate with the Pay. API, you can find your API-" "token " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:572 +#: includes/classes/PPMFWC/Gateways.php:577 msgid "Service ID *" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:577 +#: includes/classes/PPMFWC/Gateways.php:582 msgid "The serviceid to identify your website, you can find your serviceid " msgstr "" -#: includes/classes/PPMFWC/Gateways.php:582 +#: includes/classes/PPMFWC/Gateways.php:587 msgid "The serviceid should be in the following format: SL-xxxx-xxxx" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:585 +#: includes/classes/PPMFWC/Gateways.php:590 msgid "Test Mode" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:587 +#: includes/classes/PPMFWC/Gateways.php:592 msgid "Check this box if you want to enable test mode" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:696 +#: includes/classes/PPMFWC/Gateways.php:701 #, php-format msgid "" "Unfortunately the payment has been denied by %s. Please try again or use " "another payment method." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:705 +#: includes/classes/PPMFWC/Gateways.php:710 msgid "" "Unfortunately the payment has been denied by the payment method. Please try " "again or use another payment method." msgstr "" -#: includes/classes/PPMFWC/Gateways.php:865 +#: includes/classes/PPMFWC/Gateways.php:870 msgid "The payment has been canceled, please try again" msgstr "" -#: includes/classes/PPMFWC/Gateways.php:873 +#: includes/classes/PPMFWC/Gateways.php:878 msgid "The payment is pending or not completed" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:322 +#: includes/classes/PPMFWC/Helper/Data.php:344 msgid "Dutch" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:323 +#: includes/classes/PPMFWC/Helper/Data.php:345 msgid "English" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:324 +#: includes/classes/PPMFWC/Helper/Data.php:346 msgid "German" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:325 +#: includes/classes/PPMFWC/Helper/Data.php:347 msgid "Spanish" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:326 +#: includes/classes/PPMFWC/Helper/Data.php:348 msgid "Italian" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:327 +#: includes/classes/PPMFWC/Helper/Data.php:349 msgid "French" msgstr "" -#: includes/classes/PPMFWC/Helper/Data.php:328 +#: includes/classes/PPMFWC/Helper/Data.php:350 msgid "Use browser language" msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:106 +#: includes/classes/PPMFWC/Helper/Transaction.php:136 msgid "Local transaction not found: " msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:109 +#: includes/classes/PPMFWC/Helper/Transaction.php:139 msgid "OrderId not set in local transaction: " msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:173 +#: includes/classes/PPMFWC/Helper/Transaction.php:202 #, php-format msgid "" "Validation error: Paid amount does not match order amount. \n" @@ -670,76 +684,81 @@ msgid "" "orderAmount: %s\n" msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:198 +#: includes/classes/PPMFWC/Helper/Transaction.php:227 msgid "PAY.: Authorised order set to " msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:221 +#: includes/classes/PPMFWC/Helper/Transaction.php:250 #, php-format msgid "PAY.: Changed method to %s" msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:232 +#: includes/classes/PPMFWC/Helper/Transaction.php:261 #, php-format msgid "PAY.: Orderstatus set to custom-status: %s" msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:237 +#: includes/classes/PPMFWC/Helper/Transaction.php:266 #, php-format msgid "PAY.: Payment complete (%s). customerkey: %s" msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:247 +#: includes/classes/PPMFWC/Helper/Transaction.php:276 msgid "PAY.: Payment denied. " msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:279 +#: includes/classes/PPMFWC/Helper/Transaction.php:307 msgid "PAY.: Payment canceled" msgstr "" -#: includes/classes/PPMFWC/Helper/Transaction.php:283 +#: includes/classes/PPMFWC/Helper/Transaction.php:311 msgid "To be verified. " msgstr "" -#: includes/classes/PPMFWC/Setup.php:141 +#: includes/classes/PPMFWC/Setup.php:163 msgid "" "Cannot activate PAY. Payment Methods for WooCommerce because WooCommerce " "could not be found. Please install and activate WooCommerce first" msgstr "" -#: includes/classes/PPMFWC/Setup.php:142 +#: includes/classes/PPMFWC/Setup.php:164 msgid "Woocommerce not found" msgstr "" -#: woocommerce-payment-paynl.php:100 +#: woocommerce-payment-paynl.php:122 msgid "" "The PAY. Payment Methods for WooCommerce plugin requires WooCommerce to be " "active" msgstr "" -#: woocommerce-payment-paynl.php:108 +#: woocommerce-payment-paynl.php:131 msgid "" "Curl is not installed. In order to use the PAY. payment methods, you must " "install install CURL. Ask your system administrator to install php_curl." msgstr "" -#: woocommerce-payment-paynl.php:130 woocommerce-payment-paynl.php:199 +#: woocommerce-payment-paynl.php:156 woocommerce-payment-paynl.php:236 msgid "VAT Number" msgstr "" -#: woocommerce-payment-paynl.php:131 +#: woocommerce-payment-paynl.php:157 msgid "Enter your VAT number" msgstr "" -#: woocommerce-payment-paynl.php:177 woocommerce-payment-paynl.php:219 +#: woocommerce-payment-paynl.php:211 woocommerce-payment-paynl.php:259 msgid "COC Number" msgstr "" -#: woocommerce-payment-paynl.php:178 +#: woocommerce-payment-paynl.php:212 msgid "Enter your COC number" msgstr "" -#: woocommerce-payment-paynl.php:243 +#: woocommerce-payment-paynl.php:285 #, php-format msgid "PAY.: Performed auto-capture on transaction: %s" msgstr "" + +#: woocommerce-payment-paynl.php:297 +#, php-format +msgid "PAY.: Performed auto-void on transaction: %s" +msgstr "" From 63fe9284bcd12c1e31bac4ac4fd2aaa029512424 Mon Sep 17 00:00:00 2001 From: Anne Date: Wed, 20 Sep 2023 13:39:29 +0200 Subject: [PATCH 2/2] More merge conficts --- assets/css/pay.css | 64 +++++++++++++ assets/js/pay.js | 66 ++++++++++++++ includes/classes/PPMFWC/Gateways.php | 131 ++++++++++++++++++++++++++- 3 files changed, 257 insertions(+), 4 deletions(-) create mode 100644 assets/js/pay.js diff --git a/assets/css/pay.css b/assets/css/pay.css index 0cd0660b..99e0cd8f 100644 --- a/assets/css/pay.css +++ b/assets/css/pay.css @@ -34,4 +34,68 @@ .woocommerce table.form-table select.multiselect.countryLimit { height: 190px; +} + +#FR_Email { + resize: none; + height: 42px; + padding: 10px; +} + +#FR_Message { + resize: none; + padding: 10px; + height: 250px; +} + +.FR_Error { + color: red; + font-size: 12px; + display: none; +} + +#FR_Notices { + display: none; +} + + +.FR_Alertbox { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: #00000069; + z-index: 9999; + display: none; +} + +.FR_Alert { + position: fixed; + top: 25%; + left: 50%; + transform: translate(-50%, -50%); + + padding: 15px 25px 20px 25px; + background: white; + border: 1px solid gray; + border-radius: 5px; + max-width: 90%; +} + +.FR_Alert p { + font-size: 18px; +} + +.FR_Alert .FR_close_alert { + background: #2271b1; + border-color: #2271b1; + color: #fff; + float: right; + cursor: pointer; + text-decoration: none; + text-shadow: none; + padding: 5px 15px; + font-size: 14px; + border-radius: 5px; } \ No newline at end of file diff --git a/assets/js/pay.js b/assets/js/pay.js new file mode 100644 index 00000000..69730b64 --- /dev/null +++ b/assets/js/pay.js @@ -0,0 +1,66 @@ +jQuery(document).ready(function () { + if (jQuery('#pay_feature_request_form').length) { + jQuery('.woocommerce-save-button').hide() + jQuery('#FR_Submit').click(function (event) { + event.preventDefault() + submitFeatureRequestForm() + return false + }) + jQuery('.FR_Alertbox').each(function () { + var alertbox = this + jQuery(alertbox).click(function (e) { + if (e.target != alertbox) return + jQuery(alertbox).hide() + }) + jQuery(alertbox).find('.FR_close_alert').click(function () { + jQuery(alertbox).hide() + }) + }) + } + if (jQuery('#paynl_payment_methods-description').length) { + jQuery('.woocommerce-save-button').hide() + } +}) + +function submitFeatureRequestForm () { + jQuery('#email_error').hide() + jQuery('#message_error').hide() + var email = jQuery('#FR_Email').val() + var message = jQuery('#FR_Message').val() + + var regex = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i + if (jQuery.trim(message) == '' || (jQuery.trim(email) != '' && !regex.test(jQuery('#FR_Email').val()))) { + if (jQuery.trim(email) != '' && !regex.test(jQuery('#FR_Email').val())) { + jQuery('#email_error').css('display', 'inline') + } + if (jQuery.trim(message) == '') { + jQuery('#message_error').css('display', 'inline') + } + return false + } + + var ajaxurl = '/?wc-api=Wc_Pay_Gateway_Featurerequest' + var data = { + 'email': email, + 'message': message + } + + jQuery.ajax({ + url: ajaxurl, + type: 'POST', + data: data, + dataType: 'json', + success: function (data) { + if (data.success) { + jQuery('#FR_Email').val('') + jQuery('#FR_Message').val('') + jQuery('#FR_Alert_Success').show() + } else { + jQuery('#FR_Alert_Fail').show() + } + }, + error: function () { + jQuery('#FR_Alert_Fail').show() + } + }) +} diff --git a/includes/classes/PPMFWC/Gateways.php b/includes/classes/PPMFWC/Gateways.php index 8a2c4e05..a8a5fed0 100755 --- a/includes/classes/PPMFWC/Gateways.php +++ b/includes/classes/PPMFWC/Gateways.php @@ -181,7 +181,8 @@ public static function ppmfwc_addSettingsSections() '' => __('Setup', PPMFWC_WOOCOMMERCE_TEXTDOMAIN), 'payment_methods' => __('Payment Methods', PPMFWC_WOOCOMMERCE_TEXTDOMAIN), 'settings' => __('Settings', PPMFWC_WOOCOMMERCE_TEXTDOMAIN), - 'order_state_automation' => __('Order State Automation', 'woocommerce') + 'order_state_automation' => __('Order State Automation', 'woocommerce'), + 'suggestions' => __('Suggestions?', PPMFWC_WOOCOMMERCE_TEXTDOMAIN) ); echo '
    '; $array_keys = array_keys($sections); @@ -344,6 +345,34 @@ public static function ppmfwc_loadPaymentMethods() return $loadedPaymentMethods; } + /** + * @return string + */ + public static function ppmfwc_loadSuggestionForm() + { + $form = ''; + $form .= '

    ' . esc_html(__('If you have a feature request or other ideas, let us know!', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)); + $form .= '
    ' . esc_html(__('Your submission will be reviewed by our development team.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)); + $form .= '
    ' . esc_html(__('If needed, we will contact you for further information via the e-mail address provided.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)); + $form .= '
    ' . esc_html(__('Please note: this form is not for Support requests, please contact support@pay.nl for this.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)); + + $form .= ''; + $form .= ''; + $form .= ''; // phpcs:ignore + $form .= ''; + $form .= ''; + $form .= ''; + $form .= ''; // phpcs:ignore + $form .= ''; + $form .= ''; + $form .= '
    ' . esc_html(__('Please fill in a valid email.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)) . '
    ' . esc_html(__('Please fill in a message.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)) . '
    '; + $form .= ''; + $form .= '
    '; + $form .= '

    ' . esc_html(__('Sent! Thank you for your contribution.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)) . '

    ' . esc_html(__('Close', 'woocommerce')) . '
    '; // phpcs:ignore + $form .= '

    ' . esc_html(__('Couldn\'t send email.', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)) . '

    ' . esc_html(__('Close', 'woocommerce')) . '
    '; // phpcs:ignore + return $form; + } + /** * @return array */ @@ -353,7 +382,15 @@ public static function ppmfwc_addGlobalSettings() $addedSettings = array(); - if ($current_section == 'payment_methods') { + if ($current_section == 'suggestions') { + $suggestionForm = self::ppmfwc_loadSuggestionForm(); + $addedSettings[] = array( + 'title' => esc_html(__('Pay. Suggestion?', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)), + 'type' => 'title', + 'desc' => '

    ' . $suggestionForm . '

    ', + 'id' => 'paynl_payment_suggestions', + ); + } elseif ($current_section == 'payment_methods') { $loadedPaymentMethods = self::ppmfwc_loadPaymentMethods(); if ($loadedPaymentMethods) { $addedSettings[] = array( @@ -564,7 +601,7 @@ public static function ppmfwc_addGlobalSettings() ); $addedSettings[] = array( 'name' => esc_html(__('API-token *', PPMFWC_WOOCOMMERCE_TEXTDOMAIN)), - 'type' => 'text', + 'type' => 'password', 'desc' => esc_html( __( 'The API-token used to communicate with the Pay. API, you can find your API-token ', @@ -616,10 +653,19 @@ public static function ppmfwc_register() */ public static function ppmfwc_addPayStyleSheet() { - wp_register_style('paynl_wp_admin_css', PPMFWC_PLUGIN_URL . 'assets/css/pay.css', false, '1.0.0'); + wp_register_style('paynl_wp_admin_css', PPMFWC_PLUGIN_URL . 'assets/css/pay.css', false, PPMFWC_Helper_Data::getVersion()); wp_enqueue_style('paynl_wp_admin_css'); } + /** + * @phpcs:ignore Squiz.Commenting.FunctionComment.MissingReturn + */ + public static function ppmfwc_addPayJavascript() + { + wp_register_script('paynl_wp_admin_js', PPMFWC_PLUGIN_URL . 'assets/js/pay.js', array('jquery'), PPMFWC_Helper_Data::getVersion(), true); + wp_enqueue_script('paynl_wp_admin_js'); + } + /** * This function adds the Pay Settings Tab * @phpcs:ignore Squiz.Commenting.FunctionComment.MissingReturn @@ -627,6 +673,7 @@ public static function ppmfwc_addPayStyleSheet() public static function ppmfwc_settingsTab() { add_action('admin_enqueue_scripts', array(__CLASS__, 'ppmfwc_addPayStyleSheet')); + add_action('admin_enqueue_scripts', array(__CLASS__, 'ppmfwc_addPayJavascript')); add_filter('woocommerce_settings_tabs_array', array(__CLASS__, 'ppmfwc_addSettingsTab'), 50); add_action('woocommerce_sections_' . self::TAB_ID, array(__CLASS__, 'ppmfwc_addSettingsSections')); add_action('woocommerce_settings_' . self::TAB_ID, array(__CLASS__, 'ppmfwc_addGlobalSettingsTab'), 10); @@ -641,6 +688,7 @@ public static function ppmfwc_registerApi() { add_action('woocommerce_api_wc_pay_gateway_return', array(__CLASS__, 'ppmfwc_onReturn')); add_action('woocommerce_api_wc_pay_gateway_exchange', array(__CLASS__, 'ppmfwc_onExchange')); + add_action('woocommerce_api_wc_pay_gateway_featurerequest', array(__CLASS__, 'ppmfwc_onFeatureRequest')); } /** @@ -848,6 +896,81 @@ public static function ppmfwc_onExchange() die($message); } + /** + * Handles the PAY. feature requests + * @phpcs:ignore Squiz.Commenting.FunctionComment.MissingReturn + */ + public static function ppmfwc_onFeatureRequest() + { + try { + global $wp_version; + global $woocommerce; + $email = isset($_POST['email']) ? strtolower($_POST['email']) : null; + $message = isset($_POST['message']) ? nl2br($_POST['message']) : null; + if (empty($message)) { + throw new Exception('Empty message'); + } + $to = 'webshop@pay.nl'; + $subject = 'Feature Request Woocommerce'; + $body = ' + + + + + +
    + + + + +
    +

    Pay. Feature Request

    +

    + A client has sent a feature request via Woocommerce. + '; + if ($email) { + $body .= ' +
    +
    + Client Email: +
    + ' . $email . ' + '; + } + $body .= ' +
    +
    + Message: +
    + ' . $message . ' +
    +
    + Pay. plugin version: ' . PPMFWC_Helper_Data::getVersion() . '. +
    + Wordpress version: ' . $wp_version . '. +
    + Woocommerce version: ' . $woocommerce->version . '. +
    + PHP version: ' . substr(phpversion(), 0, 3) . '. +

    +
    +
    + + '; + $headers = array('Content-Type: text/html; charset=UTF-8'); + wp_mail($to, $subject, $body, $headers); + $result = true; + } catch (Exception $e) { + $result = false; + } + header('Content-Type: application/json;charset=UTF-8'); + $returnarray = array( + 'success' => $result, + 'message' => $message, + ); + die(json_encode($returnarray)); + } + /** * @phpcs:ignore Squiz.Commenting.FunctionComment.MissingReturn */