woocommerce-subscriptions-importer-exporter icon indicating copy to clipboard operation
woocommerce-subscriptions-importer-exporter copied to clipboard

Failed Error: The next_payment_date must occur after the start date.

Open emmtv opened this issue 9 years ago • 9 comments
trafficstars

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

emmtv avatar Nov 22 '16 00:11 emmtv

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.

brewone avatar Dec 21 '16 15:12 brewone

Great thank you for this it worked. :)

MonsterITServices avatar May 04 '18 11:05 MonsterITServices

It's worked for me too, thanks

$date = $date->date( 'yyyy/mm/dd hh:mm:ss');

carleonercs avatar Feb 12 '21 17:02 carleonercs

We are getting this with the core WCS plugin, not an importer

rwrobe avatar May 09 '22 18:05 rwrobe

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

gggeek avatar Jan 14 '24 17:01 gggeek