Payment gateway core functionality#1
Payment gateway core functionality#1conradsp wants to merge 10 commits intoopenMF:payment-gateway-core-functionalityfrom
Conversation
…om/conradsp/payment-gateway into payment-gateway-core-functionality
…om/openMF/payment-gateway into payment-gateway-core-functionality
…om/openMF/payment-gateway into payment-gateway-core-functionality
…om/openMF/payment-gateway into payment-gateway-core-functionality
…om/openMF/payment-gateway into payment-gateway-core-functionality
…om/openMF/payment-gateway into payment-gateway-core-functionality
…yment with Beyonic. Complete Fineract integration.
|
@conradsp , @rahulg963 Database migration scripts not found in the resource folder hence getting following errors
Am trying to test it but can not proceed |
|
Hi Robert -
Could you let me know what codebase you are working from? It sounds like
you have some code that has been deprecated.
Thanks,
Steve
…On Thu, Apr 25, 2019 at 12:10 PM Ippez Robert ***@***.***> wrote:
@conradsp <https://github.com/conradsp> , @rahulg963
<https://github.com/rahulg963> Database migration scripts not found in
the resource folder hence getting following errors
1. Table 'payment-gateway.vendor' doesn't exist
2. Table 'payment-gateway.transaction_data' doesn't exist
Am trying to test it but can not proceed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMBLWGLKK77YSR5JBSSHV3PSHQXRANCNFSM4FYTC3CA>
.
|
|
Am trying to test from this repo https://github.com/conradsp/payment-gateway/tree/payment-gateway-core-functionality |
|
My apologies - the changes to the confluence document did not get
published. The repo that you are looking at is no longer current - you can
find the payment hub code at: https://github.com/openMF/payment-hub
I have published the changes to the Mojaloop document so that it reflects
the latest changes.
Thanks,
Steve
…On Thu, Apr 25, 2019 at 12:19 PM Ippez Robert ***@***.***> wrote:
Am trying to test from this repo
https://github.com/conradsp/payment-gateway/tree/payment-gateway-core-functionality
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMBLWFAMHODZ4PL7HZYRFTPSHRZ3ANCNFSM4FYTC3CA>
.
|
|
What is the difference between these two repos? https://github.com/openMF/payment-gateway and https://github.com/openMF/payment-hub. Are they the same, if so then one should be deleted not to be confusing. Thanks |
|
The payment gateway repo was the first pilot implementation. The payment
hub is the next generation. The payment gateway code was never pushed to
openMF - it was developed on my github.
…On Thu, Apr 25, 2019 at 12:31 PM Ippez Robert ***@***.***> wrote:
What is the difference between these two repos?
https://github.com/openMF/payment-gateway and
https://github.com/openMF/payment-hub. Are they the same, if so then one
should be deleted not to be confusing. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMBLWFNO4U6P3JKWT4CQHLPSHTF5ANCNFSM4FYTC3CA>
.
|
|
Okay so we use use the payment-hub repo for testing. Could you please update the README to include how to build and deploy it. |
|
@marta - could you update the payment hub repo with more detailed
instructions on how to build and deploy?
…On Thu, Apr 25, 2019 at 12:38 PM Ippez Robert ***@***.***> wrote:
Okay so we use use the payment-hub repo for testing. Could you please
update the README to include how to build and deploy it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMBLWAPASO43NXHC325I6DPSHUCZANCNFSM4FYTC3CA>
.
|
|
Hi Steve, |
|
@conradsp No, I could not. BTW I think you meant to @ someone else. |
| Vendor vendor = vendorRepository.getVendorById(msgObj.getPaymentChannelId()); | ||
|
|
||
| switch (vendor.getVendorName().toLowerCase()) { | ||
| case "beyonic": |
There was a problem hiding this comment.
We can create an Enum class containing all the vendor names at a single place.
|
|
||
| private String description; | ||
|
|
||
| private String callback_url; |
There was a problem hiding this comment.
We can use either snake casing or camel casing,
| spring.datasource.url = jdbc:mysql://localhost:3306/payment-gateway | ||
| spring.datasource.username = root | ||
| spring.datasource.password = mysql | ||
| spring.jpa.hibernate.ddl-auto = update |
There was a problem hiding this comment.
we can set this value to validate.
|
@conradsp , i want to take up the task of updating the README for building the payment-hub.
_ |
|
Thanks for your work on this Robert. I updated the README with some
additional build instructions. It requires some additional Maven
dependencies. Let me know if the instructions work for you.
…On Fri, Apr 26, 2019 at 6:42 AM Ippez Robert ***@***.***> wrote:
@conradsp <https://github.com/conradsp> , i want to take up the task of
updating the README for building the payment-hub.
when i run "mvn clean install" from the sources directory, it downloads
the dependency files but fails at some point with the error below:-
_
PS D:\Projects\Incubations\payment-hub\sources> mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] parent
[INFO] payment-hub
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building parent 1.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ parent ---
[INFO] Installing D:\Projects\Incubations\payment-hub\sources\pom.xml to
C:\Users\Swift3
Technologies.m2\repository\hu\dpc\paymenthub\parent\1.0.0-SNAPSHOT\parent-1.0.0-SNAPSHOT.pom
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building payment-hub 1.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for
com.interop.ilp.conditions:interop-ilp-conditions:jar:1.3 is missing, no
dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent ............................................. SUCCESS [
0.509 s]
[INFO] payment-hub ........................................ FAILURE [
1.766 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.681 s
[INFO] Finished at: 2019-04-26T14:39:28+03:00
[INFO] Final Memory: 25M/224M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project payment-hub: Could not resolve
dependencies for project hu.dpc.paymenthub:payment-hub:jar:1.0.0-SNAPSHOT:
Failure to find com.interop.ilp.conditions:interop-ilp-conditions:jar:1.3
in https://mymavenrepo.com/repo/7l0NBzlPJ5KFILqnwWhy/ was cached in the
local repository, resolution will not be reattempted until the update
interval of camel-custom-snapshots has elapsed or updates are forced ->
[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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn -rf :payment-hub
PS D:\Projects\Incubations\payment-hub\sources>
_
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMBLWAM3S4C42W5B2UWOCDPSLTBZANCNFSM4FYTC3CA>
.
|
|
@conradsp , it worked well, thanks. Can't we eliminate CONDITIONS EVALUATION REPORT Thanks |
|
@conradsp Just quickly, are we going to merge all the work done for Payment Gateway into the Payment Hub since it has a use cases already done like Beyonic integration implemented already. I think @edcable we need a webinar session to clear some confussion some of us may already be in. We seem to be having some projects within OpenMF repo with similar functionalities. Thanks |
No description provided.