Advertisement:

Author Topic: Osclass Payment Pro - bonus credits  (Read 1489 times)

bakunine

  • Newbie
  • *
  • Posts: 20
Osclass Payment Pro - bonus credits
« 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.
« Last Edit: September 06, 2016, 03:19:14 pm by bakunine »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Osclass Payment Pro - bonus credits
« Reply #1 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

bakunine

  • Newbie
  • *
  • Posts: 20
Re: Osclass Payment Pro - bonus credits
« Reply #2 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.

2faroffroad

  • Newbie
  • *
  • Posts: 4
Re: Osclass Payment Pro - bonus credits
« Reply #3 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.