Import Users from CSV and Add a PayPlan to each.

More
7 years 6 months ago - 7 years 6 months ago #5661 by Paulo
Hello,


I'd liek to know if its possible to create an import profile that creates users from an CSV file and associates a PayPlans plan to each of these imported users?
I see you’re using WDMtech is using PayPlans to manage the subscriptions, so I’m hopping you can help me.

What I have:
A fresh Joomla 3.8.5 website
A fresh PayPlans install
Already created the possible subscriptions plans (ie. vdata 6 monhts, vdata 1 year, vdata lifetime)
Have an excel file with the user accounts to be imported (name, username, email, groups, password)

What I need.
Make it so that when vData imports the users, for it to create a PayPlan subscription for each user, simulating an order.


Hopping this can be done. Thank you.





I’m hopping this is possible to be done with vData.
Last edit: 7 years 6 months ago by Paulo.

Please Log in to join the conversation.

More
7 years 6 months ago #5665 by Daniel
Hello,
For this, you need to join the Paypal subscription table and all the other tables which hold information related to the User Subscription. There are many e.g. transaction, Invoice, you also need to take care of the extra user group if any added during subscription activation.

Thanks
Daniel

Please Log in to join the conversation.

More
7 years 5 months ago #5730 by Rasmus Bech
I'm looking to do the same - did you succeed Paulo?

Please Log in to join the conversation.

More
7 years 5 months ago #5737 by Paulo
No, I'm waiting for WMD support ot get back to me with how much it would cost for them to create a profile to achieve that.

I'm also having other problems with this extensions, I'm a bit disappointed.

Please Log in to join the conversation.

More
7 years 5 months ago #5745 by Daniel
Hello,
There was some issue which has been fixed in vData 2.9.19. And a reply to your email has been sent as well.

Thanks
Daniel

Please Log in to join the conversation.

More
7 years 5 months ago #5750 by Rasmus Bech
I ended up with writing a plugin that I can run as a cron job, where I define the user group and plan I want the users added to, then the plugin takes care of the rest.

I couldn't solve it with VData getting the profile to correctly create subscription, invoice and transaction as needed by payplans.

Please Log in to join the conversation.

Cron Job Starts