Title: Adding supports Subscriptions
Last modified: November 26, 2024

---

# Adding supports Subscriptions

 *  [lisannedevries](https://wordpress.org/support/users/lisannedevries/)
 * (@lisannedevries)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/adding-supports-subscriptions/)
 * Hello,
 * I was wondering if you could add the functionality of supporting the custom payment
   gateway with subscriptions. I now add manualy the following code in **class-woocommerce-
   other-payment-gateway.php**, but after an update I (of course) have to add the
   code again, since it overwrites. I’ve tried to write a code snippet, but this
   didn’t work out. Om my site i use woocommerce subscriptions and created a custom
   payment type for my subscriptions. If this is not possible, could you help me
   out with a code snippet that works with your plugin? 
   This is the code I add 
   after ‘products’ in the array:
 * $this->supports = array(
   ‘products’,‘subscriptions’,‘subscription_cancellation’,‘
   subscription_suspension’,‘subscription_reactivation’,‘subscription_amount_changes’,‘
   subscription_date_changes’,‘subscription_payment_method_change’,‘subscription_payment_method_change_customer’,‘
   subscription_payment_method_change_admin’,‘multiple_subscriptions’,);

The topic ‘Adding supports Subscriptions’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-other-payment-gateway/assets/icon-128x128.png?
   rev=3357928)
 * [Custom Payment Gateway for WooCommerce](https://wordpress.org/plugins/woocommerce-other-payment-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-other-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-other-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-other-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-other-payment-gateway/reviews/)

## Tags

 * [subscriptions](https://wordpress.org/support/topic-tag/subscriptions/)

 * 0 replies
 * 1 participant
 * Last reply from: [lisannedevries](https://wordpress.org/support/users/lisannedevries/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/adding-supports-subscriptions/)
 * Status: not resolved