passing custom field to stripe
-
hello – after much struggle, i received a helpful reply from https://PaymentPlugin.com to add the following code:
add_filter('wc_stripe_payment_intent_args', function($args, $order){
. . . . $args['metadata']['client_email'] = '';
. . . . return $args;
}, 10, 2);
at the end of my ./wp-content/themes/astra/functions.php script. however, this code did not do anything, so for fun (!!) I changed the line to:
. . .$args['metadata']['client_email'] = '[email protected]';
and this appears to work!
my question: where can i extract the actual/real value of my `client_email’ custom field?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘passing custom field to stripe’ is closed to new replies.