Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

give subscription through cron url

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 382
  • Thanks: 36
  • Karma: 2
  • Add-ons
8 years 3 weeks ago - 8 years 3 weeks ago #286544 by liaskas
give subscription through cron url was created by liaskas
RE: www.joomlapolis.com/forum/153-professional-member-support/171620-solved-cbsubs-plan-image-automatic-subscription?limitstart=0

Hello

I am sorry to reply to this post (i see it is 5 years old now) but i am trying to find such a solution desperately with no luck!

Krileon mentioned a "trigger based subscription integration". Has this been done somewhere?

What i want to do is activate a subscription plan for a user id through a cronjob or a direct url.

When i say activate a subscription plan, i mean the whole procedure.

1. Create order basket (we have the user id so we need the basket created for this particular user)
2. Set it as paid (the same with the backend process when paying manually for a basket.

On my situation there is no need for a plan selection, as i want just one plan to be activated this way.

Thank you.

[MOD EDIT]: Please folks don't resurrect old and dead topics. Just make a new post and link to it. We've rapid development here. Topics 6 months old can even be out of date.
Last edit: 8 years 3 weeks ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 3 weeks ago #286562 by krileon
Replied by krileon on topic give subscription through cron url
You can not create a basket from an API created subscription. That process is entirely skipped. You can give a subscription via URL or CRON using CB Auto Actions and its CB Paid Subscriptions action. Each action can be executed directly using its URL under its Global tab, but you'll need to leave Triggers set as None.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum