diff --git a/inc/class-wooviet-vnd-paypal-express-checkout.php b/inc/class-wooviet-vnd-paypal-express-checkout.php index b73d894..ab4d511 100644 --- a/inc/class-wooviet-vnd-paypal-express-checkout.php +++ b/inc/class-wooviet-vnd-paypal-express-checkout.php @@ -49,7 +49,7 @@ class WooViet_VND_PayPal_Express_Checkout { add_action( 'woocommerce_paypal_express_checkout_valid_ipn_request', array( $this, 'ppec_match_currency_order' - ) ); + ), 20 ); // Add exchange rate before send request to PayPal add_filter( 'woocommerce_paypal_express_checkout_request_body', array( $this, 'ppec_convert_prices' ) );