Enabled product bundles
This commit is contained in:
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/images/paypal.png
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/images/paypal.png
Normal file → Executable file
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/js/paypal-admin.js
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/js/paypal-admin.js
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/js/paypal-admin.min.js
vendored
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/assets/js/paypal-admin.min.js
vendored
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php
Normal file → Executable file
2
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
Normal file → Executable file
2
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
Normal file → Executable file
@@ -292,7 +292,7 @@ class WC_Gateway_Paypal_IPN_Handler extends WC_Gateway_Paypal_Response {
|
||||
*/
|
||||
protected function payment_status_refunded( $order, $posted ) {
|
||||
// Only handle full refunds, not partial.
|
||||
if ( $order->get_total() === wc_format_decimal( $posted['mc_gross'] * -1 ) ) {
|
||||
if ( $order->get_total() === wc_format_decimal( $posted['mc_gross'] * -1, wc_get_price_decimals() ) ) {
|
||||
|
||||
/* translators: %s: payment status. */
|
||||
$order->update_status( 'refunded', sprintf( __( 'Payment %s via IPN.', 'woocommerce' ), strtolower( $posted['payment_status'] ) ) );
|
||||
|
||||
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/settings-paypal.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/settings-paypal.php
Normal file → Executable file
Reference in New Issue
Block a user