I want to build website that sell downloadable products(images). And the only payment method is userpoint. So is it possible that when customers click buy now button it will automatic cost customer’s userpoint and then open the blank page that contain the images their purchase (or redirect to download page) so the customer can save picture to their computer. What should I do?

Comments

burningdog’s picture

Status: Active » Postponed

That's a simple requirement that has a farily complex implementation. Right now ec_file doesn't support that, and isn't yet stable anyway. But it's an interesting enough use-case...

Part of the complexity is like this: userpoints have the ability to be re-calculated, so ec_file would have to implement hooks to allow for the subtracting of userpoints based on transactions executed on the site. Which probably means storing the userpoints values of each transaction in the database...

Perhaps if there are others who like this functionality...?