Hi,
It seems that the payment plug-ins only work at the timing of posting or making the adds premium or listed at the top.
The term "subscription" here is not toally accurate, it just means you don't have to pay with real money every time you want to make Premium an ad. You buy packs of credits and then they are used as coin.
As far as I know what you want (periodical payments) is not covered by any of the existent plugins.
Regards
Osclass Payments pro (or paypal or stripe) do "support" (with quotes) subscriptions and periodical payments, but you need to "work on that".
Stripe works almost out of the box, first, you need to create a "plan" on your stripe account, lets call it "PLAN-SUB", then, you need to
payment_pro_cart_add("PLAN-SUB", __('Subscription plan XYZ', 'your_plugin'), 15, 1, array('trial' => 0)); // Add the plan to the cart, ID has to be the same as the ID of your Stripe plan, the price (15) doesn't matter, it will be shown to the user, but it will ttake whatever price you put on the stripe dashboard
Session::newInstance()->_set('subscription', 1); // This will show the recurring/subscription buttons instead of the normal ones
osc_redirect_to(osc_route_url('payment-pro-checkout')); // redirect to the checkout to make the payment
And that's all you need to do.
To make Paypal work with subscription is a little more complicated, you need to add a hook to 'payment_pro_paypal_subscription_items' and fill some fields for the button. Subscriptions at
https://osclass.org/hosted/start are done using payments pro plugin, and less than 400 lines of code (the payment part), we added some hooks to control that you can only have ONE subscription on your cart and a few other things.
Osclass payments pro launch several hooks that allow the plugin to be extended by other plugins or functions, the idea is that payments pro take care of the payment processing and you use other plugins to add new features/services to it