kpm install_java_plugin 'liv:geoswift-plugin' --from-source-file=/tmp/geoswift-plugin/2.0.0/geoswift-plugin-2.0.0.jar --destination=/var/lib/killbill/bundleskpm inspect --destination=/var/lib/killbill/bundlesEnter code here...__________________________________________________________________________________________________________________________
| PLUGIN NAME | PLUGIN KEY | TYPE | GROUP ID | ARTIFACT ID | PACKAGING | VERSIONS sha1=[], def=(*), del=(x) |
__________________________________________________________________________________________________________________________
| geoswift-plugin | liv:geoswift-plugin | java | ??? | ??? | ??? | 2.0.0[???](*) |
__________________________________________________________________________________________________________________________Enter code here...2020-06-19T00:52:08,188+0000 lvl='INFO', log='LoggingFilter', th='catalina-exec-3', xff='', rId='811b30d5-c6ba-4552-9493-e69072b8c908', tok='', aRId='', tRId='1', 62 * Server in-bound request
62 > POST https://be-killbill.ngrok.io/1.0/kb/accounts/5e9d6649-89c5-4fa0-a038-3cd9875a176c/paymentMethods?isDefault=true&payAllUnpaidInvoices=false
62 > host: be-killbill.ngrok.io
62 > user-agent: Killbill-Client/0.22.1/php
62 > x-killbill-createdby: be-chaos
62 > accept: application/json
62 > content-type: application/json
62 > x-killbill-apikey: api-key
62 > x-killbill-apisecret: **********
62 > authorization: **************************
62 > content-length: 1811
62 > x-forwarded-proto: https
62 >
2020-06-19T00:52:08,216+0000 lvl='WARN', log='LoggingResponse', th='catalina-exec-3', xff='', rId='811b30d5-c6ba-4552-9493-e69072b8c908', tok='811b30d5-c6ba-4552-9493-e69072b8c908', aRId='1', tRId='1', Bad request
org.killbill.billing.payment.api.PaymentApiException: Payment plugin geoswift-plugin is not registered
at org.killbill.billing.payment.core.PaymentPluginServiceRegistration.getPaymentPluginApi(PaymentPluginServiceRegistration.java:88)
at org.killbill.billing.payment.core.ProcessorBase.getPaymentPluginApi(ProcessorBase.java:116)
at org.killbill.billing.payment.core.PaymentMethodProcessor$1.doOperation(PaymentMethodProcessor.java:137)
at org.killbill.billing.payment.core.PaymentMethodProcessor$1.doOperation(PaymentMethodProcessor.java:127)
at org.killbill.billing.payment.core.ProcessorBase$WithAccountLock.processAccountWithLock(ProcessorBase.java:179)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:162)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:143)
at org.killbill.billing.payment.dispatcher.CallableWithRequestData.call(CallableWithRequestData.java:69)
at org.killbill.commons.concurrent.WrappedCallable.call(WrappedCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.killbill.commons.concurrent.WrappedRunnable.run(WrappedRunnable.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-06-19T00:52:08,216+0000 lvl='INFO', log='LoggingFilter', th='catalina-exec-3', xff='', rId='811b30d5-c6ba-4552-9493-e69072b8c908', tok='811b30d5-c6ba-4552-9493-e69072b8c908', aRId='1', tRId='1', 62 * Server out-bound response
62 < 400
62 < Content-Type: application/json
62 < "nodeName": "localhost", "bootTime": "2020-06-19T00:39:13.000Z", "lastUpdatedDate": "2020-06-19T00:39:13.000Z", "kbVersion": "0.22.8", "apiVersion": "0.53.17", "pluginApiVersion": "0.26.4", "commonVersion": "0.23.11", "platformVersion": "0.39.15", "pluginsInfo": [ { "bundleSymbolicName": null, "pluginKey": "liv:geoswift-plugin", "pluginName": "geoswift-plugin", "version": "2.0.0", "state": "RUNNING", "isSelectedForStart": true, "services": [] },Enter code here...--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/e672c875-875a-4f47-9e70-336bfe4d92c6o%40googlegroups.com.
private void registerPaymentPluginApi(final BundleContext context, final PaymentPluginApi api) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, PaymentPluginApi.class, api, props);
}PLUGIN_NAME = "geoswift-plugin"
It looks like your plugin was installed and started correctly, but the PamentPluginApi service was not registered -- see for instance how we do it for the stripe plugin here.
To unsubscribe from this group and stop receiving emails from it, send an email to killbill...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/f08a1895-4c2a-417c-8b16-0f70d2472028o%40googlegroups.com.
2020-06-22T17:14:37,975+0000 lvl='INFO', log='LoggingFilter', th='catalina-exec-1', xff='', rId='92af9f57-dca9-41c1-9671-e8faee3b405b', tok='', aRId='', tRId='1', 92 * Server in-bound request
92 > POST http://killbill:8080/1.0/kb/accounts/5e9d6649-89c5-4fa0-a038-3cd9875a176c/paymentMethods?isDefault=true
92 > accept: application/json
92 > user-agent: killbill/3.2.0; jruby 9.1.17.0 (2.3.3) 2018-04-20 d8b1ff9 OpenJDK 64-Bit Server VM 25.232-b09 on 1.8.0_232-8u232-b09-0ubuntu1~16.04.1-b09 +jit [linux-x86_64]
92 > accept-encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
92 > x-killbill-apikey: api-key
92 > x-killbill-apisecret: **********
92 > cookie: JSESSIONID=78b5b561-6cba-4cdb-8000-5c5ae6bec13e
92 > content-type: application/json
92 > x-killbill-createdby: admin
92 > x-request-id: 92af9f57-dca9-41c1-9671-e8faee3b405b
92 > host: killbill:8080
92 > content-length: 928
92 >
2020-06-22T17:14:37,987+0000 lvl='WARN', log='LoggingResponse', th='catalina-exec-1', xff='', rId='92af9f57-dca9-41c1-9671-e8faee3b405b', tok='92af9f57-dca9-41c1-9671-e8faee3b405b', aRId='1', tRId='1', Bad request
org.killbill.billing.payment.api.PaymentApiException: Payment plugin killbill-liv:geoswift-plugin is not registered
at org.killbill.billing.payment.core.PaymentPluginServiceRegistration.getPaymentPluginApi(PaymentPluginServiceRegistration.java:88)
at org.killbill.billing.payment.core.ProcessorBase.getPaymentPluginApi(ProcessorBase.java:116)
at org.killbill.billing.payment.core.PaymentMethodProcessor$1.doOperation(PaymentMethodProcessor.java:137)
at org.killbill.billing.payment.core.PaymentMethodProcessor$1.doOperation(PaymentMethodProcessor.java:127)
at org.killbill.billing.payment.core.ProcessorBase$WithAccountLock.processAccountWithLock(ProcessorBase.java:179)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:162)
at org.killbill.billing.payment.core.ProcessorBase$CallableWithAccountLock.call(ProcessorBase.java:143)
at org.killbill.billing.payment.dispatcher.CallableWithRequestData.call(CallableWithRequestData.java:69)
at org.killbill.commons.concurrent.WrappedCallable.call(WrappedCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.killbill.commons.concurrent.WrappedRunnable.run(WrappedRunnable.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-06-22T17:14:37,987+0000 lvl='INFO', log='LoggingFilter', th='catalina-exec-1', xff='', rId='92af9f57-dca9-41c1-9671-e8faee3b405b', tok='92af9f57-dca9-41c1-9671-e8faee3b405b', aRId='1', tRId='1', 92 * Server out-bound response
92 < 400
92 < Content-Type: application/json
92 <
Enter code here...kpm install_java_plugin 'liv:geoswift-plugin' --from-source-file=/tmp/geoswift-plugin/2.0.0/geoswift-plugin-2.0.0.jar --destination=/var/lib/killbill/bundles--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/f1fee8dc-f8b5-4371-a625-eca794dbd548o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/40b66006-427a-49fc-b505-2d4ca9104c74n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/1d42fe53-56cc-4f94-a303-b261ca007448n%40googlegroups.com.
.