Exclude payment method for recievin userpoints

  • Posts: 206
  • Thank you received: 10
  • Hikashop Multisite
7 years 7 months ago #265366

Hi,

I've setup the userpoints system and it works fine.
Now we would like to exclude a specific payment method for getting the userpoints.

For example:
A user who pays with Paypal get the userpoints and when u use banktransfer you don't get the userpoints.

Would something like this be possible?

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
7 years 7 months ago #265384

Hi,

Not with the options available in the user points plugin. It would require some development.
You could do it quite easily with a small custom plugin.
Just implement the onAfterOrderUpdate trigger in a plugin of the group "hikashop", and when the order status is being changed to confirmed, update the user_points column of the hikashop_user table with the points you want if eligible.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum