Let action ppec_match_currency_order run after the other action in the main plugin

More details in https://github.com/htdat/woo-viet/issues/73#issuecomment-685768769
This commit is contained in:
Dat Hoang
2020-09-03 21:09:05 +07:00
parent 752f6c26f3
commit 7c40f3b69a
@@ -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' ) );