First payment date for WooCommerce Subscriptions

May 07, 2024

First payment date for WooCommerce Subscriptions Plugin

This plugin allows you to set a first payment date for a subscription, using WooCommerce Subscriptions. So you will be able to set a specific date (no …

When you are using a site with WooCommerce Subscriptions you can change the first payment date using trial periods. But a trial period is a period, not a date. So you can set “1 month free” but you cannot set “this subscriptions will start being paid this date”, whenever you make the bought of the subscription. This plugin solves this problem.

Basics

  • Set in every product or product variaition, which is the date of the first payment to be done. You can set a fixed date or a calculated one (first day of next month or first day of next year)
  • When a user buys your subscription, based in a product subscription or a product variable subscription, it will get the first payment in the specified date
  • User will see in cart and checkout how many days he can get the subscription for free until the first payment will be done

Premium features

Additional features available only in PRO plugin version.

  • For each product or product variation, you can also set the date of the last payment to be made. You can use a fixed date or a calculated one: first day of next month, first day of next year, last day next month, last day this year, last day next year.
  • You will have full control of the payment schedule regardless of when the subscription purchase was made.
  • Show and check the payment schedule, check how many payments will be made, when and how much. Show it to your customers as well.
  • Custom the messages, customise WooCommerce Subscriptions strings to inform your customers in a natural and correct way.

Usage

Once the plugin is installed you can use it. Go to Product data, search “First payment date” and fill it. If you are using a variable product, you will find it in each variation.

Installation

Installation

  • Install First payment date for WooCommerce Subscriptions automatically through the WordPress Dashboard or by uploading the ZIP file in the plugins directory.
  • Then, after the package is uploaded and extracted, click Activate Plugin.

Now going through the points above, you should now see the new option in the “Product data” part of each variable product.

If you get any error after following through the steps above please contact us through item support comments so we can get back to you with possible helps in installing the plugin and more.

Screenshots

  1. First date payment field in a product subscription

    First date payment field in a product subscription

  2. First date payment field in a product subscription variation

    First date payment field in a product subscription variation

FAQ

Field does not appear

Please, save your product subscription first. By default when you create a new product, this is created as simple product and this is not shown. When you save it and page reload, it will appear.

Product variations

You can set a first date of payment for each variation. Anyway, when a user visit your variable subscription product, he will see the first payment date of the first variation (in this way works WooCommerce Subscritpions with trial periods).

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

Changelog

0.6.3

  • Changed the way the hooks are declared
  • New hooks added

0.6.2

  • Ready for WordPress 6.5.2
  • Ready for WooCommerce 8.8.2

0.6.1

  • Declared compatibility with HPOS
  • Ready for WordPress 6.4
  • Ready for WooCommerce 8.4

0.6

  • Improved code
  • Included new hooks
  • Readdy for WooCommerce 8.1.1
  • Ready for WordPress 6.3.1

0.5.3

  • Readdy for WooCommerce 7.7
  • Ready for WordPress 6.2
  • If the first payment date is in the past, the trial length is zero

0.5.2

  • Included a try/catch control structure to avoid fatal errors when there are bad date format creating DateTime objects

0.5.1

  • Set the timezones to the local installation to adjust the calculation of the dates. Previously, the calculation was made on UTC time zone and generated problems.

0.5

  • Original metadata from product (trial length and trial period) updated to prevent problems with callbacks
  • Because of the above, the possibility of summing days using the original metadata subscription lenght, in a future version it will be included some kind of offset to be able to do the same
  • Ready for WordPress 6.1
  • Ready for WooCommerce 7.0.0

0.4.4

  • Ready for WooCommerce 6.9.3
  • New hooks added
  • Readme improved

0.4.3

  • Extended the maximum length of standard WooCommerce Subscriptions trial periods to 730 days

0.4.2

  • Improved the managing of trial length and period to avoid validation errors and problems when calculating the subscription payments

0.4.1

  • Added the possibility to make a bulk update of fixed first payment dates for variable subscriptions

0.4

  • Increased the period from 90 to 365 days in WooCommerce Subscriptions to make possible to have longer trial periods
  • Ready for WooCommerce 6.6

0.3.3

  • Added new hooks
  • Ready for WordPress 6.0 and WooCommerce 6.5.1

0.3.2

  • Fixed a problem with the last update that creates a problem calculating the free trial period, adding twice sometimes the calculated trial

0.3.1

  • If you set a trial period, it will be added to the date calculated by this plugin

0.3

  • Bug fixed with fixed dates
  • Code improved

0.2.3

  • Fields of the plugin are now shown although the product is not saved as simple or variable subscription

0.2.2

  • Fixed a problem in variable subscriptions that generated bad calculated periods

0.2.1

  • Internationalization improved thanks to @yordansoares thanks for advising me about us

0.2

  • Now you can choose new options when setting the first date of the payment: first day of the next month and first day of the next year
  • Up to date compatibility

0.1.2

  • New requires up to included
  • Up to date compatibility

0.1.1

  • esc_attr changed to sanitize_text_field in calls to update_post_meta

0.1.0

  • First release

Details

  • Version: 0.6.3
  • Active installations: 600
  • WordPress Version: 3.4
  • Tested up to: 6.5.5
  • PHP Version: 5.6

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars