Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Created December 11, 2014 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claudiosanches/d5b4833f569bc08533c7 to your computer and use it in GitHub Desktop.
Save claudiosanches/d5b4833f569bc08533c7 to your computer and use it in GitHub Desktop.
WooCommerce PayPal Adaptive Payments - feesPayer
<?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