sap-labs-france / ev-server

The Open e-Mobility Charging Station management backend server (check also ev-dashboard and ev-mobile)
https://open-e-mobility.fr/
Apache License 2.0
141 stars 132 forks source link

Invoice payment periodic #4226

Open UBT-FJ opened 5 months ago

UBT-FJ commented 5 months ago

Hello,

been testing the periodic payments but it seems not to work!

I've tested in Test Mode of Stripe and changed the computer datetime to next month (1st month, and also 1 month from the actual draft) but no success.

Also made the schedule task to true, like this (I made it to run every 5 minutes so I can test):

"Scheduler": { "active": true, "tasks": [ { "name": "BillingPeriodicOperationTask", "active": true, "periodicity": "*/5 * * * *", "config": { "onlyProcessUnpaidInvoices": true } }

I also asked in another topic about the both payment methods in billing, which we get when we setup stripe as periodic and immediate billing, it seems the option is to choose both but how to use them correctly? https://github.com/sap-labs-france/ev-server/issues/4224

Any info much appreciated.