Problem with setting up and running killbill-adyen-demo

79 views
Skip to first unread message

Prashanth Balakrishnan

unread,
Mar 18, 2025, 4:06:34 AM3/18/25
to Kill Bill users mailing-list
Hi,

I'm trying to set up the adyen-plugin for Killbill and also trying to set up the killbill-adyen-demo (https://github.com/killbill/killbill-adyen-demo). But I can not move beyond the "checkout" button, it keeps on loading and in the console, I see the following error:
  • Internal payment error : org.killbill.billing.plugin.adyen.api.exceptions.PaymentMethodException: Missing one or more configuration properties (HMAC KEY/ Api Key / Merchant Account / Return URL) 

    causeClassName: org.killbill.billing.plugin.adyen.api.exceptions.PaymentMethodException

    causeMessage: Missing one or more configuration properties (HMAC KEY/ Api Key / Merchant Account / Return URL) 

    stackTrace: []

    className: org.killbill.billing.payment.api.PaymentApiException
What I tried so far?
  • I tried following the steps mentioned in https://github.com/killbill/killbill-adyen-demo
  • I tried to specify the required parameters via KAUI plugin configurations - it did not work
  • I tried to send the curl request to this end-point [POST] "/1.0/kb/tenants/uploadPluginConfig/adyen-plugin"

Looking forward for responses to get this up and running.

Thank you.
Best Regards.

karan bansal

unread,
Mar 20, 2025, 7:01:34 AM3/20/25
to Kill Bill users mailing-list
Hi Prashant,

Could you confirm if the Adyen plugin is setup properly as specified in the setup and configuration section here https://github.com/killbill/killbill-adyen-plugin?tab=readme-ov-file#setup

Regards
Karan

Prashanth Balakrishnan

unread,
Mar 20, 2025, 11:35:06 AM3/20/25
to Kill Bill users mailing-list
Hi Karan,

Thank you for the response.
What we actually tried from our side is,
- In the KAUI, under "KPM" section, the adyen plugin was available and we tried using it. (screenshots below)
Screenshot 2025-03-20 at 16.46.20.pngScreenshot 2025-03-20 at 16.46.29.png

- When we tried following the steps provided here to build: https://github.com/killbill/killbill-adyen-plugin?tab=readme-ov-file#build
We got errors trying the build via the command "mvn clean install" and we assumed since it's already in the KAUI under official plugins, enabling it would be sufficient.

Please let me know if what we have done is not the expected way to install the adyen plugin with KillBill.
Then, we'll try building it again.

Thank you. Looking forward for responses to get this up and running.

Best Regards,
B.N.Prashanth

karan bansal

unread,
Mar 21, 2025, 2:09:58 PM3/21/25
to Kill Bill users mailing-list
Hi Prashanth,

Yes the plugin should be installed from the KPM already. So you can skip the build. What happened when you tried to upload the config as you mentioned here : I tried to send the curl request to this end-point [POST] "/1.0/kb/tenants/uploadPluginConfig/adyen-plugin".

Regards
Karan


Prashanth Balakrishnan

unread,
Apr 3, 2025, 8:16:39 AM4/3/25
to Kill Bill users mailing-list
Hi Karan,

Sorry for the delayed response.
When I send the request, the request does not return any error, it get's updated and when I call the get end-point, it returns the updated value. 
  • The request that I am sending:
    • curl -v \
           -X POST \
           -u admin:password \
           -H 'X-Killbill-ApiKey: bob' \
           -H 'X-Killbill-ApiSecret: lazar' \
           -H 'X-Killbill-CreatedBy: admin' \
           -H 'Content-Type: text/plain' \
           -d 'org.killbill.billing.plugin.adyen.apiKey=test_XXX
      org.killbill.billing.plugin.adyen.returnUrl=test_XXX
      org.killbill.billing.plugin.adyen.merchantAccount=account_XXX
      org.killbill.billing.plugin.adyen.hcmaKey=test_XXX
      org.killbill.billing.plugin.adyen.captureDelayHours=XX
      org.killbill.billing.plugin.adyen.enviroment=TEST
      org.killbill.billing.plugin.adyen.password=xxx
      org.killbill.billing.plugin.adyen.username=xxx ' \
           http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/adyen-plugin

But still when I run the demo and click on "Checkout", the same error is returned:
  • Internal payment error : org.killbill.billing.plugin.adyen.api.exceptions.PaymentMethodException: Missing one or more configuration properties (HMAC KEY/ Api Key / Merchant Account / Return URL) 

    causeClassName: org.killbill.billing.plugin.adyen.api.exceptions.PaymentMethodException

    causeMessage: Missing one or more configuration properties (HMAC KEY/ Api Key / Merchant Account / Return URL) 

    stackTrace: []

    className: org.killbill.billing.payment.api.PaymentApiException

Am I sending the request correctly? I tried to send the values inside double quotes, single quotes, and without any of them. Still gives the above error.

Thank you.
Best Regards,
B.N.Prashanth

karan bansal

unread,
Apr 3, 2025, 9:13:30 AM4/3/25
to Kill Bill users mailing-list
Hi Prashanth,

The post call above is returning 201 for you? Also could you share the application properties file?

Regards
Karan

Prashanth Balakrishnan

unread,
Apr 4, 2025, 2:05:57 AM4/4/25
to Kill Bill users mailing-list
Hi Karan,

Yes, the POST call is returning 201.

Below is the content in the application.properties file from the killbill-adyen-demo:
Let me know if we are updating incorrectly.

Thank you.
Best Regards,
B.N.Prashanth

karan bansal

unread,
Apr 13, 2025, 9:57:41 AM4/13/25
to Kill Bill users mailing-list
Hi Prashanth,

In the application properties, could you update the name of the key to adyen.test.hcma.key instead of adyen.test.hmac.key and then try.

Regards
Karan
Reply all
Reply to author
Forward
0 new messages