WooCommerce Apple Pay: Add More Supported Product Types

Remi | April 11, 2017 | in Tips

Apple Pay is now available for WooCommerce via our Stripe add-on. That is pretty sick to tell you the truth. But by default, only some product types are supported, and I’m sure you’d like to add some more right?

So, yes, by default, Apple Pay for WooCommerce supports only variable products and simple products, but let’s say you are using WP Job Manager and you want to propose Apple Pay to pay for a job listing, well we got you covered by introducing a new filter! You can now easily add Apple Pay supports using this code:

EDIT: please note that in the latest version you have to use the following hook: wc_stripe_payment_request_supported_types instead of wc_stripe_apple_pay_supported_types.

Of course, you can add your own custom product types, it’s not limited to WP Job Manager! Simply add your product types in the array and you’re good to go!

The author

About the author Remi: Hey! My name is Rémi Corson, I'm a French WordPress Developer, I code stuff and I write from time to time ;-)

Leave a reply