User Account balance

  • Posts: 5
  • Thank you received: 0
12 years 4 months ago #55271

I have a database table that has my users balance, example:

Username,balance
user1,200
user2,350

I want the users to be able to buy products with their existing balance, and when make an order the amount of the order will be deducted from their balance... is there a way to integrate this model with hika shop?

thanks

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

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 4 months ago #55356

You should use our integration with AlphaUserPoints and have your users balance imported in AlphaUserPoints.

More information on our integration is available on that page:
www.hikashop.com/en/support/documentatio...userpoints-form.html
Thanks you it, your users will be able to use their points to pay on your website and the balance in AUP will be updated automatically.

It seems that AUP were looking at a feature to import points:
www.alphaplug.com/index.php/forum/12-gen...7-import-points.html
You should ask them if there is any news on that. Otherwise, it's probably possible to import the points directly in the tables of AUP. You should ask them if they have an idea on how to do.


Otherwise, if you know PHP, you can also develop a HikaShop payment plugin which would directly use your table. We have some documentation for the creation of such payment plugins:
www.hikashop.com/en/support/documentatio...r-documentation.html

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

Time to create page: 0.054 seconds
Powered by Kunena Forum