diff --git a/README.md b/README.md
index df6c0f04f..4707b8b33 100644
--- a/README.md
+++ b/README.md
@@ -23,9 +23,9 @@ The Buckaroo WooCommerce Payments Plugin ([Dutch](https://support.buckaroo.nl/ca
To use the Buckaroo plugin, please be aware of the following minimum requirements:
- A Buckaroo account ([Dutch](https://www.buckaroo.nl/start) or [English](https://www.buckaroo.eu/solutions/request-form))
-- WordPress 4.4.10 or higher
-- WooCommerce 5.0 or higher
-- PHP 7.4 or higher
+- WordPress 4.4.10 up to 6.0.2
+- WooCommerce 5.0 up to 6.8.2
+- PHP 7.4 , 8.0 , 8.1
### Quick installation
@@ -66,3 +66,5 @@ If you want to contribute as well, then please follow our [Contribution Guidelin
- **Support:** https://support.buckaroo.eu/contact
- **Contact:** [support@buckaroo.nl](mailto:support@buckaroo.nl) or [+31 (0)30 711 50 50](tel:+310307115050)
+Please note:
+This file has been prepared with the greatest possible care and is subject to language and/or spelling errors.
diff --git a/composer.json b/composer.json
index 98b682ce9..a6c5f2f13 100644
--- a/composer.json
+++ b/composer.json
@@ -27,7 +27,7 @@
"issues": "https://support.buckaroo.nl/contact"
},
"homepage": "https://www.buckaroo.nl",
- "version" : "3.4.0",
+ "version" : "3.5.0",
"minimum-stability": "stable",
"config": {
"allow-plugins": {
diff --git a/controllers/PaypalExpressController.php b/controllers/PaypalExpressController.php
index 95478a2d6..c446daf9a 100644
--- a/controllers/PaypalExpressController.php
+++ b/controllers/PaypalExpressController.php
@@ -127,7 +127,7 @@ protected function get_settings()
);
$settings = get_option('woocommerce_buckaroo_paypal_settings', []);
- if (!is_array($settings["express"])) {
+ if (!isset($settings["express"]) || !is_array($settings["express"])) {
$settings["express"] = ["none"];
}
diff --git a/gateway-buckaroo-afterpay.php b/gateway-buckaroo-afterpay.php
index 559746339..5df489dc0 100644
--- a/gateway-buckaroo-afterpay.php
+++ b/gateway-buckaroo-afterpay.php
@@ -18,10 +18,10 @@ class WC_Gateway_Buckaroo_Afterpay extends WC_Gateway_Buckaroo
public function __construct()
{
$this->id = 'buckaroo_afterpay';
- $this->title = 'AfterPay';
+ $this->title = 'Riverty | AfterPay';
$this->has_fields = false;
- $this->method_title = 'Buckaroo AfterPay';
- $this->setIcon('24x24/afterpay.jpg', 'svg/AfterPay.svg');
+ $this->method_title = 'Buckaroo Riverty | AfterPay';
+ $this->setIcon('afterpay.png', 'svg/AfterPay.svg');
$this->setCountry();
parent::__construct();
@@ -429,7 +429,7 @@ public function init_form_fields()
'default' => 'afterpaydigiaccept'];
$this->form_fields['enable_bb'] = [
- 'title' => __('Enable B2B option for AfterPay', 'wc-buckaroo-bpe-gateway'),
+ 'title' => __('Enable B2B option for Riverty | AfterPay', 'wc-buckaroo-bpe-gateway'),
'type' => 'select',
'description' => __('Enables or disables possibility to pay using company credentials', 'wc-buckaroo-bpe-gateway'),
'options' => ['enable' => 'Enable', 'disable' => 'Disable'],
diff --git a/gateway-buckaroo-afterpaynew.php b/gateway-buckaroo-afterpaynew.php
index 05ec27df9..a5c5fb748 100644
--- a/gateway-buckaroo-afterpaynew.php
+++ b/gateway-buckaroo-afterpaynew.php
@@ -22,10 +22,10 @@ class WC_Gateway_Buckaroo_Afterpaynew extends WC_Gateway_Buckaroo
public function __construct()
{
$this->id = 'buckaroo_afterpaynew';
- $this->title = 'Afterpay (by Buckaroo)';
+ $this->title = 'Riverty | AfterPay (by Buckaroo)';
$this->has_fields = false;
- $this->method_title = 'Buckaroo AfterPay New';
- $this->setIcon('24x24/afterpaynew.png', 'svg/AfterPay.svg');
+ $this->method_title = 'Buckaroo Riverty | AfterPay New';
+ $this->setIcon('afterpay.png', 'svg/AfterPay.svg');
$this->setCountry();
parent::__construct();
@@ -193,7 +193,7 @@ public function process_partial_refunds($order_id, $amount = null, $reason = '',
}
if (!(count($products) > 0)) {
- return new WP_Error('error_refund_afterpay_no_products', __("To refund an AfterPay transaction you need to refund at least one product."));
+ return new WP_Error('error_refund_afterpay_no_products', __("To refund an Riverty | AfterPay transaction you need to refund at least one product."));
}
try {
@@ -473,7 +473,7 @@ public function init_form_fields()
parent::init_form_fields();
$this->form_fields['afterpaynewpayauthorize'] = array(
- 'title' => __('AfterPay Pay or Capture', 'wc-buckaroo-bpe-gateway'),
+ 'title' => __('Riverty | AfterPay Pay or Capture', 'wc-buckaroo-bpe-gateway'),
'type' => 'select',
'description' => __('Choose to execute Pay or Capture call', 'wc-buckaroo-bpe-gateway'),
'options' => array('pay' => 'Pay', 'authorize' => 'Authorize'),
@@ -489,9 +489,9 @@ public function init_form_fields()
'desc_tip' => 'Product images are only shown when they are available in JPG or PNG format'
);
$this->form_fields['customer_type'] = array(
- 'title' => __('AfterPay customer type', 'wc-buckaroo-bpe-gateway'),
+ 'title' => __('Riverty | AfterPay customer type', 'wc-buckaroo-bpe-gateway'),
'type' => 'select',
- 'description' => __('This setting determines whether you accept AfterPay payments for B2C, B2B or both customer types. When B2B is selected, this method is only shown when a company name is entered in the checkout process.', 'wc-buckaroo-bpe-gateway'),
+ 'description' => __('This setting determines whether you accept Riverty | AfterPay payments for B2C, B2B or both customer types. When B2B is selected, this method is only shown when a company name is entered in the checkout process.', 'wc-buckaroo-bpe-gateway'),
'options' => array(
self::CUSTOMER_TYPE_BOTH => __('Both'),
self::CUSTOMER_TYPE_B2C => __('B2C (Business-to-consumer)'),
diff --git a/index.php b/index.php
index 5fb6f578f..bb5bc413f 100644
--- a/index.php
+++ b/index.php
@@ -5,7 +5,7 @@
Author: Buckaroo
Author URI: http://www.buckaroo.nl
Description: Buckaroo payment system plugin for WooCommerce.
-Version: 3.4.0
+Version: 3.5.0
Text Domain: wc-buckaroo-bpe-gateway
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
diff --git a/languages/wc-buckaroo-bpe-gateway-de_DE.po b/languages/wc-buckaroo-bpe-gateway-de_DE.po
index b2d143099..a6ad52a22 100644
--- a/languages/wc-buckaroo-bpe-gateway-de_DE.po
+++ b/languages/wc-buckaroo-bpe-gateway-de_DE.po
@@ -42,7 +42,7 @@ msgstr ""
#: gateway-buckaroo-afterpaynew.php:1092 gateway-buckaroo-afterpaynew.php:1099
#: gateway-buckaroo-afterpaynew.php:1114 gateway-buckaroo-afterpaynew.php:1118
#: gateway-buckaroo-afterpaynew.php:1122 gateway-buckaroo-afterpaynew.php:1126
-msgid "Accept Afterpay conditions:"
+msgid "Accept Riverty | AfterPay conditions:"
msgstr ""
#: gateway-buckaroo-billink.php:320 gateway-buckaroo-billink.php:343
@@ -54,15 +54,15 @@ msgid "According to iDIN you are under 18 years old"
msgstr "Laut iDIN sind sie unter 18 jahre alt"
#: gateway-buckaroo-afterpay.php:1047 gateway-buckaroo-afterpaynew.php:1103
-msgid "Afterpay conditions (Dutch)"
+msgid "Riverty | AfterPay conditions (Dutch)"
msgstr ""
#: gateway-buckaroo-afterpay.php:1051 gateway-buckaroo-afterpaynew.php:1107
-msgid "Afterpay conditions (French)"
+msgid "Riverty | AfterPay conditions (French)"
msgstr ""
#: gateway-buckaroo-afterpay.php:1206 gateway-buckaroo-afterpaynew.php:1238
-msgid "AfterPay Pay or Capture"
+msgid "Riverty | AfterPay Pay or Capture"
msgstr ""
#: templates/idin/checkout.php:7 templates/idin/checkout.php:26
@@ -264,7 +264,7 @@ msgid "Email:"
msgstr ""
#: gateway-buckaroo-afterpay.php:1174
-msgid "Enable B2B option for AfterPay"
+msgid "Enable B2B option for Riverty | AfterPay"
msgstr ""
#: gateway-buckaroo.php:346
@@ -960,10 +960,10 @@ msgstr ""
#: library/common.php:402 library/common.php:425 library/common.php:621
msgid ""
-"We are sorry to inform you that the request to pay afterwards with AfterPay "
+"We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay "
"is not possible at this time. This can be due to various (temporary) reasons."
" For questions about your rejection you can contact the customer service of "
-"AfterPay. Or you can visit the website of AfterPay and check the 'Frequently "
+"Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently "
"asked questions' through this link. We advise "
"you to choose another payment method to complete your order."
diff --git a/languages/wc-buckaroo-bpe-gateway-fr_FR.po b/languages/wc-buckaroo-bpe-gateway-fr_FR.po
index 0e56d93e3..cec14f652 100644
--- a/languages/wc-buckaroo-bpe-gateway-fr_FR.po
+++ b/languages/wc-buckaroo-bpe-gateway-fr_FR.po
@@ -42,7 +42,7 @@ msgstr ""
#: gateway-buckaroo-afterpaynew.php:1092 gateway-buckaroo-afterpaynew.php:1099
#: gateway-buckaroo-afterpaynew.php:1114 gateway-buckaroo-afterpaynew.php:1118
#: gateway-buckaroo-afterpaynew.php:1122 gateway-buckaroo-afterpaynew.php:1126
-msgid "Accept Afterpay conditions:"
+msgid "Accept Riverty | AfterPay conditions:"
msgstr ""
#: gateway-buckaroo-billink.php:320 gateway-buckaroo-billink.php:343
@@ -54,15 +54,15 @@ msgid "According to iDIN you are under 18 years old"
msgstr "Selon iDIN, vous avez moins de 18 ans"
#: gateway-buckaroo-afterpay.php:1047 gateway-buckaroo-afterpaynew.php:1103
-msgid "Afterpay conditions (Dutch)"
+msgid "Riverty | AfterPay conditions (Dutch)"
msgstr ""
#: gateway-buckaroo-afterpay.php:1051 gateway-buckaroo-afterpaynew.php:1107
-msgid "Afterpay conditions (French)"
+msgid "Riverty | AfterPay conditions (French)"
msgstr ""
#: gateway-buckaroo-afterpay.php:1206 gateway-buckaroo-afterpaynew.php:1238
-msgid "AfterPay Pay or Capture"
+msgid "Riverty | AfterPay Pay or Capture"
msgstr ""
#: templates/idin/checkout.php:7 templates/idin/checkout.php:26
@@ -263,7 +263,7 @@ msgid "Email:"
msgstr ""
#: gateway-buckaroo-afterpay.php:1174
-msgid "Enable B2B option for AfterPay"
+msgid "Enable B2B option for Riverty | AfterPay"
msgstr ""
#: gateway-buckaroo.php:346
@@ -960,10 +960,10 @@ msgstr ""
#: library/common.php:402 library/common.php:425 library/common.php:621
msgid ""
-"We are sorry to inform you that the request to pay afterwards with AfterPay "
+"We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay "
"is not possible at this time. This can be due to various (temporary) reasons."
" For questions about your rejection you can contact the customer service of "
-"AfterPay. Or you can visit the website of AfterPay and check the 'Frequently "
+"Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently "
"asked questions' through this link. We advise "
"you to choose another payment method to complete your order."
diff --git a/languages/wc-buckaroo-bpe-gateway-nl_NL.po b/languages/wc-buckaroo-bpe-gateway-nl_NL.po
index fafb3f12e..d162865d0 100755
--- a/languages/wc-buckaroo-bpe-gateway-nl_NL.po
+++ b/languages/wc-buckaroo-bpe-gateway-nl_NL.po
@@ -39,8 +39,8 @@ msgstr "Een geldige iDEAL-bank is verplicht."
#: templates/gateways/partial_afterpay_tos.php:53
#: templates/gateways/partial_afterpay_tos.php:57
-msgid "Accept Afterpay conditions:"
-msgstr "AfterPay voorwaarden accepteren:"
+msgid "Accept Riverty | AfterPay conditions:"
+msgstr "Riverty | AfterPay voorwaarden accepteren:"
#: templates/gateways/billink.php:57 templates/gateways/billink.php:81
msgid "Accept terms of use"
@@ -51,12 +51,12 @@ msgid "According to iDIN you are under 18 years old"
msgstr "Volgens iDIN ben je jonger dan 18 jaar"
#: gateway-buckaroo-afterpaynew.php:489
-msgid "AfterPay customer type"
+msgid "Riverty | AfterPay customer type"
msgstr ""
#: gateway-buckaroo-afterpaynew.php:476 gateway-buckaroo-afterpay.php:451
-msgid "AfterPay Pay or Capture"
-msgstr "AfterPay Pay of Capture"
+msgid "Riverty | AfterPay Pay or Capture"
+msgstr "Riverty | AfterPay Pay of Capture"
#: templates/idin/checkout.php:8 templates/idin/checkout.php:26
msgid "Age verification"
@@ -355,8 +355,8 @@ msgid "Enable %s Payment Method"
msgstr "Betaalmethode %s inschakelen"
#: gateway-buckaroo-afterpay.php:432
-msgid "Enable B2B option for AfterPay"
-msgstr "Zet B2B aan voor AfterPay"
+msgid "Enable B2B option for Riverty | AfterPay"
+msgstr "Zet B2B aan voor Riverty | AfterPay"
#: gateway-buckaroo-paypal.php:117
msgid "Enable paypal express for the following pages."
@@ -716,7 +716,7 @@ msgstr "Selecteer a.u.b. een geslacht"
#: gateway-buckaroo-afterpay.php:427
msgid "Please select the service"
-msgstr "Kies de gewenste AfterPay service"
+msgstr "Kies de gewenste Riverty | AfterPay service"
#: templates/payconiq/qrcode.php:318
msgid "Point your camera at this QR code. "
@@ -768,7 +768,7 @@ msgstr "Selecteer een CreditCard."
#: gateway-buckaroo-afterpay.php:425
msgid "Select afterpay service"
-msgstr "Kies AfterPay service"
+msgstr "Kies Riverty | AfterPay service"
#: gateway-buckaroo.php:411
msgid "Select Certificate"
@@ -1035,7 +1035,7 @@ msgstr "Deze betaalmethode wordt niet ondersteund voor de geselecteerde valuta"
#: gateway-buckaroo-afterpaynew.php:491
msgid ""
-"This setting determines whether you accept AfterPay payments for B2C, B2B or "
+"This setting determines whether you accept Riverty | AfterPay payments for B2C, B2B or "
"both customer types. When B2B is selected, this method is only shown when a "
"company name is entered in the checkout process."
msgstr ""
@@ -1100,19 +1100,19 @@ msgstr "WC Buckaroo BPE Gateway"
#: library/common.php:239 library/common.php:262 library/common.php:403
msgid ""
-"We are sorry to inform you that the request to pay afterwards with AfterPay "
+"We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay "
"is not possible at this time. This can be due to various (temporary) reasons."
" For questions about your rejection you can contact the customer service of "
-"AfterPay. Or you can visit the website of AfterPay and check the 'Frequently "
+"Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently "
"asked questions' through this link. We advise "
"you to choose another payment method to complete your order."
msgstr ""
"Het spijt ons u te moeten mededelen dat het verzoek om achteraf te betalen "
-"met AfterPay op dit moment niet mogelijk is. Dit kan verschillende "
+"met Riverty | AfterPay op dit moment niet mogelijk is. Dit kan verschillende "
"(tijdelijke) redenen hebben. Voor vragen over uw afwijzing kunt u contact "
-"opnemen met de klantenservice van AfterPay. Of bezoek de website van "
-"AfterPay en bekijk de 'Veelgestelde vragen' via deze link ."
" Wij adviseren u om een andere betaalmethode te kiezen om uw bestelling af "
"te ronden."
diff --git a/languages/wc-buckaroo-bpe-gateway.pot b/languages/wc-buckaroo-bpe-gateway.pot
index 20bf16ac9..a1808def4 100755
--- a/languages/wc-buckaroo-bpe-gateway.pot
+++ b/languages/wc-buckaroo-bpe-gateway.pot
@@ -38,7 +38,7 @@ msgstr ""
#: templates/gateways/partial_afterpay_tos.php:53
#: templates/gateways/partial_afterpay_tos.php:57
-msgid "Accept Afterpay conditions:"
+msgid "Accept Riverty | AfterPay conditions:"
msgstr ""
#: templates/gateways/billink.php:57 templates/gateways/billink.php:81
@@ -50,11 +50,11 @@ msgid "According to iDIN you are under 18 years old"
msgstr ""
#: gateway-buckaroo-afterpaynew.php:489
-msgid "AfterPay customer type"
+msgid "Riverty | AfterPay customer type"
msgstr ""
#: gateway-buckaroo-afterpaynew.php:476 gateway-buckaroo-afterpay.php:451
-msgid "AfterPay Pay or Capture"
+msgid "Riverty | AfterPay Pay or Capture"
msgstr ""
#: templates/idin/checkout.php:8 templates/idin/checkout.php:26
@@ -338,7 +338,7 @@ msgid "Enable %s Payment Method"
msgstr ""
#: gateway-buckaroo-afterpay.php:432
-msgid "Enable B2B option for AfterPay"
+msgid "Enable B2B option for Riverty | AfterPay"
msgstr ""
#: gateway-buckaroo-paypal.php:117
@@ -994,7 +994,7 @@ msgstr ""
#: gateway-buckaroo-afterpaynew.php:491
msgid ""
-"This setting determines whether you accept AfterPay payments for B2C, B2B or "
+"This setting determines whether you accept Riverty | AfterPay payments for B2C, B2B or "
"both customer types. When B2B is selected, this method is only shown when a "
"company name is entered in the checkout process."
msgstr ""
@@ -1059,10 +1059,10 @@ msgstr ""
#: library/common.php:239 library/common.php:262 library/common.php:403
msgid ""
-"We are sorry to inform you that the request to pay afterwards with AfterPay "
+"We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay "
"is not possible at this time. This can be due to various (temporary) reasons."
" For questions about your rejection you can contact the customer service of "
-"AfterPay. Or you can visit the website of AfterPay and check the 'Frequently "
+"Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently "
"asked questions' through this link. We advise "
"you to choose another payment method to complete your order."
diff --git a/library/Buckaroo_Order_Details.php b/library/Buckaroo_Order_Details.php
index 2da8feab5..5758dec5a 100644
--- a/library/Buckaroo_Order_Details.php
+++ b/library/Buckaroo_Order_Details.php
@@ -211,7 +211,7 @@ public function getInitials($str)
public function get_products()
{
return $this->formatOrderItems(
- $this->order->get_items('line_item'),
+ $this->order->get_items('line_item')
);
}
/**
diff --git a/library/api/paymentmethods/ideal/ideal.php b/library/api/paymentmethods/ideal/ideal.php
index 40f81348a..37ee857d1 100644
--- a/library/api/paymentmethods/ideal/ideal.php
+++ b/library/api/paymentmethods/ideal/ideal.php
@@ -76,10 +76,6 @@ public static function getIssuerList() {
'name' => 'bunq',
'logo' => 'logo_bunq.png',
),
- 'HANDELS' => array(
- 'name' => 'Handelsbanken',
- 'logo' => 'logo_handelsbanken.png',
- ),
'REVOLUT' => array(
'name' => 'Revolut',
'logo' => 'logo_revolutbanken.png',
@@ -126,9 +122,6 @@ protected function _getIssuer($issuer) {
case 'BUNQ':
$issuerCode = 'BUNQNL2A';
break;
- case 'HANDELS':
- $issuerCode = 'HANDNL2A';
- break;
case 'REVOLUT':
$issuerCode = 'REVOLT21';
break;
diff --git a/library/buckaroo_images/afterpay.jpg b/library/buckaroo_images/afterpay.jpg
deleted file mode 100644
index 879ab80bd..000000000
Binary files a/library/buckaroo_images/afterpay.jpg and /dev/null differ
diff --git a/library/buckaroo_images/afterpay.png b/library/buckaroo_images/afterpay.png
new file mode 100644
index 000000000..eacc17e3f
Binary files /dev/null and b/library/buckaroo_images/afterpay.png differ
diff --git a/library/buckaroo_images/afterpaynew.png b/library/buckaroo_images/afterpaynew.png
deleted file mode 100644
index dc6ee31d2..000000000
Binary files a/library/buckaroo_images/afterpaynew.png and /dev/null differ
diff --git a/library/buckaroo_images/ideal/logo_handelsbanken.png b/library/buckaroo_images/ideal/logo_handelsbanken.png
deleted file mode 100644
index fe6592023..000000000
Binary files a/library/buckaroo_images/ideal/logo_handelsbanken.png and /dev/null differ
diff --git a/library/buckaroo_images/svg/AfterPay.svg b/library/buckaroo_images/svg/AfterPay.svg
index 8b203c3aa..7e8c1f905 100644
--- a/library/buckaroo_images/svg/AfterPay.svg
+++ b/library/buckaroo_images/svg/AfterPay.svg
@@ -1,167 +1,150 @@
diff --git a/library/common.php b/library/common.php
index 9dc74d231..901416d83 100644
--- a/library/common.php
+++ b/library/common.php
@@ -270,7 +270,7 @@ function fn_buckaroo_process_response_push($payment_method = null, $response = '
if ($response->payment_method == 'afterpaydigiaccept' && $response->statuscode == BuckarooAbstract::CODE_REJECTED) {
wc_add_notice(
__(
- "We are sorry to inform you that the request to pay afterwards with AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of AfterPay. Or you can visit the website of AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.",
+ "We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.",
'wc-buckaroo-bpe-gateway'
),
'error'
@@ -293,7 +293,7 @@ function fn_buckaroo_process_response_push($payment_method = null, $response = '
if ($response->payment_method == 'afterpaydigiaccept' && $response->statuscode == BuckarooAbstract::CODE_REJECTED) {
wc_add_notice(
__(
- "We are sorry to inform you that the request to pay afterwards with AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of AfterPay. Or you can visit the website of AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.",
+ "We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.",
'wc-buckaroo-bpe-gateway'
),
'error'
@@ -442,7 +442,7 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m
if ($response->payment_method == 'afterpaydigiaccept' && $response->statuscode == BuckarooAbstract::CODE_REJECTED) {
wc_add_notice(
__(
- "We are sorry to inform you that the request to pay afterwards with AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of AfterPay. Or you can visit the website of AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.",
+ "We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.",
'wc-buckaroo-bpe-gateway'
),
'error'
diff --git a/library/config.php b/library/config.php
index 96c1ec0b9..4467d56fa 100644
--- a/library/config.php
+++ b/library/config.php
@@ -7,7 +7,7 @@
class BuckarooConfig extends BuckarooConfigCore {
const NAME = 'buckaroo3';
const PLUGIN_NAME = 'Buckaroo BPE 3.0 official plugin';
- const VERSION = '3.4.0';
+ const VERSION = '3.5.0';
const SHIPPING_SKU = "WC8888";
diff --git a/readme.txt b/readme.txt
index eebdfb082..4f34a48ab 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Author: Buckaroo
Tags: WooCommerce, payments, Buckaroo
Requires at least: 4.4.10
Tested up to: 6.0
-Stable tag: 3.4.0
+Stable tag: 3.5.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -97,6 +97,13 @@ Please contact support@buckaroo.nl if you need help installing the WooCommerce p
== Changelog ==
+= 3.5.0 =
+- Support for WooCommerce 7.0.0
+- Update README.MD file [#127]
+- Remove 'Handelsbanken' [BP-1471]
+- Notice: Undefined index: PayPalExpressController.php [BP-2063]
+- Rebranding Afterpay to Riverty [BP-1865]
+
= 3.4.0 =
- Change gender selection for BNPL methods [BP-1896]
- Add contribution guidelines [BP-1873]
diff --git a/templates/gateways/partial_afterpay_tos.php b/templates/gateways/partial_afterpay_tos.php
index 1976c96d6..a1ae8c9d7 100644
--- a/templates/gateways/partial_afterpay_tos.php
+++ b/templates/gateways/partial_afterpay_tos.php
@@ -20,11 +20,11 @@
"BE"=>[
[
"link"=>"https://documents.myafterpay.com/consumer-terms-conditions/nl_be/",
- "label"=> 'Afterpay conditions (Dutch)'
+ "label"=> 'Riverty | AfterPay conditions (Dutch)'
],
[
"link"=>"https://documents.myafterpay.com/consumer-terms-conditions/fr_be/",
- "label"=>'Afterpay conditions (French)'
+ "label"=>'Riverty | AfterPay conditions (French)'
]
],
"DE"=>"https://documents.myafterpay.com/consumer-terms-conditions/de_at/",
@@ -50,11 +50,11 @@
-
+
*