This module adds CHIP payment method option to your Bookly plugin.
- Download zip file of Bookly plugin.
- Log in to your Wordpress admin panel and go: Plugins -> Add New
- Select Upload Plugin, choose zip file you downloaded in step 1 and press Install Now
- Activate plugin
Set the Brand ID and Secret Key in the plugins settings.
Additional configuration are required at the moment until it is included together in Bookly plugin:
-
Edit file wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/entities/Payment.php:
-
Add class constant
const TYPE_CHIP = 'chip';
-
Add case to switch statement in
typeToString
methodcase self::TYPE_CHIP: return 'CHIP';
-
Add constant to
getTypes
methodself::TYPE_CHIP
-
-
Alter table
wp_bookly_payments
so that chip are added to enum:ALTER TABLE `wp_bookly_payments` CHANGE `type` `type` ENUM('chip','local','free','paypal','authorize_net','stripe','2checkout','payu_biz','payu_latam','payson','mollie','woocommerce','cloud_stripe','cloud_square') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL DEFAULT 'local';
-
Edit file bookly-responsive-appointment-booking-tool/lib/notifications/cart/Sender.php (this is temporary until it get fixed by Bookly):
-
Comment line below by adding // in infront of the line:
//Proxy\Pro::sendCombinedToClient( false, $order );
-
Facebook: Merchants & DEV Community