Assadullah Shaikh
Forum Replies Created
-
Hi, Thanks for the help. I really appreciate it and the plugin is now working smoothly.
I’ll look into the mentioned fuction if I can make up something of it. Thank you.Hey @wpswings ,
Thank you for your help. Updating the plugin fixed the renewal failure issue. It is now being renewed successfully. Besides, If I may ask; if you could guide me, how can I create a subscription programmatically, that’d be very helpful. i.e. the hook or function that I need to make a call to. I am creating an order. Couldn’t find the way to create subscription via wp swings.
Thanks,Hi @wpswings , Thanks for getting back. 🙂
I have followed your suggestion. I noticed the plugin’s version was 1.4.8. I’ve now updated it to the recent one (1.5.0), Screenshot: https://i.imgur.com/GhQxcDf.png – I have created a 1-day subscription order. Let’s hope it gets renewed automatically after 24 hours. Meanwhile, please keep the topic open.
Thank you for sharing the webhook. If you don’t mind me asking for some more information; I have some custom settings which I need to update on every successful subscription purchase as well as renewal. The webhook you provided is triggered on every subscription renewal (when the renewal payment is charged), right?
In the developer section of the plugin, there’s a webhook: wps_sfw_subscription_active_renewal’,$subscription->ID);, can you please guide me on the use of this webhook also? I have tried searching webhooks knowledge base on your website but I couldn’t find the relevant documentation.
Your help is appreciated. Thank you.