Product Icon

Stripe

by  Woo
Accept all major debit and credit cards as well as local payment methods with Stripe.

Add ‘api’ to ‘woocommerce_stripe_request_headers’ filter

Because the Woocommerce Stripe Gateway doesn’t implement Stripe Connect, we have implemented our own. However the implementation proved more difficult because the ‘woocommerce_stripe_request_headers’ filter does not send the ‘api’ (e.g.: charges, refunds), for us to selectively modify the headers (i.e.: add the Stripe-Account header). However the ‘api’ is being sent in the ‘woocommerce_stripe_request_body’ filter.

Would it be possible to please request an enhancement to add the ‘api’ info to the ‘woocommerce_stripe_request_headers’ filter ?

Author

Current Status

Open

Last updated: February 22, 2019

0 comments

Log in to comment on this feature request.