Implement "fake currencies" payment

My company developped its own currency as a reward to our user :
The more they use our App, the more “Flooz” (our fake currency) they earn.
Our user can change their Flooz versus Gifts on our Online store

We’d like to build our new store with Wix.

Our questions :

  • Is it possible to implement payment with our fake currency on Wix sites ?
  • If answer is yes to the 1st question, will it be possible to manage 2 types of payements (fake currency (flooz) + credit card as well ?

Thank you

1 Like

Alfred, I see no problem. A fake currency would just be a “wallet” with a “balance” from which you add or subtract. It doesn´t matter if you count “likes” or “floozes”.
And integration with CC, e.g. thru Stripe, yes, I don´t see the problem.

Just one word of caution. Do not denormalize your DB. The DB underneath Wix Code is not ACID-compliant, it knows no transactions across collections. So do not implement a collection for transactions AND keep the total flooz-balance also on user-level (collection). That would mean 2 db changes for 1 transaction (add or subtract) and that might not always work. Just make 1 transaction collection and actively calculate the balance from that, always.

How do I add a fake currency though?

1 Like