Twikey Woocommerce Plugin
Want to allow your customers to pay in the most convenient way, then Twikey is right what you need.
Recurring or occasional payments via SEPA electronic Direct Debit mandates, for WooCommerce
Twikey offers a simple and safe multichannel solution to negotiate and collect recurring (or even occasional) payments.
Twikey has integrations with most accounting and CRM packages. It is the first and only provider to operate on a European level
for Direct Debit and can work directly with all major Belgian and Dutch Banks. However you can use the payment options of your
favorite PSP to allow other customers to pay as well.
Core: All 3500 European banks
B2B: ABN-Amro, Bank J. Van Breda, Belfius, BNP Paribas Fortis, Crelan, ING (Belgium and the Netherlands), KBC, Rabobank
Affiliated banks:
Affiliated PSP’s:
Recurring transactions:
Backup payments:
Please go to the Twikey signup page to start with Twikey.
Contact info@twikey.com if you have questions or comments about this plugin.
We offer you the “payment building blocks” for constructing your own cheap payment gateway.
You can decide which gateway to use (based on the items in the cart) by adding the filter ‘twikey_gateway_selection’
The outcome should either be ‘twikey’ for Direct debit or ‘twikey-paylink’ in case you want to use a payment link.
eg.
// For hoodies we use direct debit as they are returning customers :)
public function selectGatewayBasedOnCart($cart){
// Loop through all products in the Cart
foreach ($cart as $cart_item_key => $cart_item) {
$productId = $cart_item['product_id'];
$term_list = wp_get_post_terms($productId, 'product_cat');
// SELF::log("$term_list = ".print_r($term_list,true),WC_Log_Levels::NOTICE);
$cat = $term_list[0] -> slug;
if ($cat === 'hoodies') {
// SELF::log("CARD = $cat -> ".print_r($isCard,true));
return 'twikey';
}
}
return 'twikey-paylink';
}
add_filter('twikey_gateway_selection', array( $this, 'selectGatewayBasedOnCart') );
You can decide which template to use (based on the items in the order) by adding the filter ‘twikey_template_selection’
The outcome should be a template id.
eg.
// For hoodies we use direct debit as they are returning customers :)
public function selectCtBasedOnOrder($order){
if($order->get_billing_country() === 'BE')
return 123;
return 321;
}
add_filter('twikey_template_selection', array( $this, 'selectCtBasedOnOrder') );