mirror of
https://github.com/10h30/woo-viet.git
synced 2026-07-11 18:56:13 +09:00
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:
@@ -49,7 +49,7 @@ class WooViet_VND_PayPal_Express_Checkout {
|
|||||||
add_action( 'woocommerce_paypal_express_checkout_valid_ipn_request', array(
|
add_action( 'woocommerce_paypal_express_checkout_valid_ipn_request', array(
|
||||||
$this,
|
$this,
|
||||||
'ppec_match_currency_order'
|
'ppec_match_currency_order'
|
||||||
) );
|
), 20 );
|
||||||
|
|
||||||
// Add exchange rate before send request to PayPal
|
// Add exchange rate before send request to PayPal
|
||||||
add_filter( 'woocommerce_paypal_express_checkout_request_body', array( $this, 'ppec_convert_prices' ) );
|
add_filter( 'woocommerce_paypal_express_checkout_request_body', array( $this, 'ppec_convert_prices' ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user