Questions tagged [woocommerce-subscriptions]

To be used for WooCommerce Subscriptions plugin related questions only

Third party official WooCommerce Subscriptions plugin.

This powerful extension allows you to create and manage products with recurring payments — payments that will give you residual revenue you can track and count on.

WooCommerce Subscriptions allows you to introduce a variety of subscriptions for physical or virtual products and services. Create product of the month clubs, weekly service subscriptions or even yearly software billing packages. Add sign-up fees, offer free trials or set expiration periods.

392 questions
4
votes
1 answer

Updating and Synchronizing Woocommerce Subscriptions to Custom Date

We have a client who is shipping Subscription products (which are actually Composite products with four to five Bundles of products in them) and they offer delivery on a weekly basis. Their delivery date is always Thursdays. Woocommerce…
armadadrive
  • 963
  • 2
  • 11
  • 42
4
votes
1 answer

Change WooCommerce Subscription end date

I have a problem with the end date of WooCommerce Subscriptions. I found that topic here Woocommerce Subscription change expiration date However, our case here is a little different but this topic was helpful. We use the prorate (10th each month)…
Nik7
  • 346
  • 2
  • 16
4
votes
2 answers

How to retrieve order ID on Order Pay page in WooCommerce

I am trying to modify the Woocomerce checkout page for orders that are failed or pending payment. On those orders the system comes to the checkout with an order already generated, but I am not able to retrieve the ID of that order from the…
4
votes
1 answer

Using update_post_meta when creating a subscription product in WooCommerce

I am currently creating a plugin that collects data from their license plate. Everything works just fine. The post gets created, I receive the ID of the created post and etc. But at the very end of my function.. I'd like to update post meta doing…
4
votes
2 answers

How to get custom_meta_data

I hope someone can help, I've been trying to get information from my custom fields plugin on Woocommerce (using it with WooCommerce subscriptions). I am trying to capture the details so I can JSON POST it to another platform. I have managed to hook…
4
votes
1 answer

Hide Account Funds Top Up in My Account from WooCommerce 'Customer' Role

I have a Woocommerce subscription site so most of my customers roles are Subscriber. Now I want to offer some free mini-trials with a bit of credit to potential customers who would be a Customer role as we haven't reached them signing up for a…
4
votes
2 answers

WooCommerce subscription webhoook payload empty

I'm hooking into the woocommerce subscription action events and the connection seems to be fine as I am getting a POST request but the payload only contains the following whereas I am expecting a full-bodied payload like when a webhook is fired from…
4
votes
2 answers

Woocommerce WC_Cart->fees and WC_Cart::get_checkout_url are deprecated

I was wondering what happened to my Woocommerce or something after I updated the plugin. Some deprecation error occurs. Kindly see attached image below. How can I solved this thing?
4
votes
1 answer

How to manage woocommerce subscription with api?

I'm trying to get all subscriptions from php with this code:
3
votes
1 answer

WordPress WooCommerce get_sign_up_fee based on available variations

I am using some custom logics to show or hide variations in variable products using this hook woocommerce_get_children https://stackoverflow.com/a/67804835/6829420 and its working fine as per my expectations. However, I am having wrong 'Sign Up Fee'…
3
votes
0 answers

Woocommerce Subscription : get length in day for a subscription product

I am interested in showing my users how much % they save when purchasing a particular variation product. For example if I have a variable subscription, with two variations. £24 for 1 Week £30 for 2 Week Then save percentage = ( ((24 * 2) - 30) /…
bhanu
  • 1,730
  • 3
  • 12
  • 30
3
votes
2 answers

Woocommerce Subscription get id from order id with API

Is it possible to get the Subscription id from the Woocommerce order id with the API of WooCommerce? I'm using PHP and with this I can get all the order data, but not subscription id: $curl = curl_init(); curl_setopt_array($curl, [ …
3
votes
2 answers

Add custom html content in WooCommerce My Account Dashboard only

I am using WordPress with WooCommerce and WooCommerce Subscription plugins and its working fine as per my requirements. Now I want to add my custom div in /my-account/ page i.e. (http://www.example.com/my-account) after we login to system. So I…
3
votes
2 answers

Display product image on Woocommerce My Account Downloads section

I’ve got a problem that I can’t seem to figure out. I’m trying to add the product image to each item in the my-account/downloads/ section. I have tried multiple codes that I found but none seem to work for me. I am using 3 plugins with all other…
3
votes
3 answers

WooCommerce Rest API Endpoint to get all the subscriptions tied to a particular customer

I don’t know how to get a specific customer active subscriptions using the Woocommerce API. I have a mobile app which connects to a middle layer, this middle layer needs to provide the list of subscriptions the user has active. I need to know what…
cfl
  • 999
  • 1
  • 14
  • 34
1
2
3
26 27