Skip to content

Commit

Permalink
v3.6.0 (#154)
Browse files Browse the repository at this point in the history
* BP-2112 Fix Klarna gender values

* BP-2126 Fatal error: Unsupported operand types: string + int (PHP 8.0) (#134)

Co-authored-by: Ivascu Madalin <[email protected]>

* Fix compatibility with WC < v5.8 (#137)

Co-authored-by: Ivascu Madalin <[email protected]>

* BP-2012 Remove the -R addition for refunds.

* Remove 'buckaroo_refund' meta field

* BP-2143 Remove HTML tags from capture form

* BP-2238 Fix for displaying customer name in Plaza for AfterPay(new)

* BP-2253 Remove Request to Pay payment method

* Removed Request to Pay logos

* BP-2315 Apple Pay error: Something went wrong while processing your payment (#145)

Co-authored-by: Ivascu Madalin <[email protected]>

* BP-2339 Support for WooCommerce 7.4.0 (#144)

Update the latest WooCommerce version support.

* Add latest release version badge to the README (#136)

Add the latest release version badge to the README.md file.

* BP-2295 Payment fee is not working for Klarna (#146)

Co-authored-by: Ivascu Madalin <[email protected]>

* BP-1485 support sequential order numbers skyverge (#94)

* BP-1485 Support for sequential order numbers plugin by Skyverge

* correctly handle order by order id, not by order_number

* fix 1

---------

Co-authored-by: Andrei Mihalescu <[email protected]>
Co-authored-by: Ivascu Madalin <[email protected]>

* BP-2236 Variable products incorrect amount (#147)

Co-authored-by: Ivascu Madalin <[email protected]>

* BP-1764 Minor translation changes (ENG). (#148)

Co-authored-by: Ivascu Madalin <[email protected]>

* BP-2339 Update README with new WooCommerce version support

Add support for WooCommerce 7.5.1 and change the support URL's directly to our new docs.buckaroo.io pages.

* BP-2449 Added YourSafe Issuer to Ideal (#150)

* BP 1982 add a notification when one of the payment methods is in test mode (#135)

* BP-1982 Add a notification when payment  is in test mode

* remove white space

---------

Co-authored-by: Ivascu Madalin <[email protected]>

* changed versions (#153)

* changed versions

* update compatibility

* update changelog

* fix changelog

---------

Co-authored-by: Ivascu Madalin <[email protected]>

---------

Co-authored-by: Andrei Mihalescu <[email protected]>
Co-authored-by: Andrei Mihalescu <[email protected]>
Co-authored-by: Ivascu Madalin <[email protected]>
Co-authored-by: Rene <[email protected]>
Co-authored-by: Vegim Çarkaxhija <[email protected]>
  • Loading branch information
6 people authored Apr 5, 2023
1 parent 734b6aa commit 2d83c32
Show file tree
Hide file tree
Showing 46 changed files with 4,434 additions and 1,002 deletions.
1 change: 0 additions & 1 deletion .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
cp "Payment methods/SVG/PayPerEmail.svg" ${{ github.workspace }}/library/buckaroo_images/svg/
cp "Payment methods/SVG/Payconiq.svg" ${{ github.workspace }}/library/buckaroo_images/svg/
cp "Payment methods/SVG/Przelewy24.svg" ${{ github.workspace }}/library/buckaroo_images/svg/
cp "Payment methods/SVG/RequestToPay.svg" ${{ github.workspace }}/library/buckaroo_images/svg/
cp "Payment methods/SVG/SEPA-directdebit.svg" ${{ github.workspace }}/library/buckaroo_images/svg/SEPAdirectdebit.svg
cp "Payment methods/SVG/SEPACreditTransfer.svg" ${{ github.workspace }}/library/buckaroo_images/svg/
cp "Payment methods/SVG/Sofort.svg" ${{ github.workspace }}/library/buckaroo_images/svg/
Expand Down
4 changes: 0 additions & 4 deletions Buckaroo_Load_Gateways.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ class Buckaroo_Load_Gateways
'filename' => 'gateway-buckaroo-payperemail.php',
'classname' => 'WC_Gateway_Buckaroo_PayPerEmail'
),
'RequestToPay' => array(
'filename' => 'gateway-buckaroo-requesttopay.php',
'classname' => 'WC_Gateway_Buckaroo_RequestToPay'
),
'SepaDirectDebit' => array(
'filename' => 'gateway-buckaroo-sepadirectdebit.php',
'classname' => 'WC_Gateway_Buckaroo_SepaDirectDebit'
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
</p>

# Buckaroo WooCommerce Payments Plugin
[![Latest release](https://badgen.net/github/release/buckaroo-it/WooCommerce)](https://github.com/buckaroo-it/WooCommerce/releases)

### Index
- [About](#about)
- [Requirements](#requirements)
Expand All @@ -24,7 +26,7 @@ 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 up to 6.0.2
- WooCommerce 5.0 up to 6.8.2
- WooCommerce 5.0 up to 7.5.1
- PHP 7.4 , 8.0 , 8.1

### Quick installation
Expand All @@ -44,7 +46,7 @@ To use the Buckaroo plugin, please be aware of the following minimum requirement

### Configuration

For the configuration of the plugin, please refer to our [Dutch](https://support.buckaroo.nl/categorieen/plugins/woocommerce) or [English](https://support.buckaroo.eu/categories/plugins/woocommerce) support website. You'll find all the needed information there.
For the configuration of the plugin, please refer to our [Dutch](https://docs.buckaroo.io/docs/nl/woocommerce-configuratie) or [English](https://docs.buckaroo.io/docs/woocommerce-configuration) support website. You'll find all the needed information there.
You can also contact our [technical support department](mailto:[email protected]) if you still have some unanswered questions.

### Contribute
Expand All @@ -62,8 +64,8 @@ If you want to contribute as well, then please follow our [Contribution Guidelin
- **PATCHES:** Bug and hotfixes only.

### Additional information
- **Knowledge base & FAQ:** Available in [Dutch](https://support.buckaroo.nl/categorieen/plugins/woocommerce) or [English](https://support.buckaroo.eu/categories/plugins/woocommerce).
- **Support:** https://support.buckaroo.eu/contact
- **Knowledge base & FAQ:** Available in [Dutch](https://docs.buckaroo.io/docs/nl/woocommerce) or [English](https://docs.buckaroo.io/docs/woocommerce).
- **Support:** https://docs.buckaroo.io
- **Contact:** [[email protected]](mailto:[email protected]) or [+31 (0)30 711 50 50](tel:+310307115050)

<b>Please note:</b><br>
Expand Down
29 changes: 26 additions & 3 deletions assets/js/applepay/applepay.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,26 @@ export default class ApplePay {
this.total_price = total_to_pay;

const requiredContactFields = ["name", "email", "postalAddress", "phone"];
const applepay_options = new BuckarooSdk.ApplePay.ApplePayOptions(this.store_info.store_name, this.store_info.country_code, this.store_info.currency_code, this.store_info.culture_code, this.store_info.merchant_id, all_items, total_item, 'shipping', shipping_methods, this.processApplepayCallback.bind(this), this.processShippingMethodsCallback.bind(this), this.processChangeContactInfoCallback.bind(this), requiredContactFields, requiredContactFields)
const applepay_payment = new BuckarooSdk.ApplePay.ApplePayPayment(".applepay-button-container div", applepay_options);
const applepay_options = new BuckarooSdk.ApplePay.ApplePayOptions(
this.store_info.store_name,
this.store_info.country_code,
this.store_info.currency_code,
this.store_info.culture_code,
this.store_info.merchant_id,
all_items,
total_item,
'shipping',
shipping_methods,
this.processApplepayCallback.bind(this),
this.processShippingMethodsCallback.bind(this),
this.processChangeContactInfoCallback.bind(this),
requiredContactFields,
requiredContactFields
)
const applepay_payment = new BuckarooSdk.ApplePay.ApplePayPayment(
".applepay-button-container div",
applepay_options
);

applepay_payment.showPayButton("black");
}
Expand Down Expand Up @@ -132,7 +150,12 @@ export default class ApplePay {
}

if (authorization_result.status === ApplePaySession.STATUS_SUCCESS) {
this.buckaroo.createTransaction(payment, this.total_price, this.selected_shipping_method, this.woocommerce.getItems(this.country_code));
this.buckaroo.createTransaction(
payment,
this.total_price,
this.selected_shipping_method,
this.woocommerce.getItems(this.country_code)
);
}
else {
const errors = authorization_result.errors.map((error) => {
Expand Down
7 changes: 6 additions & 1 deletion assets/js/applepay/buckaroo.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ export default class Buckaroo {
window.location.replace(buckaroo_response.redirect);
}
else {
this.woocommerce.displayErrorMessage(buckaroo_response.message);
let errorMessage = "Something went wrong while processing your payment.";
if(buckaroo_response.message) {
errorMessage =buckaroo_response.message
}

this.woocommerce.displayErrorMessage(errorMessage);
}
})
.fail(() => {
Expand Down
2 changes: 1 addition & 1 deletion assets/js/dist/apple-pay.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2d83c32

Please sign in to comment.