Osclass forums

Support forums => Plugins => Plugin Payments => Topic started by: bakunine on September 06, 2016, 02:59:23 pm

Title: Osclass Payment Pro - bonus credits
Post by: bakunine on September 06, 2016, 02:59:23 pm
Hello.
I'm implementing Osclass Payments Pro, and I would like to add a funtion, creating some php/htm code in order to automaticaly give a bonus credit to new subscribers, as with Paypal Advanced plugin.
Does somebody has any ideas?
Thank you all.
Title: Re: Osclass Payment Pro - bonus credits
Post by: _CONEJO on September 14, 2016, 10:16:20 am
And what is the problem exactly?

You could hook up your plugin to "user_register_completed" and them add in their account some credit, it should be easy
Title: Re: Osclass Payment Pro - bonus credits
Post by: bakunine on December 30, 2016, 05:24:14 am
You could hook up your plugin to "user_register_completed" and them add in their account some credit, it should be easy

Well, I also think it should be easy. I've been trying to make changes at the wallet.php and functions.php files, but it didn't work.
What I need is quite simple (when one knows the complete how-to, and I miss a few steps...). In short: all I need is just a way to, when a new user registers itself, he automatically and instantly get's a certain amount of credits (defined by admin) in his account.

This feature exists already at least in 2 other plugins (Paypal Advanced and Ultimate Payments). I Think it's time for the official payment plugin from Osclass give us the same possibility.

Thank you.
Title: Re: Osclass Payment Pro - bonus credits
Post by: 2faroffroad on January 13, 2017, 04:21:05 am
@bakunine,
Did you ever come up with a solution?
I would like to implement this also.
Thanks.