Hi All,
This is my first post, so please accept my apologies if it is in the wrong section.
I am trying to create a website that has a members area with the functionality to allow members to make a purchase based on the number of credits they have.
My problem is understanding how I can create a solution that verifies if enough credits are there.
Basically a member would subscribe to the website, and would be granted access to the members area. The products on sale are download based so the member would be able to preview the file (with the sensitive/valuable information ommitted). They can then buy credits from the site, and can purchase products using the credits they have bought.
What I don't get, is how I allocate their purchase as a credit to their own account, and how I deduct the correct credits when a purchase is made - which then releases the whole product.
I hope that makes sense and I really appreciate any advice anyone can offer.