WordPress Online Booking and Scheduling Plugin – Bookly - Version 21.0.1

Version Description

Download this release

Release Info

Developer Ladela
Plugin Icon 128x128 WordPress Online Booking and Scheduling Plugin – Bookly
Version 21.0.1
Comparing to
See all releases

Code changes from version 21.0 to 21.0.1

Files changed (3) hide show
  1. frontend/modules/stripe/Ajax.php +1 -1
  2. main.php +1 -1
  3. readme.txt +1 -1
frontend/modules/stripe/Ajax.php CHANGED
@@ -60,7 +60,7 @@ class Ajax extends Lib\Base\Ajax
60
  if ( $payment->getStatus() === Lib\Entities\Payment::STATUS_PENDING ) {
61
  if ( strtoupper( $data['currency'] ) == Lib\Config::getCurrency() ) {
62
  $amount = $payment->getPaid();
63
- if ( Lib\Config::isZeroDecimalsCurrency() ) {
64
  // Zero-decimal currency
65
  $amount = (int) ( $amount * 100 );
66
  }
60
  if ( $payment->getStatus() === Lib\Entities\Payment::STATUS_PENDING ) {
61
  if ( strtoupper( $data['currency'] ) == Lib\Config::getCurrency() ) {
62
  $amount = $payment->getPaid();
63
+ if ( ! Lib\Config::isZeroDecimalsCurrency() ) {
64
  // Zero-decimal currency
65
  $amount = (int) ( $amount * 100 );
66
  }
main.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Bookly
4
  Plugin URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
5
  Description: Bookly Plugin – is a great easy-to-use and easy-to-manage booking tool for service providers who think about their customers. The plugin supports a wide range of services provided by business and individuals who offer reservations through websites. Set up any reservation quickly, pleasantly and easily with Bookly!
6
- Version: 21.0
7
  Author: Bookly
8
  Author URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
9
  Text Domain: bookly
3
  Plugin Name: Bookly
4
  Plugin URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
5
  Description: Bookly Plugin – is a great easy-to-use and easy-to-manage booking tool for service providers who think about their customers. The plugin supports a wide range of services provided by business and individuals who offer reservations through websites. Set up any reservation quickly, pleasantly and easily with Bookly!
6
+ Version: 21.0.1
7
  Author: Bookly
8
  Author URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
9
  Text Domain: bookly
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.booking-wp-plugin.com/
5
  Requires at least: 3.7
6
  Tested up to: 6.0.1
7
  Requires PHP: 5.3.7
8
- Stable tag: 21.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
5
  Requires at least: 3.7
6
  Tested up to: 6.0.1
7
  Requires PHP: 5.3.7
8
+ Stable tag: 21.0.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11