Created
December 11, 2014 20:36
-
-
Save claudiosanches/d5b4833f569bc08533c7 to your computer and use it in GitHub Desktop.
WooCommerce PayPal Adaptive Payments - feesPayer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_woocommerce_paypal_ap_payment_args( $args ) { | |
$args['feesPayer'] = 'SENDER'; | |
return $args; | |
} | |
add_filter( 'woocommerce_paypal_ap_payment_args', 'custom_woocommerce_paypal_ap_payment_args' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment