Skip to content

Commit

Permalink
Merge pull request #14 from max-geraci/master
Browse files Browse the repository at this point in the history
Change Pay.nl name to PAY. and added more translations
  • Loading branch information
max-geraci authored Mar 25, 2020
2 parents e72a4dd + 2307848 commit 21d9971
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 26 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pay.nl PrestaShop 1.7 plugin
# PAY. PrestaShop 1.7 plugin

---
- [Summary](#summary)
Expand All @@ -8,38 +8,38 @@
---
### Summary

With this plug-in by Pay.nl you can easily add all desired payment methods to your PrestaShop 1.7 webshop. Please refer to https://www.pay.nl (Dutch) for an overview of all features and services.
With this plug-in by PAY. you can easily add all desired payment methods to your PrestaShop 1.7 webshop. Please refer to https://www.pay.nl (Dutch) for an overview of all features and services.

##### Available payment methods:

Bank Payments | Creditcards | Gift cards & Vouchers | Pay by invoice | Others |
:-----------: | :-----------: | :-----------: | :-----------: | :-----------: |
iDEAL + QR |Visa | VVV Cadeaukaart | AfterPay | PayPal |
Bancontact + QR | Mastercard | Webshop Giftcard | Billink | WeChatPay |
Giropay |American Express | FashionCheque |Focum AchterafBetalen.nl | AmazonPay |
Bancontact + QR | Mastercard | Webshop Giftcard | Achteraf betalen via Billink | WeChatPay |
Giropay |American Express | FashionCheque | Focum AchterafBetalen.nl | AmazonPay |
MyBank | Carte Bancaire | Podium Cadeaukaart | Capayable Achteraf Betalen | Cashly |
SOFORT | PostePay | Gezondheidsbon | Capayable Gespreid betalen | Pay Fixed Price (phone) |
SOFORT | PostePay | Gezondheidsbon | in3 keer betalen, 0% rente | Pay Fixed Price (phone) |
Maestro | Dankort | Fashion Giftcard | Klarna | Instore Payments (POS) |
Bank Transfer | Cartasi | GivaCard | SprayPay | Przelewy24 |
| Tikkie | | YourGift | Creditclick | |
| | | Paysafecard |
| Tikkie | | YourGift | Creditclick | Apple Pay |
| Multibanco | | Paysafecard | | Payconiq


### Quickstart

##### Installing

Download the latest .tgz release and upload into *Modules* > *Module Manager* > *Upload a module*
Download the latest .zip release and upload into *Modules* > *Module Manager* > *Upload a module*

##### Setup

1. Log into the PrestaShop 1.7 admin
2. Go to *Modules* > *Module Manager*
3. Scroll down or search for Pay.nl
3. Scroll down or search for PAY.
4. Click Configure
5. Enter the API token and serviceID (these can be found in the Pay.nl Admin Panel --> https://admin.pay.nl/programs/programs
5. Enter the API token and serviceID (these can be found in the PAY. Admin Panel --> https://admin.pay.nl/programs/programs
6. Save the settings
7. Enable the desired payment methods
8. Save the settings

Go to the *Manage* > *Services* tab in the Pay.nl Admin Panel to enable extra payment methods
Go to the *Manage* > *Services* tab in the PAY. Admin Panel to enable extra payment methods
Binary file modified paynlpaymentmethods/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 12 additions & 9 deletions paynlpaymentmethods/nl.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

global $_MODULE;
$_MODULE = array();
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_fd93c592927b54c1ff15f8804f8c0b05'] = 'Pay.nl';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_464911b85907011709769c8123b32437'] = 'Voeg vele betaalmethoden toe aan uw webshop';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_14cb4d5344b0a3bf1e97aed5419679ba'] = 'PAY.';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_56250a5892b6e8c3deedac6525e1a6fa'] = 'PAY. betaalmethoden voor PrestaShop';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_a02758d758e8bec77a33d7f392eb3f8a'] = 'Er is voor deze module geen valuta ingesteld';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_020c2091aec3019d02193cef080bcf97'] = 'Betaalmethode toeslag';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_9f06b28a40790c4c4df5739bce3c1eb0'] = 'Verzendkosten';
Expand All @@ -14,26 +14,26 @@
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_ad225f707802ba118c22987186dd38e8'] = 'Frans';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_86bc3115eb4e9873ac96904a4a68e19e'] = 'Duits';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_086247a9b57fde6eefee2a0c4752242d'] = 'Automatisch';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_1fc245c1ed6edf855733678e8da9cf6b'] = 'KAn de Pay.nl SDK niet vinden, heb je de source geinstalleerd in plaats van het pakketbestand?';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_06224fd1af0863575df3ea430dd98848'] = 'Kan de Pay.nl SDK niet vinden, heb je de source geinstalleerd in plaats van het pakketbestand?';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_d262bca42a884db060f5a6667b21205d'] = 'APItoken is verplicht';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_eca1973b20e3b246847fd7f1648c2599'] = 'ServiceId is verplicht';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_c888438d14855d7d96a2724ee9c306bd'] = 'Instellingen opgeslagen';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_cf36c09602888e0a3ea8b0e160e40ad7'] = 'Pay.nl account gegevens';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_8cfa0f8895de4a51e4055e0a4476e274'] = 'PAY. Account Instellingen. Plugin versie %s';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_0a0d3d18ca5a07d08e62a1c962f91946'] = 'APItoken';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_04542edeb8b2c5b3922716ca8ddd0032'] = 'Je kunt je APItoken vinden onderaan op https://admin.pay.nl/my_merchant';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_b1b404a85c213977a7cabb82b730639c'] = 'ServiceId';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_7a78c463c901a677dc7c205fb2542f9d'] = 'De SL-code van je dienst op https://admin.pay.nl/programs/programs';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_adc1e83ea8057c3b182f292b223612da'] = 'Transactieomschrijving voorvoegsel';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_2ab45b27dbaf728ece860448598238ae'] = 'Een tekst die voor de transactieomschrijving wordt gezet';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_4245499695408b974322be6f01b0d17a'] = 'Test modus';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_61142607f22ea506073bcb1c1c74133e'] = 'Start de transacties in sandbox modus om te testen';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_b989ff7da93d9c8344a4c4e765cab502'] = 'Validatievertraging';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_0dad032fbd1b79c430527f7622add693'] = 'Wanneer de betaling is geslaagd, wacht op PAY. om de betaling te valideren voordat de klant wordt doorgestuurd naar de succes pagina';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Ingeschakeld';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_b9f5c797ebbf55adccdd8539a65a0241'] = 'Uitgeschakeld';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_4245499695408b974322be6f01b0d17a'] = 'Test modus';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_61142607f22ea506073bcb1c1c74133e'] = 'Start de transacties in sandbox modus om te testen';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_3d8bf69f189462bae437c9b50d32f4e1'] = 'Betaalscherm taal';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_1efea134dc382b9d18ef9ed8a21e178f'] = 'Selecteer de taal waarin het betaalscherm wordt weergegeven, gebruikt automatisch de browser taal';
$_MODULE['<{paynlpaymentmethods}prestashop>paynlpaymentmethods_c9cc8cce247e49bae79f15173ce97354'] = 'Opslaan';
$_MODULE['<{paynlpaymentmethods}prestashop>startpayment_e2b7dec8fa4b498156dfee6e4c84b156'] = 'Deze betaalmethode is niet beschikbaar';
$_MODULE['<{paynlpaymentmethods}prestashop>payment_form_ideal_eb45bd2725cb8ac50d0795432a918f86'] = 'Bank';
$_MODULE['<{paynlpaymentmethods}prestashop>payment_form_ideal_3ee7960dc804545cf3cc91a1fbc155ca'] = 'Kies uw bank a.u.b.';
$_MODULE['<{paynlpaymentmethods}prestashop>admin_paymentmethods_0da8d9a75492046bea7f314521e07cae'] = 'Betaalmethoden';
$_MODULE['<{paynlpaymentmethods}prestashop>admin_paymentmethods_49ee3087348e8d44e1feda1917443987'] = 'Naam';
$_MODULE['<{paynlpaymentmethods}prestashop>admin_paymentmethods_9444baf5ee361fb18f91039baab7df9c'] = 'De naam van de betaalmethode';
Expand All @@ -54,3 +54,6 @@
$_MODULE['<{paynlpaymentmethods}prestashop>admin_paymentmethods_6ddb1f21389093a6d6c014a18b680a22'] = 'Betaalkosten als percentage';
$_MODULE['<{paynlpaymentmethods}prestashop>admin_paymentmethods_15552aa94cf4b7239d3746c980512bf1'] = 'Het type toeslag voor deze betaalmethode';
$_MODULE['<{paynlpaymentmethods}prestashop>admin_paymentmethods_fff62f3f9fe367bba8d702ca5ef30c6c'] = 'Waarde van de toeslag';
$_MODULE['<{paynlpaymentmethods}prestashop>payment_form_ideal_eb45bd2725cb8ac50d0795432a918f86'] = 'Bank';
$_MODULE['<{paynlpaymentmethods}prestashop>payment_form_ideal_3ee7960dc804545cf3cc91a1fbc155ca'] = 'Kies uw bank a.u.b.';
$_MODULE['<{paynlpaymentmethods}prestashop>startpayment_e2b7dec8fa4b498156dfee6e4c84b156'] = 'Deze betaalmethode is niet beschikbaar';
Binary file removed paynlpaymentmethods/payment.jpg
Binary file not shown.
12 changes: 6 additions & 6 deletions paynlpaymentmethods/paynlpaymentmethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ public function __construct()
{
$this->name = 'paynlpaymentmethods';
$this->tab = 'payments_gateways';
$this->version = '4.2.7';
$this->version = '4.2.8';

$this->payLogEnabled = false;
$this->ps_versions_compliancy = array('min' => '1.7', 'max' => _PS_VERSION_);
$this->author = 'Pay.nl';
$this->author = 'PAY.';
$this->controllers = array('startPayment', 'finish', 'exchange');
$this->is_eu_compatible = 1;

Expand All @@ -70,8 +70,8 @@ public function __construct()
$this->statusCanceled = Configuration::get('PS_OS_CANCELED');
$this->statusRefund = Configuration::get('PS_OS_REFUND');

$this->displayName = $this->l('Pay.nl');
$this->description = $this->l('Add many payment methods to your webshop');
$this->displayName = $this->l('PAY.');
$this->description = $this->l('PAY. payment methods for PrestaShop');

if (!count(Currency::checkPaymentCurrencies($this->id))) {
$this->warning = $this->l('No currency has been set for this module.');
Expand Down Expand Up @@ -925,7 +925,7 @@ public function getContent()
}
$loggedin = false;
if (!class_exists('\Paynl\Paymentmethods')) {
$this->adminDisplayWarning($this->l('Cannot find Pay.nl SDK, did you install the source code instead of the package?'));
$this->adminDisplayWarning($this->l('Cannot find PAY. SDK, did you install the source code instead of the package?'));

return false;
}
Expand Down Expand Up @@ -990,7 +990,7 @@ public function renderAccountSettingsForm()
$fields_form = array(
'form' => array(
'legend' => array(
'title' => $this->l('Pay.nl Account Settings. Plugin version ' . $this->version),
'title' => sprintf($this->l('PAY. Account Settings. Plugin version %s'), $this->version),
'icon' => 'icon-envelope'
),
'input' => array(
Expand Down

0 comments on commit 21d9971

Please sign in to comment.