Giter VIP home page Giter VIP logo

woocommerce's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce's Issues

[BP-2126] Fatal error: Unsupported operand types: string + int (PHP 8.0)

After updating a website to PHP 8.0, the plugin gives a fatal error after adding a product to the cart. The error is;

PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /wp-content/plugins/wc-buckaroo-bpe-gateway/gateway-buckaroo.php:137

I could fix this myself by replacing r:117 in the same file to;
$fee = intval(str_replace("%", "", $fee));

Does the plugin needs an update, or is there something else wrong that I am missing here?

Plugin version 3.5.0
WooCommerce version 7.0.1
WordPress version 6.1
PHP version 8.0

Add a hook for other plugins to extend functionality

This is more a feature request then an issue.

We are informing our website users when a payment has been made, but we also update a meta inside WordPress that a payment has been made for an order.
We want to hook into the fn_buckaroo_process_response() function but there is nowhere in the plugin hooks to hook in to it.

I will submit a fork for the change which will be simple one extra line to have some more functionality.

[BP-2063] Notice: Undefined index: PayPalExpressController.php

After installing the Buckaroo Woocommerce Payments Plugin we have the next error in wordpress admin.

Notice: Undefined index: express in test.nl/wp-content/plugins/wc-buckaroo-bpe-gateway/controllers/PaypalExpressController.php on line 130

Plugin version 3.4.0
WooCommerce version 6.9.4
WordPress version 6.0.2
PHP version 7.4

Invalid parameter type passed to `BuckarooSoap::_error()`

Got the following error:

Uncaught Error: Call to undefined method SoapFault::__getLastResponse() 
in /.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/soap.php:362 
Stack trace:
#0 /.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/soap.php(47): BuckarooSoap->_error()
#1 /.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/paymentmethods/paymentmethod.php(434): BuckarooSoap->transactionRequest()
#2 /.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/paymentmethods/paymentmethod.php(447): BuckarooPaymentMethod->executeRequestOfType()
#3 /.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/paymentmethods/paymentmethod.php(408): BuckarooPaymentMethod->PayGlobal()
#4 /.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/paymentmethods/ideal/ideal.php(30): BuckarooPaymentMethod->Pay()
#5 /.../web/app/plugins/wc-buckaroo-bpe-gateway/gateway-buckaroo-ideal.php(74): BuckarooIDeal->Pay()
#6 /.../web/app/plugins/woocommerce/includes/class-wc-form-handler.php(449): WC_Gateway_Buckaroo_Ideal->process_payment()
#7 /.../web/wp/wp-includes/class-wp-hook.php(310): WC_Form_Handler::pay_action()
#8 /.../web/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#9 /.../web/wp/wp-includes/plugin.php(565): WP_Hook->do_action()
#10 /.../web/wp/wp-includes/class-wp.php(796): do_action_ref_array()
#11 /.../web/wp/wp-includes/functions.php(1335): WP->main()
#12 /.../web/wp/wp-blog-header.php(16): wp()
#13 /.../web/index.php(6): require('...')
#14 {main} thrown"
file: "/.../web/app/plugins/wc-buckaroo-bpe-gateway/library/api/soap.php"

Cause by

} catch (Exception $e){ //(SoapFault $e) {
Buckaroo_Logger::log(__METHOD__, $e->getMessage());
return $this->_error($e);
}

Where SoapClient::_error() should only accept SoapClient|false.

BP-3366 $orderAmount rounding issue

Is it correct that this plugin does not update the order status to processing for example?

I see the $order->update_status() calls with failed, cancelled but I do not see processing. Only in the gateway-buckaroo-applepay.php file I see the processing update.

Order status payment complete not working

Hello,

I believe this is similar to the other open issue but since my decimal settings are stock, i decided to open a new issue. The problem is that orders fully paid with all payment methods never get the payment status completed. Other statuses like failed do work. Can we expect a fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.