By Mohammad Dourou on Monday, 01 January 2018
Posted in General Issues
Replies 3
Likes 0
Views 551
Votes 0
We have a feature where a logged-in user can claim their listing on our Mosets Tree directory. Once the user claims ownership, it will be in the "My Listings" page for that user.

We are looking to create an automatic free subscription plan for this user when the user claims ownership. How do we trigger the creation of this plan automatically? or What code/call do we use to achieve this?
Hi Mohammad,

If you are referring to the automatic assignment of plan to a user upon claiming their listing in Mosets Tree, this is not possible to achieve currently.

Some customization work may be needed if you need this urgently. Regarding customization, you can submit a request to us at https://crm.stackideas.com and select "Customizations" and provide detailed explanation of the issue.
·
Tuesday, 02 January 2018 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I know this is not possible now, but I was going to customize it by myself. I was hoping you can lead me in the right direction on how to do this, and what call would be required to be made. I tried "GET /component/payplans/plan/subscribe/3" and "POST /component/payplans/invoice/confirm" with the required parameters, but need to know how the cookie is set ( joomla_user_state=logged_in ), and what else is required to set this up.

Any help in that direction would be appreciated.
·
Tuesday, 02 January 2018 11:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mohammad,

I am really sorry but unfortunately we are not able to assist you with this currently as it is beyond our support scope's policy as outlined in http://stackideas.com/support

The most we can inform you right now is that you can either develop a new app or modify the existing mtree app.

Here is our payplans developer documentation link.
·
Tuesday, 02 January 2018 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post