woothemes/woocommerce — Issue #554: PayPal Standard - Hook Request
Author: marke123
Created: 2012-01-31 23:04:44+00:00
State: open

Can we please get a filter for $paypal_args so that the args can be modified by another plugin?

Example, we need to redefine the "cmd" parm and other parms, otherwise we have to fork the PayPal standard gateway and rewrite it to suit our needs, which we'd rather not do since WooCom comes with PayPal out of the box.

Maybe around line 277 add this?

$paypal_args = (array) apply_filters( 'woocommerce_paypal_args', $paypal_args );

Or something like that?