Plugin Directory

Changeset 3047329


Ignore:
Timestamp:
03/07/2024 04:40:53 PM (2 years ago)
Author:
sprinque
Message:

v.1.11.1

Location:
sprinque
Files:
12 edited
35 copied

Legend:

Unmodified
Added
Removed
  • sprinque/tags/1.11.1/languages/sprinque-nl_NL.po

    r3045126 r3047329  
    11msgid ""
    22msgstr ""
    3 "Language: nl-NL\n"
     3"Language: nl_NL\n"
    44"MIME-Version: 1.0\n"
    55"Content-Type: text/plain; charset=UTF-8\n"
    66"Content-Transfer-Encoding: 8bit\n"
    77"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    8 "X-Generator: Phrase (phrase.com)\n"
     8"X-Generator: Loco https://localise.biz/\n"
     9"Language-Team: Dutch\n"
     10"PO-Revision-Date: 2024-03-07 13:22+0000"
     11
     12#: sprinque.php:771
     13msgid "%s days"
     14msgstr "%s dagen"
     15
     16#: templates/frontend/srinque_pay_modal_form.php:102
     17msgid "(in :sec seconds)"
     18msgstr "(in :sec seconden)"
    919
    1020#: sprinque.php:761
     
    1222msgstr ". <a id=\"wat-is-sprinque\">Dat is hoe het werkt.</a>"
    1323
    14 #: templates/frontend/srinque_pay_modal_form.php:102
    15 msgid "(in :sec seconds)"
    16 msgstr "(in :sec seconden)"
    17 
    18 #: sprinque.php:771
    19 msgid "%s days"
    20 msgstr "%s dagen"
    21 
    22 #: sprinque.php:442 templates/ajax/founded_companies.php:22
     24#: sprinque.php:554 templates/ajax/founded_companies.php:30
    2325msgid "Add buyer manually"
    2426msgstr "Klant handmatig toevoegen"
    2527
    26 #: templates/frontend/srinque_pay_modal_form.php:38
     28#: templates/frontend/srinque_pay_modal_form.php:54
    2729msgid "Address"
    2830msgstr "Adres"
    2931
    30 #: templates/frontend/srinque_pay_modal_form.php:42
     32#: templates/frontend/srinque_pay_modal_form.php:58
    3133msgid "Apartment, suite, etc (optional)"
    3234msgstr "Appartement, toevoeging, etc. (optioneel)"
    3335
    34 #: templates/frontend/srinque_pay_modal_form.php:91
    35 msgid "AuthAmountMoreThanDefault"
    36 msgstr "Goedgekeurde bedrag is meer dan de standaardinstelling"
    37 
    38 #: templates/frontend/srinque_pay_modal_form.php:91
    39 msgid "AuthBuyerBlockedError"
    40 msgstr "Het bedrijf is geblokkeerd"
    41 
    42 #: templates/frontend/srinque_pay_modal_form.php:91
    43 msgid "AuthBuyerInactiveError"
    44 msgstr "Bedrijf is inactief"
    45 
    46 #: templates/frontend/srinque_pay_modal_form.php:91
    47 msgid "AuthBuyerNotFoundError"
    48 msgstr "Het bedrijf bestaat niet"
    49 
    50 # When the order amount is larger than the available credit limit
    51 msgid "AuthCreditExceededError"
    52 msgstr "Autorisatieverzoek overschrijdt de beschikbare kredietlimiet"
    53 
    54 #: templates/frontend/srinque_pay_modal_form.php:91
    55 msgid "AuthCreditNotFoundError"
    56 msgstr "Kredietlimiet voor deze koper is niet ingesteld"
    57 
    58 #: templates/frontend/srinque_pay_modal_form.php:91
    59 msgid "AuthCreditRejectedError"
    60 msgstr "Bedrijf afgewezen voor krediet"
    61 
    62 #: sprinque.php:392 sprinque.php:418
     36#: sprinque.php:499 sprinque.php:525
    6337msgid "Awaiting Review"
    6438msgstr "In Afwachting van Beoordeling"
     
    6741msgstr "Facturatie of administratie email"
    6842
    69 #: templates/frontend/srinque_pay_modal_form.php:36
     43#: templates/frontend/srinque_pay_modal_form.php:52
    7044msgid "Business address"
    7145msgstr "Bedrijfsadres"
    7246
    73 #: sprinque.php:439 include/payment_method.php:111
    74 #: include/payment_method.php:119
     47#: sprinque.php:550 include/payment_method.php:125
     48#: include/payment_method.php:133
    7549msgid "Buy now and pay later for businesses"
    7650msgstr "Achteraf betalen voor bedrijven"
    7751
    78 #: sprinque.php:441 templates/ajax/founded_companies.php:17
     52#: sprinque.php:553 templates/ajax/founded_companies.php:25
    7953msgid "Can't find the business you are looking for?"
    8054msgstr "Kan je jouw bedrijf niet vinden?"
    8155
    82 #: templates/frontend/srinque_pay_modal_form.php:93
    83 #: templates/frontend/srinque_pay_modal_form.php:108
    84 #: templates/frontend/srinque_pay_modal_form.php:116
     56#: templates/frontend/srinque_pay_modal_form.php:123
     57#: templates/frontend/srinque_pay_modal_form.php:138
     58#: templates/frontend/srinque_pay_modal_form.php:146
    8559msgid "Choose another payment method"
    8660msgstr "Kies een andere betaalmethode"
    8761
    88 #: templates/frontend/srinque_pay_modal_form.php:46
     62#: templates/frontend/srinque_pay_modal_form.php:62
    8963msgid "City"
    9064msgstr "Stad"
    9165
    92 #: sprinque.php:440 templates/ajax/founded_companies.php:3
     66#: sprinque.php:551 sprinque.php:552 templates/ajax/founded_companies.php:3
     67#: templates/ajax/founded_companies.php:8
    9368msgid "Click here"
    9469msgstr "Klik hier"
    9570
    96 #: templates/frontend/srinque_pay_modal_form.php:21
    97 #: templates/frontend/srinque_pay_modal_form.php:22
     71#: templates/frontend/srinque_pay_modal_form.php:26
     72#: templates/frontend/srinque_pay_modal_form.php:29
     73#: templates/frontend/srinque_pay_modal_form.php:39
    9874msgid "Company Name"
    9975msgstr "Bedrijfsnaam"
    10076
    101 #: sprinque.php:440 templates/ajax/founded_companies.php:3
     77#: sprinque.php:551 sprinque.php:552 templates/ajax/founded_companies.php:3
     78#: templates/ajax/founded_companies.php:8
    10279msgid "Company not found"
    10380msgstr "Bedrijf niet gevonden?"
    10481
    105 #: templates/frontend/srinque_pay_modal_form.php:29
     82#: templates/frontend/srinque_pay_modal_form.php:34
    10683msgid "Company VAT ID"
    10784msgstr "Bedrijf BTW-nummer"
    10885
    109 #: templates/frontend/srinque_pay_modal_form.php:31
    110 #: templates/frontend/srinque_pay_modal_form.php:56
    111 #: templates/frontend/srinque_pay_modal_form.php:75
     86#: templates/frontend/srinque_pay_modal_form.php:48
     87#: templates/frontend/srinque_pay_modal_form.php:79
     88#: templates/frontend/srinque_pay_modal_form.php:98
    11289msgid "Confirm"
    11390msgstr "Bevestigen"
    11491
    115 #: templates/frontend/srinque_pay_modal_form.php:131
    11692#: templates/frontend/cancel_order_sprinque.php:11
     93#: templates/frontend/srinque_pay_modal_form.php:161
    11794msgid "Confirm cancelation"
    11895msgstr "Annuleren bevestigen"
    11996
    120 #: templates/frontend/srinque_pay_modal_form.php:137
    12197msgid "Confirm order"
    12298msgstr "Bevestig bestelling"
     
    126102msgstr "Gefeliciteerd!"
    127103
    128 #: include/payment_method.php:883
    129 #: sprinque.php:668
     104#: include/payment_method.php:883 sprinque.php:668
    130105#: templates/frontend/srinque_pay_modal_form.php:173
    131106msgid "Consider business email for quicker verification"
    132107msgstr "Gebruik zakelijke e-mail voor snellere verificatie"
    133108
    134 #: templates/frontend/srinque_pay_modal_form.php:107
    135 #: templates/frontend/srinque_pay_modal_form.php:114
     109#: templates/frontend/srinque_pay_modal_form.php:137
     110#: templates/frontend/srinque_pay_modal_form.php:144
    136111msgid "Continue and wait"
    137112msgstr "Doorgaan en wachten"
    138113
    139 #: templates/frontend/srinque_pay_modal_form.php:11
     114#: templates/frontend/srinque_pay_modal_form.php:16
    140115msgid "Country"
    141116msgstr "Land"
     
    145120msgstr "dagen"
    146121
    147 #: templates/frontend/srinque_pay_modal_form.php:100
     122#: templates/frontend/srinque_pay_modal_form.php:130
    148123msgid "days by Sprinque!"
    149124msgstr "dagen door Sprinque!"
     
    153128msgstr "Mis je aankoop niet"
    154129
    155 #: include/payment_method.php:880
    156 #: sprinque.php:667
     130#: include/payment_method.php:880 sprinque.php:667
    157131msgid "Emails verification are blocked by t-online."
    158132msgstr "E-mailverificatie wordt geblokkeerd door t-online."
    159133
    160 #: include/payment_method.php:501
     134#: include/payment_method.php:608
    161135msgid "Enable Pay by Invoice"
    162136msgstr "Op factuur kopen aanzetten"
    163137
    164 #: include/payment_method.php:499
     138#: include/payment_method.php:606
    165139msgid "Enable/Disable"
    166140msgstr "In-/Uitschakelen"
     141
     142#: include/payment_method.php:622
     143msgid ""
     144"Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
     145"URLs"
     146msgstr ""
    167147
    168148#: sprinque.php:663
     
    170150msgstr "Gratis"
    171151
    172 #: templates/frontend/srinque_pay_modal_form.php:82
    173 #: templates/frontend/srinque_pay_modal_form.php:92
     152#: templates/frontend/srinque_pay_modal_form.php:105
     153#: templates/frontend/srinque_pay_modal_form.php:122
    174154msgid "Go Back"
    175155msgstr "Ga Terug"
     
    179159msgstr "https://sprinque.com/"
    180160
    181 #: templates/frontend/srinque_pay_modal_form.php:79
     161#: templates/frontend/srinque_pay_modal_form.php:102
    182162msgid "If you have not received the code, please check your spam folder or"
    183163msgstr "Als je geen code ontvangen hebt, controleer dan je spam folder of"
     
    187167msgstr "Termijnen"
    188168
    189 #: sprinque.php:444
     169#: sprinque.php:556
    190170msgid "Loading..."
    191171msgstr "Bezig met laden..."
    192172
    193 #: sprinque.php:662
     173#: sprinque.php:732
    194174msgid "Net %s days"
    195175msgstr "%s dagen netto"
     
    199179msgstr "Netto termijnen"
    200180
    201 #: sprinque.php:259
    202 #: sprinque.php:451
    203 msgid "Net terms fee"
    204 msgstr "Kosten betalingstermijn"
    205 
    206181#, fuzzy
    207182msgid "Next"
    208183msgstr "Volgende"
    209184
    210 #: templates/frontend/srinque_pay_modal_form.php:53
     185#: templates/frontend/srinque_pay_modal_form.php:73
    211186msgid "Not all fields filled on Billing or Modal"
    212187msgstr "Niet alle velden zijn ingevuld"
    213188
    214 #: sprinque.php:443
     189#: sprinque.php:555
    215190msgid "Not all required fields are filled"
    216191msgstr "Niet alle verplichte velden zijn ingevuld"
    217192
    218 #: include/payment_method.php:120
     193#: include/payment_method.php:134
    219194msgid "Order finished with Pay by Invoice"
    220195msgstr "Bestelling afgerond met Betalen op Factuur"
    221196
    222 #: sprinque.php:438 include/payment_method.php:110
    223 #: include/payment_method.php:118
     197#: sprinque.php:549 include/payment_method.php:124
    224198msgid "Pay by Invoice"
    225199msgstr "Achteraf Betalen met Sprinque"
    226200
    227 #: include/payment_method.php:549 include/payment_method.php:553
     201#: include/payment_method.php:657 include/payment_method.php:664
    228202msgid "Pay by Invoice - Business only"
    229203msgstr "Op Factuur Kopen - alleen voor bedrijven"
    230204
    231 #: sprinque.php:211
     205#: sprinque.php:290
    232206msgid "Pay by Invoice - Cancelled"
    233207msgstr "Betalen per factuur - Geannuleerd"
    234208
    235 #: include/payment_method.php:156
     209#: sprinque.php:883
    236210msgid "Pay by invoice with Sprinque"
    237211msgstr "Achteraf betalen met Sprinque"
     
    242216
    243217#: templates/frontend/srinque_pay_modal_form.php:144
    244 msgid "Pay in 3 equal instalments, after 30, 60, and 90 days. Exact due dates will be determined upon receipt of your order."
    245 msgstr "Betaal in 3 gelijke termijnen, na 30, 60 en 90 dagen. De exacte vervaldata worden bepaald na ontvangst van je bestelling."
     218msgid ""
     219"Pay in 3 equal instalments, after 30, 60, and 90 days. Exact due dates will "
     220"be determined upon receipt of your order."
     221msgstr ""
     222"Betaal in 3 gelijke termijnen, na 30, 60 en 90 dagen. De exacte vervaldata "
     223"worden bepaald na ontvangst van je bestelling."
    246224
    247225#: templates/frontend/srinque_pay_modal_form.php:138
    248226msgid "Pay the total order amount anytime within the due date."
    249 msgstr "Betaal het totale orderbedrag op elk gewenst moment binnen de vervaltermijn."
    250 
    251 #: templates/frontend/srinque_pay_modal_form.php:101
    252 #: templates/frontend/srinque_pay_modal_form.php:122
     227msgstr ""
     228"Betaal het totale orderbedrag op elk gewenst moment binnen de vervaltermijn."
     229
     230#: sprinque.php:557 templates/frontend/srinque_pay_modal_form.php:131
     231#: templates/frontend/srinque_pay_modal_form.php:152
    253232msgid "Place order"
    254233msgstr "Bestelling plaatsen"
    255234
    256 #: templates/frontend/srinque_pay_modal_form.php:126
     235#: templates/frontend/srinque_pay_modal_form.php:156
    257236msgid "Placing your order"
    258237msgstr "Bestelling wordt geplaatst"
     
    262241msgstr "Selecteer je bedrijf"
    263242
    264 #: templates/frontend/srinque_pay_modal_form.php:50
     243#: templates/frontend/srinque_pay_modal_form.php:66
    265244msgid "Postal code"
    266245msgstr "Postcode"
     
    268247#: templates/frontend/srinque_pay_modal_form.php:169
    269248#: templates/frontend/srinque_pay_modal_form.php:176
     249#: templates/frontend/srinque_pay_modal_form.php:238
    270250msgid "Powered by"
    271251msgstr "Mogelijk gemaakt door"
     
    275255msgstr "Vorige"
    276256
    277 #: templates/frontend/srinque_pay_modal_form.php:55
     257#: templates/frontend/srinque_pay_modal_form.php:78
    278258msgid "Previous step"
    279259msgstr "Vorige stap"
     
    283263msgstr "Doorgaan met huidige e-mail"
    284264
    285 #: templates/frontend/srinque_pay_modal_form.php:99
    286 #: templates/frontend/srinque_pay_modal_form.php:120
     265#: templates/frontend/srinque_pay_modal_form.php:129
     266#: templates/frontend/srinque_pay_modal_form.php:150
    287267msgid "Purchase approved"
    288268msgstr "Aankoop goedgekeurd"
    289269
    290 #: templates/frontend/srinque_pay_modal_form.php:105
    291 #: templates/frontend/srinque_pay_modal_form.php:112
     270#: templates/frontend/srinque_pay_modal_form.php:135
     271#: templates/frontend/srinque_pay_modal_form.php:142
    292272msgid "Purchase under review"
    293273msgstr "Aankoop onder beoordeling"
    294274
    295 #: templates/frontend/srinque_pay_modal_form.php:26
    296 #: templates/frontend/srinque_pay_modal_form.php:27
     275#: templates/frontend/srinque_pay_modal_form.php:44
     276#: templates/frontend/srinque_pay_modal_form.php:45
    297277msgid "Registration number"
    298278msgstr "KVK-nummer"
    299279
    300 #: include/payment_method.php:301
     280#: include/payment_method.php:306
    301281msgid "Registration number is already used"
    302282msgstr "KVK-nummer is reeds gebruikt"
     
    306286msgstr "Vereist: zakelijke e-mail voor verificatie van betalingsvoorwaarden"
    307287
    308 #: templates/frontend/srinque_pay_modal_form.php:79
     288#: templates/frontend/srinque_pay_modal_form.php:102
    309289msgid "Resend Code"
    310290msgstr "verstuur de code nogmaals"
    311291
    312 #: templates/frontend/srinque_pay_modal_form.php:12
     292#: templates/frontend/srinque_pay_modal_form.php:17
    313293msgid "Select a country"
    314294msgstr "Selecteer een land"
    315295
    316 #: sprinque.php:419
     296#: sprinque.php:526
    317297msgid "Shipping"
    318298msgstr "Wordt verzonden"
     
    320300#. Name of the plugin
    321301#. Author of the plugin
     302#: sprinque.php:891
    322303msgid "Sprinque"
    323304msgstr "Sprinque"
    324305
    325306#. Description of the plugin
    326 msgid "Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention."
    327 msgstr "Sprinque voor WordPress is een plugin die het mogelijk maakt zakelijke klanten achteraf op factuur te laten kopen (15, 30, 60, 90 dagen) en hiermee conversie en retentie te stimuleren."
    328 
    329 #: sprinque.php:259
    330 #: sprinque.php:451
    331 msgid "Surcharge payment term %d days"
    332 msgstr "Toeslag betalingstermijn %d dagen"
    333 
    334 #, fuzzy
     307msgid ""
     308"Sprinque for WordPress is a plugin that allows you to offer your business "
     309"buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion "
     310"and retention."
     311msgstr ""
     312"Sprinque voor WordPress is een plugin die het mogelijk maakt zakelijke "
     313"klanten achteraf op factuur te laten kopen (15, 30, 60, 90 dagen) en hiermee "
     314"conversie en retentie te stimuleren."
     315
     316#: include/payment_method.php:637
     317msgid ""
     318"Sprinque uses fullstory.com to debug buyer's behavior and improve the "
     319"product. The user's data is not recorded"
     320msgstr ""
     321
    335322msgid "That is how it works."
    336323msgstr "Hoe het werkt."
    337324
    338 #: templates/frontend/srinque_pay_modal_form.php:106
    339 #: templates/frontend/srinque_pay_modal_form.php:113
    340 msgid "This may take upto 24 hours for approval. Your Order is not confirmed until a decision is made. <br>We will notify you by email once the review is complete."
    341 msgstr "Je verzoek om op factuur te betalen wordt behandeld, dit kan 24 uur duren. Je bestelling is nog niet bevestigd tot beoordeling is afgerond. We sturen je een bericht zodra de beoordeling voltooid is."
    342 
    343 #: include/payment_method.php:481
    344 msgid "Title"
    345 msgstr "Titel"
     325#: templates/frontend/srinque_pay_modal_form.php:136
     326#: templates/frontend/srinque_pay_modal_form.php:143
     327msgid ""
     328"This may take upto 24 hours for approval. Your Order is not confirmed until "
     329"a decision is made. <br>We will notify you by email once the review is "
     330"complete."
     331msgstr ""
     332"Je verzoek om op factuur te betalen wordt behandeld, dit kan 24 uur duren. "
     333"Je bestelling is nog niet bevestigd tot beoordeling is afgerond. We sturen "
     334"je een bericht zodra de beoordeling voltooid is."
    346335
    347336#: templates/frontend/srinque_pay_modal_form.php:12
    348 msgid "To approve a payment term for you we need your company information to run a credit assessment"
    349 msgstr "Om een betalingstermijn voor je goed te keuren hebben wij jouw bedrijfsgegevens nodig om een kredietbeoordeling te doen."
    350 
    351 #: templates/frontend/srinque_pay_modal_form.php:64
     337msgid ""
     338"To approve a payment term for you we need your company information to run a "
     339"credit assessment"
     340msgstr ""
     341"Om een betalingstermijn voor je goed te keuren hebben wij jouw "
     342"bedrijfsgegevens nodig om een kredietbeoordeling te doen."
     343
     344#: templates/frontend/srinque_pay_modal_form.php:87
    352345msgid "To make sure it's really you we have sent a code to"
    353346msgstr "Om zeker te weten dat jij het bent, hebben we een code gestuurd naar"
    354347
    355 #: sprinque.php:440 templates/ajax/founded_companies.php:3
     348#: sprinque.php:551 sprinque.php:552 templates/ajax/founded_companies.php:3
     349#: templates/ajax/founded_companies.php:8
    356350msgid "to use it anyway"
    357351msgstr "om deze alsnog te gebruiken"
    358352
    359 #: templates/frontend/srinque_pay_modal_form.php:133
    360353msgid "Total amount"
    361354msgstr "Totaal bedrag"
    362355
     356#: include/payment_method.php:634
     357msgid "User tracking"
     358msgstr ""
     359
     360#: templates/frontend/srinque_pay_modal_form.php:36
    363361msgid "VAT ID"
    364362msgstr "BTW-NUMMER"
    365363
    366 #: templates/frontend/srinque_pay_modal_form.php:62
     364#: templates/frontend/srinque_pay_modal_form.php:85
    367365msgid "Verify your email"
    368366msgstr "Verifieer je email"
    369367
    370 #: templates/frontend/srinque_pay_modal_form.php:87
     368#: templates/frontend/srinque_pay_modal_form.php:110
    371369msgid "We are verifying your account"
    372370msgstr "We verifiëren je account"
    373371
    374372#: templates/frontend/srinque_pay_modal_form.php:174
    375 msgid "We've detected that you've entered a personal email address. As these accounts usually require manual verification taking approximately <b>1 business day</b>, we recommend switching to a business email for a quicker process."
    376 msgstr "We zien dat je een persoonlijk e-mailadres hebt opgegeven. Aangezien deze accounts meestal een handmatige verificatie vereisen, die ongeveer <b>1 werkdag</b> zal duren, raden we je aan om dit te veranderen naar een zakelijk e-mailadres voor een sneller proces."
     373msgid ""
     374"We've detected that you've entered a personal email address. As these "
     375"accounts usually require manual verification taking approximately <b>1 "
     376"business day</b>, we recommend switching to a business email for a quicker "
     377"process."
     378msgstr ""
     379"We zien dat je een persoonlijk e-mailadres hebt opgegeven. Aangezien deze "
     380"accounts meestal een handmatige verificatie vereisen, die ongeveer <b>1 "
     381"werkdag</b> zal duren, raden we je aan om dit te veranderen naar een "
     382"zakelijk e-mailadres voor een sneller proces."
    377383
    378384#: templates/frontend/srinque_pay_modal_form.php:168
    379 msgid "We've detected that you've provided a \"t-online.de\" email. Unfortunately, Sprinque's verification emails are blocked by t-online, preventing us from verifying your Business. We kindly suggest switching to a business email and reinitiating the process."
    380 msgstr "We zien dat je een \"t-online.de\"-e-mail hebt opgegeven. Helaas worden de verificatie-e-mails van Sprinque geblokkeerd door t-online, waardoor we je bedrijf niet kunnen verifiëren. We raden je aan over te stappen op een zakelijk e-mailadres en het proces opnieuw te starten."
    381 
    382 #: templates/frontend/srinque_pay_modal_form.php:77
     385msgid ""
     386"We've detected that you've provided a \"t-online.de\" email. Unfortunately, "
     387"Sprinque's verification emails are blocked by t-online, preventing us from "
     388"verifying your Business. We kindly suggest switching to a business email and "
     389"reinitiating the process."
     390msgstr ""
     391"We zien dat je een \"t-online.de\"-e-mail hebt opgegeven. Helaas worden de "
     392"verificatie-e-mails van Sprinque geblokkeerd door t-online, waardoor we je "
     393"bedrijf niet kunnen verifiëren. We raden je aan over te stappen op een "
     394"zakelijk e-mailadres en het proces opnieuw te starten."
     395
     396#: templates/frontend/srinque_pay_modal_form.php:100
    383397msgid "Wrong code number"
    384398msgstr "Verkeerde code"
    385399
    386 #: templates/frontend/srinque_pay_modal_form.php:121
    387 msgid "You have been approved for a credit limit of €xx and a payment term of 30 days by Sprinque!"
    388 msgstr "Je bent door Sprinque goedgekeurd voor een kredietlimiet van €xx en een betalingstermijn van 30 dagen!"
    389 
    390 #: templates/frontend/srinque_pay_modal_form.php:100
     400#: templates/frontend/srinque_pay_modal_form.php:151
     401msgid ""
     402"You have been approved for a credit limit of €xx and a payment term of 30 "
     403"days by Sprinque!"
     404msgstr ""
     405"Je bent door Sprinque goedgekeurd voor een kredietlimiet van €xx en een "
     406"betalingstermijn van 30 dagen!"
     407
     408#: templates/frontend/srinque_pay_modal_form.php:130
    391409msgid "You have been approved for a payment term of"
    392410msgstr "Je bent goedgekeurd voor een betalingstermijn van"
    393411
    394 #: include/payment_method.php:420 include/payment_method.php:450
     412#: include/payment_method.php:522 include/payment_method.php:554
    395413#, php-format
    396414msgid "You have been approved for a payment term of %s days by Sprinque!"
    397 msgstr "Je bent goedgekeurd voor een betalingstermijn van %s dagen door Sprinque!"
     415msgstr ""
     416"Je bent goedgekeurd voor een betalingstermijn van %s dagen door Sprinque!"
    398417
    399418#: templates/frontend/srinque_pay_modal_form.php:134
    400 msgid "You have been approved to pay with net terms or instalments. Choose the option that best suits your business"
    401 msgstr "Je bent goedgekeurd om te betalen op rekening of in delen. Kies de optie die het beste bij jouw bedrijf past"
     419msgid ""
     420"You have been approved to pay with net terms or instalments. Choose the "
     421"option that best suits your business"
     422msgstr ""
     423"Je bent goedgekeurd om te betalen op rekening of in delen. Kies de optie die "
     424"het beste bij jouw bedrijf past"
    402425
    403426#: templates/frontend/srinque_pay_modal_form.php:181
    404 msgid "You're almost there! Please don't close or refresh the page, you will be automatically redirected to your order confirmation page. It will only take a moment, thanks for your patience!"
    405 msgstr "Je bent er bijna! Sluit of ververs de pagina niet, je wordt automatisch doorgestuurd naar de bevestigingspagina van je bestelling. Het duurt maar even, bedankt voor je geduld!"
    406 
    407 #: templates/frontend/srinque_pay_modal_form.php:130
    408 msgid "You've been approved to pay with net terms. Select the payment term that best suits your company"
    409 msgstr "Je bent goedgekeurd om op rekening te betalen. Selecteer de betalingstermijn die het beste bij jouw bedrijf past."
     427msgid ""
     428"You're almost there! Please don't close or refresh the page, you will be "
     429"automatically redirected to your order confirmation page. It will only take "
     430"a moment, thanks for your patience!"
     431msgstr ""
     432"Je bent er bijna! Sluit of ververs de pagina niet, je wordt automatisch "
     433"doorgestuurd naar de bevestigingspagina van je bestelling. Het duurt maar "
     434"even, bedankt voor je geduld!"
     435
     436#: templates/frontend/srinque_pay_modal_form.php:131
     437msgid ""
     438"You've been approved to pay with net terms. Select the payment term that "
     439"best suits your company"
     440msgstr ""
     441"Je bent goedgekeurd om op rekening te betalen. Selecteer de betalingstermijn "
     442"die het beste bij jouw bedrijf past."
    410443
    411444#: templates/frontend/srinque_pay_modal_form.php:144
    412 msgid "Your account has been created and you’ve been approved for a payment term of"
    413 msgstr "Je account is aangemaakt en je bent goedgekeurd voor een betalingstermijn van"
     445msgid ""
     446"Your account has been created and you’ve been approved for a payment term of"
     447msgstr ""
     448"Je account is aangemaakt en je bent goedgekeurd voor een betalingstermijn van"
  • sprinque/tags/1.11.1/languages/sprinque.po

    r3005804 r3047329  
    368368msgid ". <a id=\"what-is-sprinque\">That is how it works.</a>"
    369369msgstr ". <a id=\"what-is-sprinque\">That is how it works.</a>"
     370
     371msgid "That is how it works."
     372msgstr "That is how it works."
     373
     374msgid "Prev"
     375msgstr "Prev"
     376
     377msgid "Next"
     378msgstr "Next"
  • sprinque/tags/1.11.1/languages/sprinque.pot

    r3005804 r3047329  
    412412msgid ". <a id=\"what-is-sprinque\">That is how it works.</a>"
    413413msgstr ""
     414
     415msgid "That is how it works."
     416msgstr ""
     417
     418msgid "Prev"
     419msgstr ""
     420
     421msgid "Next"
     422msgstr ""
  • sprinque/tags/1.11.1/readme.txt

    r3045126 r3047329  
    66Tested up to: 6.3.1
    77Requires PHP: 5.3
    8 Stable tag: 1.11.0
     8Stable tag: 1.11.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4848
    4949Go to WooCommerce > Settings > Payments and select "Pay by Invoice" payment method. Insert your API Key and save changes!
     50
     51== Changelog ==
     52= 1.11.1 - March 7, 2024 =
     53* fix: made upload file just for Sprinque payment method;
     54* fix: adjusted translations;
    5055
    5156== Changelog ==
  • sprinque/tags/1.11.1/sprinque.php

    r3045126 r3047329  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.11.0
     7Version: 1.11.1
    88Text Domain: sprinque
    99Domain Path: /languages
    1010*/
    1111
    12 define( 'PLUGIN_SRINQUE_VERSION', '1.11.0' );
     12define( 'PLUGIN_SRINQUE_VERSION', '1.11.1' );
    1313define( 'PLUGIN_SRINQUE_DIR', __DIR__ );
    1414define( 'PLUGIN_SRINQUE_PATH', plugins_url( '', __FILE__ ) );
     
    280280        }
    281281
    282         // Create PDF Link for Invoice
    283         $pdf_invoice_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    284 
    285282        // If transaction isset
    286283        if( in_array($order->get_status(), ['shipping', 'completed', 'refunded'])
    287284            && $transaction_id && $refunded > 0
    288285            && $order->get_meta( 'is_order_captured', true ) == 'true' ) {
     286
     287            // Create PDF Link for Invoice
     288            $pdf_invoice_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    289289
    290290            $data = [
     
    333333        $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
    334334
    335         // Create PDF Link for Invoice
    336         $pdf_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    337 
    338335        // Which type of decline Order is use
    339336        if( in_array($order->get_status(), ['shipping', 'completed'])
    340337            && $transaction_id && $order->get_meta( 'is_order_captured', true ) == 'true' ) {
     338
     339            // Create PDF Link for Invoice
     340            $pdf_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    341341
    342342            $data = [
     
    441441    public function send_capture_authorized_order( $order_id ) {
    442442        $order = wc_get_order( $order_id );
    443         $order_id_from_sequential_plugin = $order->get_order_number();
    444 
    445         $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
    446 
    447         // Create PDF Link for Invoice
    448         $invoice_file_id = $this->upload_pdf_invoice( $order );
    449 
    450         $customer_ip = $order->get_meta( '_customer_ip_address', true ) ?? '';
     443
     444        $transaction_id = $order->get_meta( 'transaction_id', true ) ?? false;
    451445
    452446        // Loop through the order refunds array
     
    459453            }
    460454        }
     455
     456        if ( !$transaction_id || $order->get_meta( 'is_order_captured', true ) == 'true' || $total_refund == $order->get_total()) {
     457            return ;
     458        }
     459
     460        $order_id_from_sequential_plugin = $order->get_order_number();
     461
     462        $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
     463
     464        // Create PDF Link for Invoice
     465        $invoice_file_id = $this->upload_pdf_invoice( $order );
     466
     467        $customer_ip = $order->get_meta( '_customer_ip_address', true ) ?? '';
    461468
    462469        // Prepare Data to Send
     
    484491        ];
    485492
    486         $transaction_id = $order->get_meta( 'transaction_id', true ) ?? false;
    487 
    488493        // Get Data from API
    489         if ( $transaction_id && $order->get_meta( 'is_order_captured', true ) != 'true' && $total_refund != $order->get_total()) {
    490             $response = $this->srinque_api( $data, 'POST', "/transactions/capture/{$transaction_id}" );
    491             $this->first_response = true;
    492 
    493             if(isset($response['errors'])) {
    494                 echo '<pre>';
    495                 print_r($response);
    496                 echo '</pre>';
    497                 die;
    498             } else {
    499                 // Mark order as Captured
    500                 if( isset( $order ) && ! empty( $order ) ){
    501                     $order->update_meta_data( 'is_order_captured', 'true' );
    502                     $order->save();
    503                 }
     494        $response = $this->srinque_api( $data, 'POST', "/transactions/capture/{$transaction_id}" );
     495        $this->first_response = true;
     496
     497        if(isset($response['errors'])) {
     498            echo '<pre>';
     499            print_r($response);
     500            echo '</pre>';
     501            die;
     502        } else {
     503            // Mark order as Captured
     504            if( isset( $order ) && ! empty( $order ) ){
     505                $order->update_meta_data( 'is_order_captured', 'true' );
     506                $order->save();
    504507            }
    505508        }
  • sprinque/trunk/languages/sprinque-nl_NL.po

    r3045126 r3047329  
    11msgid ""
    22msgstr ""
    3 "Language: nl-NL\n"
     3"Language: nl_NL\n"
    44"MIME-Version: 1.0\n"
    55"Content-Type: text/plain; charset=UTF-8\n"
    66"Content-Transfer-Encoding: 8bit\n"
    77"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    8 "X-Generator: Phrase (phrase.com)\n"
     8"X-Generator: Loco https://localise.biz/\n"
     9"Language-Team: Dutch\n"
     10"PO-Revision-Date: 2024-03-07 13:22+0000"
     11
     12#: sprinque.php:771
     13msgid "%s days"
     14msgstr "%s dagen"
     15
     16#: templates/frontend/srinque_pay_modal_form.php:102
     17msgid "(in :sec seconds)"
     18msgstr "(in :sec seconden)"
    919
    1020#: sprinque.php:761
     
    1222msgstr ". <a id=\"wat-is-sprinque\">Dat is hoe het werkt.</a>"
    1323
    14 #: templates/frontend/srinque_pay_modal_form.php:102
    15 msgid "(in :sec seconds)"
    16 msgstr "(in :sec seconden)"
    17 
    18 #: sprinque.php:771
    19 msgid "%s days"
    20 msgstr "%s dagen"
    21 
    22 #: sprinque.php:442 templates/ajax/founded_companies.php:22
     24#: sprinque.php:554 templates/ajax/founded_companies.php:30
    2325msgid "Add buyer manually"
    2426msgstr "Klant handmatig toevoegen"
    2527
    26 #: templates/frontend/srinque_pay_modal_form.php:38
     28#: templates/frontend/srinque_pay_modal_form.php:54
    2729msgid "Address"
    2830msgstr "Adres"
    2931
    30 #: templates/frontend/srinque_pay_modal_form.php:42
     32#: templates/frontend/srinque_pay_modal_form.php:58
    3133msgid "Apartment, suite, etc (optional)"
    3234msgstr "Appartement, toevoeging, etc. (optioneel)"
    3335
    34 #: templates/frontend/srinque_pay_modal_form.php:91
    35 msgid "AuthAmountMoreThanDefault"
    36 msgstr "Goedgekeurde bedrag is meer dan de standaardinstelling"
    37 
    38 #: templates/frontend/srinque_pay_modal_form.php:91
    39 msgid "AuthBuyerBlockedError"
    40 msgstr "Het bedrijf is geblokkeerd"
    41 
    42 #: templates/frontend/srinque_pay_modal_form.php:91
    43 msgid "AuthBuyerInactiveError"
    44 msgstr "Bedrijf is inactief"
    45 
    46 #: templates/frontend/srinque_pay_modal_form.php:91
    47 msgid "AuthBuyerNotFoundError"
    48 msgstr "Het bedrijf bestaat niet"
    49 
    50 # When the order amount is larger than the available credit limit
    51 msgid "AuthCreditExceededError"
    52 msgstr "Autorisatieverzoek overschrijdt de beschikbare kredietlimiet"
    53 
    54 #: templates/frontend/srinque_pay_modal_form.php:91
    55 msgid "AuthCreditNotFoundError"
    56 msgstr "Kredietlimiet voor deze koper is niet ingesteld"
    57 
    58 #: templates/frontend/srinque_pay_modal_form.php:91
    59 msgid "AuthCreditRejectedError"
    60 msgstr "Bedrijf afgewezen voor krediet"
    61 
    62 #: sprinque.php:392 sprinque.php:418
     36#: sprinque.php:499 sprinque.php:525
    6337msgid "Awaiting Review"
    6438msgstr "In Afwachting van Beoordeling"
     
    6741msgstr "Facturatie of administratie email"
    6842
    69 #: templates/frontend/srinque_pay_modal_form.php:36
     43#: templates/frontend/srinque_pay_modal_form.php:52
    7044msgid "Business address"
    7145msgstr "Bedrijfsadres"
    7246
    73 #: sprinque.php:439 include/payment_method.php:111
    74 #: include/payment_method.php:119
     47#: sprinque.php:550 include/payment_method.php:125
     48#: include/payment_method.php:133
    7549msgid "Buy now and pay later for businesses"
    7650msgstr "Achteraf betalen voor bedrijven"
    7751
    78 #: sprinque.php:441 templates/ajax/founded_companies.php:17
     52#: sprinque.php:553 templates/ajax/founded_companies.php:25
    7953msgid "Can't find the business you are looking for?"
    8054msgstr "Kan je jouw bedrijf niet vinden?"
    8155
    82 #: templates/frontend/srinque_pay_modal_form.php:93
    83 #: templates/frontend/srinque_pay_modal_form.php:108
    84 #: templates/frontend/srinque_pay_modal_form.php:116
     56#: templates/frontend/srinque_pay_modal_form.php:123
     57#: templates/frontend/srinque_pay_modal_form.php:138
     58#: templates/frontend/srinque_pay_modal_form.php:146
    8559msgid "Choose another payment method"
    8660msgstr "Kies een andere betaalmethode"
    8761
    88 #: templates/frontend/srinque_pay_modal_form.php:46
     62#: templates/frontend/srinque_pay_modal_form.php:62
    8963msgid "City"
    9064msgstr "Stad"
    9165
    92 #: sprinque.php:440 templates/ajax/founded_companies.php:3
     66#: sprinque.php:551 sprinque.php:552 templates/ajax/founded_companies.php:3
     67#: templates/ajax/founded_companies.php:8
    9368msgid "Click here"
    9469msgstr "Klik hier"
    9570
    96 #: templates/frontend/srinque_pay_modal_form.php:21
    97 #: templates/frontend/srinque_pay_modal_form.php:22
     71#: templates/frontend/srinque_pay_modal_form.php:26
     72#: templates/frontend/srinque_pay_modal_form.php:29
     73#: templates/frontend/srinque_pay_modal_form.php:39
    9874msgid "Company Name"
    9975msgstr "Bedrijfsnaam"
    10076
    101 #: sprinque.php:440 templates/ajax/founded_companies.php:3
     77#: sprinque.php:551 sprinque.php:552 templates/ajax/founded_companies.php:3
     78#: templates/ajax/founded_companies.php:8
    10279msgid "Company not found"
    10380msgstr "Bedrijf niet gevonden?"
    10481
    105 #: templates/frontend/srinque_pay_modal_form.php:29
     82#: templates/frontend/srinque_pay_modal_form.php:34
    10683msgid "Company VAT ID"
    10784msgstr "Bedrijf BTW-nummer"
    10885
    109 #: templates/frontend/srinque_pay_modal_form.php:31
    110 #: templates/frontend/srinque_pay_modal_form.php:56
    111 #: templates/frontend/srinque_pay_modal_form.php:75
     86#: templates/frontend/srinque_pay_modal_form.php:48
     87#: templates/frontend/srinque_pay_modal_form.php:79
     88#: templates/frontend/srinque_pay_modal_form.php:98
    11289msgid "Confirm"
    11390msgstr "Bevestigen"
    11491
    115 #: templates/frontend/srinque_pay_modal_form.php:131
    11692#: templates/frontend/cancel_order_sprinque.php:11
     93#: templates/frontend/srinque_pay_modal_form.php:161
    11794msgid "Confirm cancelation"
    11895msgstr "Annuleren bevestigen"
    11996
    120 #: templates/frontend/srinque_pay_modal_form.php:137
    12197msgid "Confirm order"
    12298msgstr "Bevestig bestelling"
     
    126102msgstr "Gefeliciteerd!"
    127103
    128 #: include/payment_method.php:883
    129 #: sprinque.php:668
     104#: include/payment_method.php:883 sprinque.php:668
    130105#: templates/frontend/srinque_pay_modal_form.php:173
    131106msgid "Consider business email for quicker verification"
    132107msgstr "Gebruik zakelijke e-mail voor snellere verificatie"
    133108
    134 #: templates/frontend/srinque_pay_modal_form.php:107
    135 #: templates/frontend/srinque_pay_modal_form.php:114
     109#: templates/frontend/srinque_pay_modal_form.php:137
     110#: templates/frontend/srinque_pay_modal_form.php:144
    136111msgid "Continue and wait"
    137112msgstr "Doorgaan en wachten"
    138113
    139 #: templates/frontend/srinque_pay_modal_form.php:11
     114#: templates/frontend/srinque_pay_modal_form.php:16
    140115msgid "Country"
    141116msgstr "Land"
     
    145120msgstr "dagen"
    146121
    147 #: templates/frontend/srinque_pay_modal_form.php:100
     122#: templates/frontend/srinque_pay_modal_form.php:130
    148123msgid "days by Sprinque!"
    149124msgstr "dagen door Sprinque!"
     
    153128msgstr "Mis je aankoop niet"
    154129
    155 #: include/payment_method.php:880
    156 #: sprinque.php:667
     130#: include/payment_method.php:880 sprinque.php:667
    157131msgid "Emails verification are blocked by t-online."
    158132msgstr "E-mailverificatie wordt geblokkeerd door t-online."
    159133
    160 #: include/payment_method.php:501
     134#: include/payment_method.php:608
    161135msgid "Enable Pay by Invoice"
    162136msgstr "Op factuur kopen aanzetten"
    163137
    164 #: include/payment_method.php:499
     138#: include/payment_method.php:606
    165139msgid "Enable/Disable"
    166140msgstr "In-/Uitschakelen"
     141
     142#: include/payment_method.php:622
     143msgid ""
     144"Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
     145"URLs"
     146msgstr ""
    167147
    168148#: sprinque.php:663
     
    170150msgstr "Gratis"
    171151
    172 #: templates/frontend/srinque_pay_modal_form.php:82
    173 #: templates/frontend/srinque_pay_modal_form.php:92
     152#: templates/frontend/srinque_pay_modal_form.php:105
     153#: templates/frontend/srinque_pay_modal_form.php:122
    174154msgid "Go Back"
    175155msgstr "Ga Terug"
     
    179159msgstr "https://sprinque.com/"
    180160
    181 #: templates/frontend/srinque_pay_modal_form.php:79
     161#: templates/frontend/srinque_pay_modal_form.php:102
    182162msgid "If you have not received the code, please check your spam folder or"
    183163msgstr "Als je geen code ontvangen hebt, controleer dan je spam folder of"
     
    187167msgstr "Termijnen"
    188168
    189 #: sprinque.php:444
     169#: sprinque.php:556
    190170msgid "Loading..."
    191171msgstr "Bezig met laden..."
    192172
    193 #: sprinque.php:662
     173#: sprinque.php:732
    194174msgid "Net %s days"
    195175msgstr "%s dagen netto"
     
    199179msgstr "Netto termijnen"
    200180
    201 #: sprinque.php:259
    202 #: sprinque.php:451
    203 msgid "Net terms fee"
    204 msgstr "Kosten betalingstermijn"
    205 
    206181#, fuzzy
    207182msgid "Next"
    208183msgstr "Volgende"
    209184
    210 #: templates/frontend/srinque_pay_modal_form.php:53
     185#: templates/frontend/srinque_pay_modal_form.php:73
    211186msgid "Not all fields filled on Billing or Modal"
    212187msgstr "Niet alle velden zijn ingevuld"
    213188
    214 #: sprinque.php:443
     189#: sprinque.php:555
    215190msgid "Not all required fields are filled"
    216191msgstr "Niet alle verplichte velden zijn ingevuld"
    217192
    218 #: include/payment_method.php:120
     193#: include/payment_method.php:134
    219194msgid "Order finished with Pay by Invoice"
    220195msgstr "Bestelling afgerond met Betalen op Factuur"
    221196
    222 #: sprinque.php:438 include/payment_method.php:110
    223 #: include/payment_method.php:118
     197#: sprinque.php:549 include/payment_method.php:124
    224198msgid "Pay by Invoice"
    225199msgstr "Achteraf Betalen met Sprinque"
    226200
    227 #: include/payment_method.php:549 include/payment_method.php:553
     201#: include/payment_method.php:657 include/payment_method.php:664
    228202msgid "Pay by Invoice - Business only"
    229203msgstr "Op Factuur Kopen - alleen voor bedrijven"
    230204
    231 #: sprinque.php:211
     205#: sprinque.php:290
    232206msgid "Pay by Invoice - Cancelled"
    233207msgstr "Betalen per factuur - Geannuleerd"
    234208
    235 #: include/payment_method.php:156
     209#: sprinque.php:883
    236210msgid "Pay by invoice with Sprinque"
    237211msgstr "Achteraf betalen met Sprinque"
     
    242216
    243217#: templates/frontend/srinque_pay_modal_form.php:144
    244 msgid "Pay in 3 equal instalments, after 30, 60, and 90 days. Exact due dates will be determined upon receipt of your order."
    245 msgstr "Betaal in 3 gelijke termijnen, na 30, 60 en 90 dagen. De exacte vervaldata worden bepaald na ontvangst van je bestelling."
     218msgid ""
     219"Pay in 3 equal instalments, after 30, 60, and 90 days. Exact due dates will "
     220"be determined upon receipt of your order."
     221msgstr ""
     222"Betaal in 3 gelijke termijnen, na 30, 60 en 90 dagen. De exacte vervaldata "
     223"worden bepaald na ontvangst van je bestelling."
    246224
    247225#: templates/frontend/srinque_pay_modal_form.php:138
    248226msgid "Pay the total order amount anytime within the due date."
    249 msgstr "Betaal het totale orderbedrag op elk gewenst moment binnen de vervaltermijn."
    250 
    251 #: templates/frontend/srinque_pay_modal_form.php:101
    252 #: templates/frontend/srinque_pay_modal_form.php:122
     227msgstr ""
     228"Betaal het totale orderbedrag op elk gewenst moment binnen de vervaltermijn."
     229
     230#: sprinque.php:557 templates/frontend/srinque_pay_modal_form.php:131
     231#: templates/frontend/srinque_pay_modal_form.php:152
    253232msgid "Place order"
    254233msgstr "Bestelling plaatsen"
    255234
    256 #: templates/frontend/srinque_pay_modal_form.php:126
     235#: templates/frontend/srinque_pay_modal_form.php:156
    257236msgid "Placing your order"
    258237msgstr "Bestelling wordt geplaatst"
     
    262241msgstr "Selecteer je bedrijf"
    263242
    264 #: templates/frontend/srinque_pay_modal_form.php:50
     243#: templates/frontend/srinque_pay_modal_form.php:66
    265244msgid "Postal code"
    266245msgstr "Postcode"
     
    268247#: templates/frontend/srinque_pay_modal_form.php:169
    269248#: templates/frontend/srinque_pay_modal_form.php:176
     249#: templates/frontend/srinque_pay_modal_form.php:238
    270250msgid "Powered by"
    271251msgstr "Mogelijk gemaakt door"
     
    275255msgstr "Vorige"
    276256
    277 #: templates/frontend/srinque_pay_modal_form.php:55
     257#: templates/frontend/srinque_pay_modal_form.php:78
    278258msgid "Previous step"
    279259msgstr "Vorige stap"
     
    283263msgstr "Doorgaan met huidige e-mail"
    284264
    285 #: templates/frontend/srinque_pay_modal_form.php:99
    286 #: templates/frontend/srinque_pay_modal_form.php:120
     265#: templates/frontend/srinque_pay_modal_form.php:129
     266#: templates/frontend/srinque_pay_modal_form.php:150
    287267msgid "Purchase approved"
    288268msgstr "Aankoop goedgekeurd"
    289269
    290 #: templates/frontend/srinque_pay_modal_form.php:105
    291 #: templates/frontend/srinque_pay_modal_form.php:112
     270#: templates/frontend/srinque_pay_modal_form.php:135
     271#: templates/frontend/srinque_pay_modal_form.php:142
    292272msgid "Purchase under review"
    293273msgstr "Aankoop onder beoordeling"
    294274
    295 #: templates/frontend/srinque_pay_modal_form.php:26
    296 #: templates/frontend/srinque_pay_modal_form.php:27
     275#: templates/frontend/srinque_pay_modal_form.php:44
     276#: templates/frontend/srinque_pay_modal_form.php:45
    297277msgid "Registration number"
    298278msgstr "KVK-nummer"
    299279
    300 #: include/payment_method.php:301
     280#: include/payment_method.php:306
    301281msgid "Registration number is already used"
    302282msgstr "KVK-nummer is reeds gebruikt"
     
    306286msgstr "Vereist: zakelijke e-mail voor verificatie van betalingsvoorwaarden"
    307287
    308 #: templates/frontend/srinque_pay_modal_form.php:79
     288#: templates/frontend/srinque_pay_modal_form.php:102
    309289msgid "Resend Code"
    310290msgstr "verstuur de code nogmaals"
    311291
    312 #: templates/frontend/srinque_pay_modal_form.php:12
     292#: templates/frontend/srinque_pay_modal_form.php:17
    313293msgid "Select a country"
    314294msgstr "Selecteer een land"
    315295
    316 #: sprinque.php:419
     296#: sprinque.php:526
    317297msgid "Shipping"
    318298msgstr "Wordt verzonden"
     
    320300#. Name of the plugin
    321301#. Author of the plugin
     302#: sprinque.php:891
    322303msgid "Sprinque"
    323304msgstr "Sprinque"
    324305
    325306#. Description of the plugin
    326 msgid "Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention."
    327 msgstr "Sprinque voor WordPress is een plugin die het mogelijk maakt zakelijke klanten achteraf op factuur te laten kopen (15, 30, 60, 90 dagen) en hiermee conversie en retentie te stimuleren."
    328 
    329 #: sprinque.php:259
    330 #: sprinque.php:451
    331 msgid "Surcharge payment term %d days"
    332 msgstr "Toeslag betalingstermijn %d dagen"
    333 
    334 #, fuzzy
     307msgid ""
     308"Sprinque for WordPress is a plugin that allows you to offer your business "
     309"buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion "
     310"and retention."
     311msgstr ""
     312"Sprinque voor WordPress is een plugin die het mogelijk maakt zakelijke "
     313"klanten achteraf op factuur te laten kopen (15, 30, 60, 90 dagen) en hiermee "
     314"conversie en retentie te stimuleren."
     315
     316#: include/payment_method.php:637
     317msgid ""
     318"Sprinque uses fullstory.com to debug buyer's behavior and improve the "
     319"product. The user's data is not recorded"
     320msgstr ""
     321
    335322msgid "That is how it works."
    336323msgstr "Hoe het werkt."
    337324
    338 #: templates/frontend/srinque_pay_modal_form.php:106
    339 #: templates/frontend/srinque_pay_modal_form.php:113
    340 msgid "This may take upto 24 hours for approval. Your Order is not confirmed until a decision is made. <br>We will notify you by email once the review is complete."
    341 msgstr "Je verzoek om op factuur te betalen wordt behandeld, dit kan 24 uur duren. Je bestelling is nog niet bevestigd tot beoordeling is afgerond. We sturen je een bericht zodra de beoordeling voltooid is."
    342 
    343 #: include/payment_method.php:481
    344 msgid "Title"
    345 msgstr "Titel"
     325#: templates/frontend/srinque_pay_modal_form.php:136
     326#: templates/frontend/srinque_pay_modal_form.php:143
     327msgid ""
     328"This may take upto 24 hours for approval. Your Order is not confirmed until "
     329"a decision is made. <br>We will notify you by email once the review is "
     330"complete."
     331msgstr ""
     332"Je verzoek om op factuur te betalen wordt behandeld, dit kan 24 uur duren. "
     333"Je bestelling is nog niet bevestigd tot beoordeling is afgerond. We sturen "
     334"je een bericht zodra de beoordeling voltooid is."
    346335
    347336#: templates/frontend/srinque_pay_modal_form.php:12
    348 msgid "To approve a payment term for you we need your company information to run a credit assessment"
    349 msgstr "Om een betalingstermijn voor je goed te keuren hebben wij jouw bedrijfsgegevens nodig om een kredietbeoordeling te doen."
    350 
    351 #: templates/frontend/srinque_pay_modal_form.php:64
     337msgid ""
     338"To approve a payment term for you we need your company information to run a "
     339"credit assessment"
     340msgstr ""
     341"Om een betalingstermijn voor je goed te keuren hebben wij jouw "
     342"bedrijfsgegevens nodig om een kredietbeoordeling te doen."
     343
     344#: templates/frontend/srinque_pay_modal_form.php:87
    352345msgid "To make sure it's really you we have sent a code to"
    353346msgstr "Om zeker te weten dat jij het bent, hebben we een code gestuurd naar"
    354347
    355 #: sprinque.php:440 templates/ajax/founded_companies.php:3
     348#: sprinque.php:551 sprinque.php:552 templates/ajax/founded_companies.php:3
     349#: templates/ajax/founded_companies.php:8
    356350msgid "to use it anyway"
    357351msgstr "om deze alsnog te gebruiken"
    358352
    359 #: templates/frontend/srinque_pay_modal_form.php:133
    360353msgid "Total amount"
    361354msgstr "Totaal bedrag"
    362355
     356#: include/payment_method.php:634
     357msgid "User tracking"
     358msgstr ""
     359
     360#: templates/frontend/srinque_pay_modal_form.php:36
    363361msgid "VAT ID"
    364362msgstr "BTW-NUMMER"
    365363
    366 #: templates/frontend/srinque_pay_modal_form.php:62
     364#: templates/frontend/srinque_pay_modal_form.php:85
    367365msgid "Verify your email"
    368366msgstr "Verifieer je email"
    369367
    370 #: templates/frontend/srinque_pay_modal_form.php:87
     368#: templates/frontend/srinque_pay_modal_form.php:110
    371369msgid "We are verifying your account"
    372370msgstr "We verifiëren je account"
    373371
    374372#: templates/frontend/srinque_pay_modal_form.php:174
    375 msgid "We've detected that you've entered a personal email address. As these accounts usually require manual verification taking approximately <b>1 business day</b>, we recommend switching to a business email for a quicker process."
    376 msgstr "We zien dat je een persoonlijk e-mailadres hebt opgegeven. Aangezien deze accounts meestal een handmatige verificatie vereisen, die ongeveer <b>1 werkdag</b> zal duren, raden we je aan om dit te veranderen naar een zakelijk e-mailadres voor een sneller proces."
     373msgid ""
     374"We've detected that you've entered a personal email address. As these "
     375"accounts usually require manual verification taking approximately <b>1 "
     376"business day</b>, we recommend switching to a business email for a quicker "
     377"process."
     378msgstr ""
     379"We zien dat je een persoonlijk e-mailadres hebt opgegeven. Aangezien deze "
     380"accounts meestal een handmatige verificatie vereisen, die ongeveer <b>1 "
     381"werkdag</b> zal duren, raden we je aan om dit te veranderen naar een "
     382"zakelijk e-mailadres voor een sneller proces."
    377383
    378384#: templates/frontend/srinque_pay_modal_form.php:168
    379 msgid "We've detected that you've provided a \"t-online.de\" email. Unfortunately, Sprinque's verification emails are blocked by t-online, preventing us from verifying your Business. We kindly suggest switching to a business email and reinitiating the process."
    380 msgstr "We zien dat je een \"t-online.de\"-e-mail hebt opgegeven. Helaas worden de verificatie-e-mails van Sprinque geblokkeerd door t-online, waardoor we je bedrijf niet kunnen verifiëren. We raden je aan over te stappen op een zakelijk e-mailadres en het proces opnieuw te starten."
    381 
    382 #: templates/frontend/srinque_pay_modal_form.php:77
     385msgid ""
     386"We've detected that you've provided a \"t-online.de\" email. Unfortunately, "
     387"Sprinque's verification emails are blocked by t-online, preventing us from "
     388"verifying your Business. We kindly suggest switching to a business email and "
     389"reinitiating the process."
     390msgstr ""
     391"We zien dat je een \"t-online.de\"-e-mail hebt opgegeven. Helaas worden de "
     392"verificatie-e-mails van Sprinque geblokkeerd door t-online, waardoor we je "
     393"bedrijf niet kunnen verifiëren. We raden je aan over te stappen op een "
     394"zakelijk e-mailadres en het proces opnieuw te starten."
     395
     396#: templates/frontend/srinque_pay_modal_form.php:100
    383397msgid "Wrong code number"
    384398msgstr "Verkeerde code"
    385399
    386 #: templates/frontend/srinque_pay_modal_form.php:121
    387 msgid "You have been approved for a credit limit of €xx and a payment term of 30 days by Sprinque!"
    388 msgstr "Je bent door Sprinque goedgekeurd voor een kredietlimiet van €xx en een betalingstermijn van 30 dagen!"
    389 
    390 #: templates/frontend/srinque_pay_modal_form.php:100
     400#: templates/frontend/srinque_pay_modal_form.php:151
     401msgid ""
     402"You have been approved for a credit limit of €xx and a payment term of 30 "
     403"days by Sprinque!"
     404msgstr ""
     405"Je bent door Sprinque goedgekeurd voor een kredietlimiet van €xx en een "
     406"betalingstermijn van 30 dagen!"
     407
     408#: templates/frontend/srinque_pay_modal_form.php:130
    391409msgid "You have been approved for a payment term of"
    392410msgstr "Je bent goedgekeurd voor een betalingstermijn van"
    393411
    394 #: include/payment_method.php:420 include/payment_method.php:450
     412#: include/payment_method.php:522 include/payment_method.php:554
    395413#, php-format
    396414msgid "You have been approved for a payment term of %s days by Sprinque!"
    397 msgstr "Je bent goedgekeurd voor een betalingstermijn van %s dagen door Sprinque!"
     415msgstr ""
     416"Je bent goedgekeurd voor een betalingstermijn van %s dagen door Sprinque!"
    398417
    399418#: templates/frontend/srinque_pay_modal_form.php:134
    400 msgid "You have been approved to pay with net terms or instalments. Choose the option that best suits your business"
    401 msgstr "Je bent goedgekeurd om te betalen op rekening of in delen. Kies de optie die het beste bij jouw bedrijf past"
     419msgid ""
     420"You have been approved to pay with net terms or instalments. Choose the "
     421"option that best suits your business"
     422msgstr ""
     423"Je bent goedgekeurd om te betalen op rekening of in delen. Kies de optie die "
     424"het beste bij jouw bedrijf past"
    402425
    403426#: templates/frontend/srinque_pay_modal_form.php:181
    404 msgid "You're almost there! Please don't close or refresh the page, you will be automatically redirected to your order confirmation page. It will only take a moment, thanks for your patience!"
    405 msgstr "Je bent er bijna! Sluit of ververs de pagina niet, je wordt automatisch doorgestuurd naar de bevestigingspagina van je bestelling. Het duurt maar even, bedankt voor je geduld!"
    406 
    407 #: templates/frontend/srinque_pay_modal_form.php:130
    408 msgid "You've been approved to pay with net terms. Select the payment term that best suits your company"
    409 msgstr "Je bent goedgekeurd om op rekening te betalen. Selecteer de betalingstermijn die het beste bij jouw bedrijf past."
     427msgid ""
     428"You're almost there! Please don't close or refresh the page, you will be "
     429"automatically redirected to your order confirmation page. It will only take "
     430"a moment, thanks for your patience!"
     431msgstr ""
     432"Je bent er bijna! Sluit of ververs de pagina niet, je wordt automatisch "
     433"doorgestuurd naar de bevestigingspagina van je bestelling. Het duurt maar "
     434"even, bedankt voor je geduld!"
     435
     436#: templates/frontend/srinque_pay_modal_form.php:131
     437msgid ""
     438"You've been approved to pay with net terms. Select the payment term that "
     439"best suits your company"
     440msgstr ""
     441"Je bent goedgekeurd om op rekening te betalen. Selecteer de betalingstermijn "
     442"die het beste bij jouw bedrijf past."
    410443
    411444#: templates/frontend/srinque_pay_modal_form.php:144
    412 msgid "Your account has been created and you’ve been approved for a payment term of"
    413 msgstr "Je account is aangemaakt en je bent goedgekeurd voor een betalingstermijn van"
     445msgid ""
     446"Your account has been created and you’ve been approved for a payment term of"
     447msgstr ""
     448"Je account is aangemaakt en je bent goedgekeurd voor een betalingstermijn van"
  • sprinque/trunk/languages/sprinque.po

    r3005804 r3047329  
    368368msgid ". <a id=\"what-is-sprinque\">That is how it works.</a>"
    369369msgstr ". <a id=\"what-is-sprinque\">That is how it works.</a>"
     370
     371msgid "That is how it works."
     372msgstr "That is how it works."
     373
     374msgid "Prev"
     375msgstr "Prev"
     376
     377msgid "Next"
     378msgstr "Next"
  • sprinque/trunk/languages/sprinque.pot

    r3005804 r3047329  
    412412msgid ". <a id=\"what-is-sprinque\">That is how it works.</a>"
    413413msgstr ""
     414
     415msgid "That is how it works."
     416msgstr ""
     417
     418msgid "Prev"
     419msgstr ""
     420
     421msgid "Next"
     422msgstr ""
  • sprinque/trunk/readme.txt

    r3045126 r3047329  
    66Tested up to: 6.3.1
    77Requires PHP: 5.3
    8 Stable tag: 1.11.0
     8Stable tag: 1.11.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4848
    4949Go to WooCommerce > Settings > Payments and select "Pay by Invoice" payment method. Insert your API Key and save changes!
     50
     51== Changelog ==
     52= 1.11.1 - March 7, 2024 =
     53* fix: made upload file just for Sprinque payment method;
     54* fix: adjusted translations;
    5055
    5156== Changelog ==
  • sprinque/trunk/sprinque.php

    r3045126 r3047329  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.11.0
     7Version: 1.11.1
    88Text Domain: sprinque
    99Domain Path: /languages
    1010*/
    1111
    12 define( 'PLUGIN_SRINQUE_VERSION', '1.11.0' );
     12define( 'PLUGIN_SRINQUE_VERSION', '1.11.1' );
    1313define( 'PLUGIN_SRINQUE_DIR', __DIR__ );
    1414define( 'PLUGIN_SRINQUE_PATH', plugins_url( '', __FILE__ ) );
     
    280280        }
    281281
    282         // Create PDF Link for Invoice
    283         $pdf_invoice_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    284 
    285282        // If transaction isset
    286283        if( in_array($order->get_status(), ['shipping', 'completed', 'refunded'])
    287284            && $transaction_id && $refunded > 0
    288285            && $order->get_meta( 'is_order_captured', true ) == 'true' ) {
     286
     287            // Create PDF Link for Invoice
     288            $pdf_invoice_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    289289
    290290            $data = [
     
    333333        $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
    334334
    335         // Create PDF Link for Invoice
    336         $pdf_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    337 
    338335        // Which type of decline Order is use
    339336        if( in_array($order->get_status(), ['shipping', 'completed'])
    340337            && $transaction_id && $order->get_meta( 'is_order_captured', true ) == 'true' ) {
     338
     339            // Create PDF Link for Invoice
     340            $pdf_file_id = $this->upload_pdf_invoice( $order, 'refund' );
    341341
    342342            $data = [
     
    441441    public function send_capture_authorized_order( $order_id ) {
    442442        $order = wc_get_order( $order_id );
    443         $order_id_from_sequential_plugin = $order->get_order_number();
    444 
    445         $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
    446 
    447         // Create PDF Link for Invoice
    448         $invoice_file_id = $this->upload_pdf_invoice( $order );
    449 
    450         $customer_ip = $order->get_meta( '_customer_ip_address', true ) ?? '';
     443
     444        $transaction_id = $order->get_meta( 'transaction_id', true ) ?? false;
    451445
    452446        // Loop through the order refunds array
     
    459453            }
    460454        }
     455
     456        if ( !$transaction_id || $order->get_meta( 'is_order_captured', true ) == 'true' || $total_refund == $order->get_total()) {
     457            return ;
     458        }
     459
     460        $order_id_from_sequential_plugin = $order->get_order_number();
     461
     462        $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
     463
     464        // Create PDF Link for Invoice
     465        $invoice_file_id = $this->upload_pdf_invoice( $order );
     466
     467        $customer_ip = $order->get_meta( '_customer_ip_address', true ) ?? '';
    461468
    462469        // Prepare Data to Send
     
    484491        ];
    485492
    486         $transaction_id = $order->get_meta( 'transaction_id', true ) ?? false;
    487 
    488493        // Get Data from API
    489         if ( $transaction_id && $order->get_meta( 'is_order_captured', true ) != 'true' && $total_refund != $order->get_total()) {
    490             $response = $this->srinque_api( $data, 'POST', "/transactions/capture/{$transaction_id}" );
    491             $this->first_response = true;
    492 
    493             if(isset($response['errors'])) {
    494                 echo '<pre>';
    495                 print_r($response);
    496                 echo '</pre>';
    497                 die;
    498             } else {
    499                 // Mark order as Captured
    500                 if( isset( $order ) && ! empty( $order ) ){
    501                     $order->update_meta_data( 'is_order_captured', 'true' );
    502                     $order->save();
    503                 }
     494        $response = $this->srinque_api( $data, 'POST', "/transactions/capture/{$transaction_id}" );
     495        $this->first_response = true;
     496
     497        if(isset($response['errors'])) {
     498            echo '<pre>';
     499            print_r($response);
     500            echo '</pre>';
     501            die;
     502        } else {
     503            // Mark order as Captured
     504            if( isset( $order ) && ! empty( $order ) ){
     505                $order->update_meta_data( 'is_order_captured', 'true' );
     506                $order->save();
    504507            }
    505508        }
Note: See TracChangeset for help on using the changeset viewer.