woocommerce-subscriptions-importer-exporter
woocommerce-subscriptions-importer-exporter copied to clipboard
Failed Error: The next_payment_date must occur after the start date.
Hello, I am getting the following error: The next_payment_date must occur after the start date.
I am getting this error even though my next payment date is occurring after the start date. I tried to import a daily subscription with the start date set to 21/11/2016 13:13 and the next payment date set to 22/11/2016 13:13
I had the same issue - this format helped 2016/11/17 03:25:00 (yyyy/mm/dd hh:mm:ss). Also, some zeros were exporting as '00/01/1900 00:00:00' after I fixed that, it worked.
Great thank you for this it worked. :)
It's worked for me too, thanks
$date = $date->date( 'yyyy/mm/dd hh:mm:ss');
We are getting this with the core WCS plugin, not an importer
I do get this when updating only the sub status, and the sub next payment date is occurring after the start date.
PS: this happens when making a call to the REST API, not this plugin. WooCommerce 8.4.0