Page 1 of 1
Using fake money and creating Payment Gateway
Posted: Thu Feb 27, 2014 8:48 pm
by bytor99999
We plan on using BLC as our Inventory Management for Avatars, Gifts that are going to be in our game. Purchasing these is done with a fake currency in our game. Meaning real money is NOT exchanged through BLC. Only our game currency. So we would basically be sending requests from our game to BLC to purchase these items. We will have to create and write our own Payment Gateway to debit the purchase to their fake online money.
Is this possible with BLC? And if so, which parts of the documentation should I be looking at?
These?
http://docs.broadleafcommerce.org/core/ ... interfacesThe few pages in that general area actually look good.
But what about the fake currency. Can you create such things?
Thanks
Mark
Re: Using fake money and creating Payment Gateway
Posted: Thu Feb 27, 2014 8:55 pm
by bytor99999
Oh and on another note. How do you generate the war file. I see all the jar files, and that the jar files have the @Controllers in them, but I would need to generate a war file. Is there a way to do that, a target in Maven or something. I don't need any web pages for the users purchasing as it is in a Mobile native game application. But I would need the admin web pages for us to be able to nicely add all the products and such.
Thanks
Mark
Re: Using fake money and creating Payment Gateway
Posted: Fri Feb 28, 2014 9:30 am
by RapidTransit
I'd think it's very doable, You can implement your own currency and your own gateways, the admin module has the war plugin there already.
Re: Using fake money and creating Payment Gateway
Posted: Fri Feb 28, 2014 1:22 pm
by bytor99999
Hmm. I don't see anywhere in the pom files about generating a war file. I see the maven-war-plugin in the main pom.xml file. But no web.xml anywhere, or in any pom where any goal would generate a war file.
I know I am missing something here.
Thanks
Mark
Re: Using fake money and creating Payment Gateway
Posted: Fri Feb 28, 2014 2:39 pm
by bytor99999
I think I am looking at Broadleaf in the wrong way. Thinking it provides the whole web application and not that it is a framework to use to make your own web application. But that there is a demo project you can use if you don't want to start from scratch.
Mark