I have set up a monthly subscription with no date of validity. If someone cancels his subscription which calls the following function behind the scenes
$subscription->setId('sub_dea86e5c65b2087202e3');
->setRemove(false);
I get no information about the current period that was booked. If someone subscribes on Sept 1st and cancels on Sept 2nd I have no way to find out, if his subscription is still valid.
Since there is no built-in way to query the Paymill-API I've done the following:
If there are any question for this solution I'll be happy to answer them.