- This topic has 2 replies, 3 voices, and was last updated 10 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › How to create a product which could only add some values in usermeta table
I am planning to use a local currency. I want to create a product where I could define buy options using custom fields and send selected value to the usermeta table on the purchase of product. Like a 1,000 credits for $10. Once bought, I need following to be added in the usermeta table; userid:239, meta_key:my_credits & meta_value:1000.
Is it possible to create such a product?
I know I will have to add more values to manage totals and all but that will give me a good start. I would really appreciate your help.
So what you want is a way, perhaps on the IPN return, for eStore to perform some kind of programmatic update of a database table?
Do you want something like what the following addon does?
https://www.tipsandtricks-hq.com/use-credit-tokens-to-sell-your-products