Hello Karan,
Thank you for getting back to me.
I understand that each payment gateway will need a separate plugin, but I am addressing the integration with this plugin.
For example:
But what if I want to integrate with any payment plugin that is available on my Kill Bill system? In my client application, I can choose the plugin I want to integrate.
It is like using the Adapter Design pattern. We can use a Generic Plugin interface in Killbill to integrate with any adapter implemented.
I don't know if KillBill APIs or libraries provide such integration capabilities.
===================================================================
===================================================================
Let us take the code above as an example:
Using "Adyen Demo"
Class ClientServiceLine 120: pm.setPluginName(pluginName);
Can I only change the plugin name to
Stripe, and will the payment work using the Stripe plugin?
==================================================================
On the other hand:
Using "Stripe Demo"
File "
app.rb"
Line 38: pm.plugin_name = 'killbill-stripe'
Can I only change the plugin name to Adyen, and will the payment work using the Adyen plugin?
In this way, the demos implemented can use any payment plugin available on KillBill.