Wovenware / killbill-braintree

7 stars 3 forks source link

Download Jar file #5

Closed ebertti closed 2 years ago

ebertti commented 3 years ago

Hi,

Where a can download de jar file?

I can't find on maven

wwerodriguez commented 3 years ago

Hello @ebertti, we received your question and will promptly respond this for you.

wwerodriguez commented 3 years ago

Hi @ebertti. Just to clarify, you are looking for the Braintree Kill Bill Plugin, or are you looking for the Braintree SDK? Thanks for your patience and response. It will allow me to help you better.

ebertti commented 3 years ago

Hi, I looking dor Braintree Kill Bill Plugin

wwerodriguez commented 3 years ago

Hi @ebertti. We only provide the plugin as source code to be compiled to a jar, and then installed in Kill Bill. It is not available on Maven. You will find that all plugins provided by Kill Bill are offered this way.

I hope this helps.

joseph-jaojoco commented 2 years ago

Hi, I already turn the source code to jar file. I was sucessfully download it to killbill but the plugin itself is not registered to killbill. Any solution on this? thanks. image image

wwjfrodriguez commented 2 years ago

Hello @joseph-jaojoco, Please validate if the location of your file is correct and verify if your KillBill version is: 0.22.z and try again the installation using the following command:

kpm install_java_plugin braintree-plugin --from-source-file=./braintree-plugin-0.1.0-SNAPSHOT.jar --destination=/var/lib/killbill/bundles
joseph-jaojoco commented 2 years ago

hi @wwerodriguez , killbill: 0.22.27 kaui:2.0.9 As per checking the plugin is installed in correct dir. image

Is it okay if the plugin dont have groupid artifactid and packaging? image

as per checking in logs., when I'm installed the stripe plugin in kaui it registering the plugin while the manually installed braintree didn't.

samed issue ref: https://groups.google.com/g/killbilling-users/c/QRLYdzjbo0E/m/cXRrAFDGAQAJ

thanks

joseph-jaojoco commented 2 years ago

image for reference:

Pasted Graphic 1 Pasted Graphic 2
wwjfrodriguez commented 2 years ago

@joseph-jaojoco It is possible that the payment method was not created correctly.

When you create a payment method using KAUI at least the following properties must be included for the plugin to work correctly:

image

joseph-jaojoco commented 2 years ago

hello @wwerodriguez , still the same. image I found out that the OSGI servlet didn't registered the manually installed plugin. Any idea on this?

wwjfrodriguez commented 2 years ago

@joseph-jaojoco Can you share the content of your logs file (killbill.out) ?

joseph-jaojoco commented 2 years ago

Hi @wwerodriguez here is my sample logs. Please see attached file. logs.log keyword titles: stripe, braintree, adding payment method logs

Thank you

wwjfrodriguez commented 2 years ago

Thanks @joseph-jaojoco! Can you also provide me the response of this request? /1.0/kb/pluginsInfo

image

joseph-jaojoco commented 2 years ago

Hi @wwerodriguez, Sure, Here's the response image

joseph-jaojoco commented 2 years ago

hello @wwerodriguez , Any idea on this issue?

wwjfrodriguez commented 2 years ago

@joseph-jaojoco I have had to investigate and I suspect that there is something wrong with your KillBill Core installation or configuration. Can you provide me with all the details of how you installed and configured KillBill core?

joseph-jaojoco commented 2 years ago

hi @wwerodriguez , here's my configuration, I run it in docker image

wwjfrodriguez commented 2 years ago

Hi @joseph-jaojoco thanks for sharing! I ran your docker-compose file in a Vagrant virtual machine with Ubuntu and did not can to reproduce your error. Did you change something in the plugin code before you compile it?

These are the steps that I did to install the plugin in my VM:

# Compiling the plugin
mvn clean package -DskipTests

# Copying the jar to the killbill container
docker cp braintree-plugin-0.1.0-SNAPSHOT.jar aaa_killbill:/tmp/braintree-plugin-0.1.0-SNAPSHOT.jar

# kpm install java plugin
docker exec -it aaa_killbill bash
kpm install_java_plugin braintree-plugin --from-source-file=/tmp/braintree-plugin-0.1.0-SNAPSHOT.jar --destination=/var/lib/killbill/bundles
exit

# Restarting killbill container
docker restart aaa_killbill
joseph-jaojoco commented 2 years ago

Hi @wwjfrodriguez ,I've been doing it wrong. I've build the source code with vscode export jar not in mvn. Thanks a lot. it's working now. image

wwjfrodriguez commented 2 years ago

@joseph-jaojoco
Glad to help!