OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fineract Payment gateway


Hi Robert - building the project as a war is work that is on the roadmap
but not completed yet. To run on a different port, you can either add the
server port to the application.properties file, or when you launch the
application, add the following to the VM options: -Dserver.port=<whatever
port you choose>
Steve


On Tue, Oct 16, 2018 at 1:52 AM Ippez Robert <ippezrobert@xxxxxxxxx> wrote:

> Hi Steve,
> Thanks, its up and running now. How do i compile the project into a .war
> file so that it is deployed in tomcat because running it as a .jar file
> brings up conflict in port since port 8080 is already bind  to tomcat.
>
> Thanks
> Regards
> Ippez Robert
>
> On Mon, Oct 15, 2018 at 5:15 PM Steve Conrad <sconrad1@xxxxxxxxx> wrote:
>
> > Hi Robert -
> >
> > In the original implementation, we were using JavaFX, but I removed that
> > dependency. There was one import left in that file that referenced that
> > library. I have removed that import and you should be fine now.
> > Thanks,
> > Steve
> >
> >
> > On Mon, Oct 15, 2018 at 8:22 AM Ippez Robert <ippezrobert@xxxxxxxxx>
> > wrote:
> >
> > > Hi Steve,
> > > I tried to run the payment gateway using mvn clean install, howver i
> ran
> > > into the following error. Am using Java8
> > >
> > > *[INFO] Changes detected - recompiling the module!*
> > > *[INFO] Compiling 78 source files to
> > > D:\Projects\Incubations\payment-gateway\target\classes*
> > > *[INFO] -------------------------------------------------------------*
> > > *[ERROR] COMPILATION ERROR :*
> > > *[INFO] -------------------------------------------------------------*
> > > *[ERROR]
> > >
> > >
> >
> /D:/Projects/Incubations/payment-gateway/src/main/java/org/apache/payment/gateway/activeMQ/service/InboundMessageHandler.java:[21,34]
> > > package com.oracle.javafx.jmx.json does not exist*
> > > *[INFO] 1 error*
> > > *[INFO] -------------------------------------------------------------*
> > > *[INFO]
> > >
> ------------------------------------------------------------------------*
> > > *[INFO] BUILD FAILURE*
> > > *[INFO]
> > >
> ------------------------------------------------------------------------*
> > > *[INFO] Total time: 06:59 min*
> > > *[INFO] Finished at: 2018-10-15T15:06:17+03:00*
> > > *[INFO] Final Memory: 32M/325M*
> > > *[INFO]
> > >
> ------------------------------------------------------------------------*
> > > *[ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> > > (default-compile) on project payment-gateway: Compilation failure*
> > > *[ERROR]
> > >
> > >
> >
> /D:/Projects/Incubations/payment-gateway/src/main/java/org/apache/payment/gateway/activeMQ/service/InboundMessageHandler.java:[21,34]
> > > package com.oracle.javafx.jmx.json does not exist*
> > > *[ERROR] -> [Help 1]*
> > > *[ERROR]*
> > > *[ERROR] To see the full stack trace of the errors, re-run Maven with
> the
> > > -e switch.*
> > > *[ERROR] Re-run Maven using the -X switch to enable full debug
> logging.*
> > > *[ERROR]*
> > > *[ERROR] For more information about the errors and possible solutions,
> > > please read the following articles:*
> > > *[ERROR] [Help 1]
> > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >*
> > > *PS D:\Projects\Incubations\payment-gateway> mvn clean install*
> > >
> > > Where could the problem be?
> > > Thanks
> > > *Regards*
> > > *Ippez Robert*
> > >
> > > On Mon, Oct 8, 2018 at 8:56 PM Steve Conrad <sconrad1@xxxxxxxxx>
> wrote:
> > >
> > > > Thanks Avik.
> > > >
> > > > The Mojaloop P2P pilot implementation was built before the payment
> > > gateway
> > > > code was completed. I envision that the next Mojaloop-related task
> > would
> > > be
> > > > to implement this P2P flow on top of the Fineract Payment Gateway
> code
> > > and
> > > > the new implementation of Mojaloop.
> > > >
> > > > The documentation for installing Phase 2 of Mojaloop is located here:
> > > >
> > > >
> > >
> >
> https://github.com/mojaloop/docs/blob/develop/WorkShops/Presentations/Mojaloop_Phase2_Wrap-up_Deployment-Day3_V2.0-published.pdf
> > > >
> > > > I installed Mojaloop on a 16GB laptop that I had, as the AWS
> instances
> > > that
> > > > Fineract had were not large enough to support the installation. It
> may
> > > be a
> > > > better long-term approach to have Fineract allocate a new larger AWS
> > > server
> > > > for the Mojaloop integration.
> > > >
> > > > I would also recommend joining the Mojaloop Slack channel to get
> > > > information and updates on their development:
> > > https://mojaloop.slack.com/
> > > >
> > > > I was planning to work through this integration as I am able, but I
> > don't
> > > > want to replicate efforts - if you are working on Mojaloop
> integration,
> > > > please feel free to dive in and I will support your work and answer
> any
> > > > questions that I can.
> > > >
> > > > Thanks,
> > > > Steve
> > > >
> > > >
> > > > On Sun, Oct 7, 2018 at 8:49 AM Avik Ganguly <
> avikganguly010@xxxxxxxxx>
> > > > wrote:
> > > >
> > > > > Hi Steve,
> > > > >
> > > > > This looks great.
> > > > >
> > > > > I will look at the design and the reference Beyonic flow and if I
> > come
> > > > > across any blockers, I will update this thread.
> > > > >
> > > > > Is the Mojaloop P2P transfer payment flow explained here
> > > > > <
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/FINERACT/Mojaloop+Integration
> > > > > >
> > > > > also
> > > > > part of this payment gateway repo? (1)
> > > > > Is anyone else working on implementing any Mojaloop use cases on
> top
> > of
> > > > the
> > > > > payment gateway I should get in touch with?
> > > > >
> > > > > Since the latest version of Mojaloop APIs are significantly
> > different,
> > > do
> > > > > you think P2P transfer flow (documentation (and code if it exists))
> > > will
> > > > be
> > > > > impacted. If you are stretched this week, I can try to deploy the
> > > latest
> > > > > Mojaloop artifacts in the mifosmojaloop instance if the deployment
> > > > process
> > > > > is fairly documented. What are your thoughts?
> > > > >
> > > > > Regards,
> > > > > Avik.
> > > > > ᐧ
> > > > >
> > > > > On Sun, Oct 7, 2018 at 8:24 AM Steve Conrad <sconrad1@xxxxxxxxx>
> > > wrote:
> > > > >
> > > > > > Hi all -
> > > > > >
> > > > > > I wanted to provide an update on the Fineract Payment gateway
> > > > development
> > > > > > that we have been working on over the past few months. A few
> > > different
> > > > > > teams have been working on this functionality for some time, and
> we
> > > are
> > > > > > continuing efforts to deliver functionality that will allow
> > Fineract
> > > to
> > > > > > work with other MFIs, MMPs and large scale projects like
> Mojaloop.
> > > > > >
> > > > > > Antony Omeri developed functionality that allows Fineract to
> > interact
> > > > > with
> > > > > > outside systems using ActiveMQ. The latest iteration of this
> > > > development
> > > > > > can be found here:
> > > > > >
> > > https://github.com/conradsp/fineract/tree/payment-gateway-integration
> > > > > > <
> > > > > >
> > > > >
> > > >
> > >
> >
> https://www.google.com/url?q=https://github.com/conradsp/fineract/tree/payment-gateway-integration&sa=D&source=hangouts&ust=1538966323021000&usg=AFQjCNH9bUh4mSoaYAbRhOBamzmTeoPLvw
> > > > > > >
> > > > > >
> > > > > > This past summer, Sanyam Goel (under the mentorship of Rahul Goel
> > and
> > > > > > myself) did some excellent work developing a middleware project
> > that
> > > > > > handles transactions between Fineract and other providers like
> > > Beyonic
> > > > > and
> > > > > > Mojaloop. The latest iteration of this work can be found here:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/conradsp/payment-gateway/tree/payment-gateway-core-functionality
> > > > > > <
> > > > > >
> > > > >
> > > >
> > >
> >
> https://www.google.com/url?q=https://github.com/conradsp/payment-gateway/tree/payment-gateway-core-functionality&sa=D&source=hangouts&ust=1538966323021000&usg=AFQjCNGwy1RDZ7pn1SgoLEPQuFE-vcCUAA
> > > > > > >
> > > > > >
> > > > > > After the summer, I did a bit of work to flesh out the
> connections
> > > > > between
> > > > > > Fineract, the payment gateway, and a first outside provider,
> which
> > > was
> > > > > > Beyonic. I have finished the implementation of some basic
> > > > functionality,
> > > > > > and created a document in Confluence which describes how to
> > configure
> > > > and
> > > > > > use all of the various pieces. This document is located here:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/FINERACT/Payment+Gateway+Configuration
> > > > > > <
> > > > > >
> > > > >
> > > >
> > >
> >
> https://www.google.com/url?q=https://cwiki.apache.org/confluence/display/FINERACT/Payment%2BGateway%2BConfiguration&sa=D&source=hangouts&ust=1538966323021000&usg=AFQjCNF6bHAbrSYGX_h-NtLHSYLoF0Alcg
> > > > > > >
> > > > > >
> > > > > > While we have established an architecture and implemented some
> > basic
> > > > > flows,
> > > > > > it is important that we validate that the architecture/design and
> > > > > approach
> > > > > > are appropriate for what we would like to do long-term with
> > Fineract
> > > > and
> > > > > > interacting with other platforms.
> > > > > >
> > > > > > I would invite the community to review, comment, and critique the
> > > work
> > > > > that
> > > > > > has been done on this project. There may be a better design and
> > > > > > architecture that will serve the long-term needs of Fineract. Or
> we
> > > may
> > > > > > find that this architecture is one that we want to continue to
> > build
> > > on
> > > > > and
> > > > > > develop.
> > > > > >
> > > > > > Please feel free to respond with any questions or comments.
> > > > > > Thanks,
> > > > > > Steve
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Ippez Roberts
> > > Founder/C.E.O - Swift3 Technologies (U) Ltd
> > > "Redefining Next Generation I/O Systems"
> > > P.O.Box 155, Moyo
> > > UGANDA.
> > > Tel: +256788725408/770602630
> > > Skype ID: ippez.robert1
> > > Email: ippezrobert@xxxxxxxxx
> > >
> >
>
>
> --
> Ippez Roberts
> Founder/C.E.O - Swift3 Technologies (U) Ltd
> "Redefining Next Generation I/O Systems"
> P.O.Box 155, Moyo
> UGANDA.
> Tel: +256788725408/770602630
> Skype ID: ippez.robert1
> Email: ippezrobert@xxxxxxxxx
>