iDEAL Installatiehandleiding

WordPress & eShop 6.2.11

Welkom bij de installatiehandleiding van deze plug-in. Mocht je vragen hebben over de installatie, of suggesties hebben om zaken te verbeteren, kijk dan op www.ideal-checkout.nl.

Deze plug-in wordt je GRATIS aangeboden door iDEAL Checkout. Donaties worden zeer op prijs gesteld!

Disclaimer

Het gebruik van deze scripts/plug-ins is volledig op eigen risico! Maak altijd een back-up (bestanden/database/etc) voor je de scripts installeert.

Wij zijn experts op gebied van PHP en online betaalsystemen. Wij hebben echter geen of (zeer) beperkte kennis van WordPress en eShop. Voor vragen over het gebruik en/of installatie van WordPress en eShop kun je dan ook het beste contact op nemen met de makers van deze software.

Zie: http://www.wordpress.org/ en http://www.quirm.net/wiki/eshop/

Applicatie installeren en testen

Zorg dat je WordPress en eShop volledig heb geinstalleerd en geconfigureerd. Test de applicatie grondig zodat je zeker weet dat alles goed functioneert.

Enkele zaken waarmee je al rekening kunt houden bij het configureren van je applicatie:

Scripts/plug-ins downloaden

Ga naar http://www.ideal-checkout.nl, en download de iDEAL plug-in voor WordPress en eShop. Let goed op het versienummer waarvoor de betreffende plug-in geschikt is! Mocht jouw versienummer er niet bij staan, dan kun je een andere versie proberen, maar houd er rekening mee dat de plug-in mogelijk niet op die versie is getest.

FAQ voor Wordpress en eShop

We hebben een FAQ ingericht voor Wordpress en eShop, bekijk deze op http://www.ideal-checkout.nl/software-pakketten/ideal-voor-wordpress-wordpress-e-shop.

iDEAL scripts/plug-ins installeren en testen

1. UNZIP alle bestanden.

2. Ga naar de geünzipte bestanden, en zoek de map "public_html" op.

3. Upload ALLE mappen en bestanden UIT de map "public_html" IN de root-map van jouw (online) WordPress omgeving.

4. Geef de map [root]/idealcheckout/temp/ (en ALLE onderliggende bestanden) schrijfrechten.

5. Open het bestand: [root]/idealcheckout/configuration/database.php en vul hier je database gegevens in.

6. Open je internetbrowser, en start het installatie script op: http://www.?????.nl/idealcheckout/install.php

Note: Dit script controleert o.a. of alle bestanden correct zijn geüpload, en voert enkele queries uit op de database.

7. Verwijder het installatie bestand ([root]/idealcheckout/install.php) van je FTP-omgeving.

8. Open het bestand /wp-content/plugins/eshop/eshop-settings-extends.php

9. Zoek deze code:

add_meta_box('eshop-m-ogone', __('ogone','eshop'), array(&$this, 'ogone_box'), $this->pagehook, 'normal', 'core');
add_filter('eshop_error_messages',array(&$this, 'eclass_errors'));

en vervang deze met:

add_meta_box('eshop-m-ogone', __('ogone','eshop'), array(&$this, 'ogone_box'), $this->pagehook, 'normal', 'core');

/* IDEALCHECKOUT FIX : START */
add_meta_box('eshop-m-idealcheckoutafterpay', __('iDEAL Checkout - Afterpay', 'eshop'), array(&$this, 'idealcheckoutafterpay_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutauthorizedtransfer', __('iDEAL Checkout - Eenmalige Machtiging', 'eshop'), array(&$this, 'idealcheckoutauthorizedtransfer_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutcartebleue', __('iDEAL Checkout - Carte Bleue', 'eshop'), array(&$this, 'idealcheckoutcartebleue_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutclickandbuy', __('iDEAL Checkout - Click and Buy', 'eshop'), array(&$this, 'idealcheckoutclickandbuy_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutcreditcard', __('iDEAL Checkout - Creditcard', 'eshop'), array(&$this, 'idealcheckoutcreditcard_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutdirectebanking', __('iDEAL Checkout - Direct E-Banking', 'eshop'), array(&$this, 'idealcheckoutdirectebanking_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutebon', __('iDEAL Checkout - eBon', 'eshop'), array(&$this, 'idealcheckoutebon_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutfasterpay', __('iDEAL Checkout - FasterPay', 'eshop'), array(&$this, 'idealcheckoutfasterpay_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutgiropay', __('iDEAL Checkout - GiroPay', 'eshop'), array(&$this, 'idealcheckoutgiropay_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutideal', __('iDEAL Checkout - iDEAL', 'eshop'), array(&$this, 'idealcheckoutideal_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutmaestro', __('iDEAL Checkout - Maestro', 'eshop'), array(&$this, 'idealcheckoutmaestro_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutmanualtransfer', __('iDEAL Checkout - Handmatig overboeken', 'eshop'), array(&$this, 'idealcheckoutmanualtransfer_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutmastercard', __('iDEAL Checkout - Mastercard', 'eshop'), array(&$this, 'idealcheckoutmastercard_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutminitix', __('iDEAL Checkout - Minitix', 'eshop'), array(&$this, 'idealcheckoutminitix_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutmistercash', __('iDEAL Checkout - MisterCash', 'eshop'), array(&$this, 'idealcheckoutmistercash_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutpaypal', __('iDEAL Checkout - PayPal', 'eshop'), array(&$this, 'idealcheckoutpaypal_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutpaysafecard', __('iDEAL Checkout - PaySafeCard', 'eshop'), array(&$this, 'idealcheckoutpaysafecard_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutpostepay', __('iDEAL Checkout - PostePay', 'eshop'), array(&$this, 'idealcheckoutpostepay_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutvisa', __('iDEAL Checkout - Visa', 'eshop'), array(&$this, 'idealcheckoutvisa_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutvpay', __('iDEAL Checkout - VPAY', 'eshop'), array(&$this, 'idealcheckoutvpay_box'), $this->pagehook, 'normal', 'core');
add_meta_box('eshop-m-idealcheckoutwebshopgiftcard', __('iDEAL Checkout - Webshop Giftcard', 'eshop'), array(&$this, 'idealcheckoutwebshopgiftcard_box'), $this->pagehook, 'normal', 'core');
/* IDEALCHECKOUT FIX : END */

add_filter('eshop_error_messages',array(&$this, 'eclass_errors'));

 

10. Zoek in hetzelfde bestand deze code:

}

function show_img($eshoppayment){

en vervang deze met:

}

/* IDEALCHECKOUT FIX : START */
function idealcheckoutafterpay_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutafterpay"<?php if(in_array('idealcheckoutafterpay',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept afterpay payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/afterpay.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutauthorizedtransfer_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutauthorizedtransfer"<?php if(in_array('idealcheckoutauthorizedtransfer',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept authorized transfer payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/authorizedtransfer.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutcartebleue_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutcartebleue"<?php if(in_array('idealcheckoutcartebleue',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept carte bleue payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/cartebleue.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutclickandbuy_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutclickandbuy"<?php if(in_array('idealcheckoutclickandbuy',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept click and buy payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/clickandbuy.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutcreditcard_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutcreditcard"<?php if(in_array('idealcheckoutcreditcard',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept creditcard payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/creditcard.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutdirectebanking_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutdirectebanking"<?php if(in_array('idealcheckoutdirectebanking',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept direct e-banking payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/directebanking.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutebon_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutebon"<?php if(in_array('idealcheckoutebon',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept ebon payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/ebon.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutfasterpay_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutfasterpay"<?php if(in_array('idealcheckoutfasterpay',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept fasterpay payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/fasterpay.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutgiropay_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutgiropay"<?php if(in_array('idealcheckoutgiropay',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept giropay payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/giropay.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutideal_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutideal"<?php if(in_array('idealcheckoutideal',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept ideal payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/ideal.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutmaestro_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutmaestro"<?php if(in_array('idealcheckoutmaestro',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept maestro payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/maestro.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutmanualtransfer_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutmanualtransfer"<?php if(in_array('idealcheckoutmanualtransfer',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept manual transfer payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/manualtransfer.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutmastercard_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutmastercard"<?php if(in_array('idealcheckoutmastercard',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept mastercard payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/mastercard.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutminitix_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutminitix"<?php if(in_array('idealcheckoutminitix',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept minitix payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/minitix.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutmistercash_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutmistercash"<?php if(in_array('idealcheckoutmistercash',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept mister cash payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/mistercash.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutpaypal_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutpaypal"<?php if(in_array('idealcheckoutpaypal',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept paypal payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/paypal.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutpaysafecard_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutpaysafecard"<?php if(in_array('idealcheckoutpaysafecard',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept paysafecard payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/paysafecard.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutpostepay_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutpostepay"<?php if(in_array('idealcheckoutpostepay',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept postepay payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/postepay.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutvisa_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutvisa"<?php if(in_array('idealcheckoutvisa',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept visa payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/visa.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutvpay_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutvpay"<?php if(in_array('idealcheckoutvpay',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept vpay payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/vpay.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}

function idealcheckoutwebshopgiftcard_box($eshopoptions) {
    ?>
    <fieldset>
        <p class="cbox"><input id="eshop_methodc" name="eshop_method[]" type="checkbox" value="idealcheckoutwebshopgiftcard"<?php if(in_array('idealcheckoutwebshopgiftcard',(array)$eshopoptions['method'])) echo ' checked="checked"'; ?> /><label for="eshop_methodc" class="eshopmethod" class="eshopmethod"><?php _e('Accept webshopgiftcard payments', 'eshop'); ?></label></p>
        <iframe src="../idealcheckout/validate/webshopgiftcard.php" height="300" width="100%" scrolling="no" frameborder="0" style="margin: 20px 0px 20px 0px;"></iframe>
    </fieldset>
    <?php
}
/* IDEALCHECKOUT FIX : END */

function show_img($eshoppayment){

 

11. Zoek in hetzelfde bestand deze code:

global $screen_layout_columns, $wpdb;
$eshopoptions = get_option('eshop_plugin_settings');

en vervang deze met:

global $screen_layout_columns, $wpdb;
$eshopoptions = get_option('eshop_plugin_settings');

/* IDEALCHECKOUT FIX : START */
if(empty($_GET['mstatus']) || (strcasecmp($_GET['mstatus'], 'general') === 0))
{
    $screen_layout_columns = 2;
    echo '<style type="text/css">div.has-right-sidebar div.hide-if-js { display: block !important; }</style>';
}
/* IDEALCHECKOUT FIX : END */

 

12. Log in op je beheeromgeving van WordPress.

13. Ga naar Settings / eShop

14. Klik in het menu aan de bovenkant op Merchant Gateways

15. Scroll naar de "iDEAL Checkout - iDEAL"-box, en vink de optie "Accept iDEAL payments" aan.

16. Je script is nu klaar om testbetalingen te ontvangen m.b.v. de iDEAL Simulator!

iDEAL scripts/plug-ins configureren

Om echte iDEAL-betalingen te kunnen ontvangen via je eigen bank of Payment Service Provider moet je de configuratie van de iDEAL plug-in bijwerken.

Tip: Via je internet browser kun je het script http://www.?????.nl/idealcheckout/test.php starten en een (test) betaling starten om zo de configuratie van je eigen bank of Payment Service Provider te controleren. Met dit script kun je ook eenvoudig de testprocedure doorlopen die bij sommige iDEAL abonnementen verplicht is.