Skip to content

Commit b16b473

Browse files
committed
v1.2.0
* Support BlockBee Checkout page * Minor improvements
1 parent a67c994 commit b16b473

File tree

47 files changed

+1888
-1434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1888
-1434
lines changed

BlockBee.php

100755100644
+5-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
Plugin Name: BlockBee Cryptocurrency Payment Gateway
44
Plugin URI: https://blockbee.io/resources/woocommerce/
55
Description: Accept cryptocurrency payments on your WooCommerce website
6-
Version: 1.1.7
6+
Version: 1.2.0
77
Requires at least: 5.8
8-
Tested up to: 6.5.3
8+
Tested up to: 6.6.2
99
WC requires at least: 5.8
10-
WC tested up to: 9.0.1
10+
WC tested up to: 9.3.2
1111
Requires PHP: 7.2
1212
Author: BlockBee
1313
Author URI: https://blockbee.io/
@@ -56,9 +56,9 @@ function blockbee_loader()
5656
$mo_file_path = $language_dir . 'blockbee-payment-gateway-for-woocommerce-' . get_locale() . '.mo';
5757

5858
if (file_exists($mo_file_path)) {
59-
load_textdomain('blockbee-cryptocurrency-payment-gateway', $mo_file_path, get_locale());
59+
load_textdomain('blockbee-cryptocurrency-payment-gateway', $mo_file_path);
6060
} else {
61-
error_log('Translation file not found: ' . $mo_file_path);
61+
// error_log('Translation file not found: ' . $mo_file_path);
6262
}
6363

6464
$blockbee = new WC_BlockBee_Gateway();

README.md

100755100644
+4
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,8 @@ The easiest and fastest way is via our live chat on our [website](https://blockb
241241
#### 1.1.7
242242
* Minor improvements
243243

244+
#### 1.2.0
245+
* Support BlockBee Checkout page
246+
* Minor improvements
247+
244248
### Upgrade Notice

controllers/BlockBee.php

100755100644
+232-84
Large diffs are not rendered by default.

define.php

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22

3-
define('BLOCKBEE_PLUGIN_VERSION', '1.1.7');
3+
define('BLOCKBEE_PLUGIN_VERSION', '1.2.0');
44
define('BLOCKBEE_PLUGIN_PATH', plugin_dir_path(__FILE__));
55
define('BLOCKBEE_PLUGIN_URL', plugin_dir_url(__FILE__));

emails/renewal-email.php

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
)
1717
),
1818
esc_html( get_bloginfo( 'name', 'display' ) ),
19-
'<a href="' . esc_url( $order->get_checkout_payment_url() ) . '">' . esc_html__( 'Pay for this order', 'woocommerce' ) . '</a>'
19+
'<a href="' . esc_url( (bool) $order->get_meta('blockbee_checkout') ? $order->get_meta('blockbee_payment_url') : $order->get_checkout_payment_url() ) . '">' . esc_html__( 'Pay for this order', 'woocommerce' ) . '</a>'
2020
);
2121
/*
2222
* @hooked WC_Emails::email_footer() Output the email footer
2323
*/
24-
do_action( 'woocommerce_email_footer', $email );
24+
do_action( 'woocommerce_email_footer', $email );

languages/blockbee-payment-gateway-for-woocommerce-de_DE.l10n.php

+1-1
Large diffs are not rendered by default.
Binary file not shown.

0 commit comments

Comments
 (0)