Created
March 30, 2017 20:37
-
-
Save Shelob9/30167e4965b04f1f63b0ef016bf6f09c to your computer and use it in GitHub Desktop.
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 | |
/** | |
This filter runs before a subscription is created allowing you to modify the arguments passed to Stripe | |
*/ | |
add_filter( 'cf_stripe_recurring_args', function( $args ){ | |
//https://stripe.com/docs/subscriptions/taxes | |
$args[ 'tax_percent' ] = 6.42; | |
return $args; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment