The KillBill Plugin for Hyperswitch #3884
Replies: 7 comments 22 replies
-
Initial Thoughts I have begun reviewing the initial design document around how kill bill and hyperswitch will work together. It can be found as an attachement to this comment. Kill Bill with Hyperswitch.pdf With respect to the user initiated payment/user flow-1 the suggested sequence needs further discussion from step 5 onwards. Kill Bill initiates payment only AFTER the invoice has been calculated and generated. Many subscriptions can appear on the one invoice or be spread across many invoices if invoice groups are being used. Subscriptions can also be configured with their own invoicing cycle and generate invoices separately from the account billing cycle. It is important to realise that kill bill has support for a variety of different subscription types [standalone/base/add-ons] which allows for various flavours and flows. Billing catalogs are versioned artefacts and a billing tenant can have past/current/future catalogs loaded. Subscriptions based on plans in the catalog can utilise pricing phases which allow for price changes to be defined for each phase. Alignment rules influence when a subscription starts. Subscriptions may be included into the account billing cycle for the customer, which happens on a day of the month, or they may have their own separate billing cycle if they have daily, weekly, fortnightly or another billing cycle frequency defined. Many many scenarios exist. These scenarios will effect when the invoice gets generated and total amounts to be included on the invoice, which in turn impacts how much needs to be paid. The following is a non exhaustive list of things that can impact the amount that needs to be paid:
|
Beta Was this translation helpful? Give feedback.
-
Concepts / Semantics I still need to clarify the responsibilities allocated to KB and HS and how this will actually be operated in a given region. Background Billing Tenants will need to select the settlement networks that are available in a region. They will need to register their merchant account API keys with HS. For example billing tenants may select 4 networks from the 10 available networks that have been enabled in that region. Account Holders will have a default network / payment method / mandate setup against their account. However more than one payment network / payment method can be enabled for the account holder. Subscriptions can select from these predefined account based payment methods with a subscription chosing to use a payment method that is different to the account default. Design Decisions
First thoughts. More to come. |
Beta Was this translation helpful? Give feedback.
-
Support for Invoice Payment Links I have been reading about payment link functionality here https://docs.hyperswitch.io/features/payment-flows-and-management/payment-links How can we extend this to support Invoice Payment Links for invoices generated out of KB? We are currently thinking about generating a tiny URL based string that can be used to redirect the user to a payment page. |
Beta Was this translation helpful? Give feedback.
-
System Topology / Environments We will be running regional production environments in which we have a many to one hub and spoke structure between Kill Bill instances and Hyperswitch. How will we handle a hub and spoke based topology? Can tenants in HS [Orgs/Merchant/Profile] have a callback URL registered for updating the status of invoice payments to a specific instance of kill bill? |
Beta Was this translation helpful? Give feedback.
-
I have attached a UML class diagram that outlines the kill bill core payments model and classes. |
Beta Was this translation helpful? Give feedback.
-
Merchant Initiated Transactions - AAV Refresh Cycles The recent HS blog post here https://hyperswitch.io/blog/3ri-explained-understanding-merchant-initiated-authentication-clu83otw0002bkudkjlm9yk66 puts the spot light on the need for AAV - The Accountholder Authentication Value refreshes every 90 days. Any ideas on how the Kill Bill \ HS integration will handle this and which system will manage this information and the refresh cycle? |
Beta Was this translation helpful? Give feedback.
-
Marking this as closed for now. |
Beta Was this translation helpful? Give feedback.
-
The Kill plugin for Hyperswitch is still in the development phase and it will be out very soon. I'm creating this thread to discuss suggestions and feedback about the killbill <> hyperswitch plugin.
Beta Was this translation helpful? Give feedback.
All reactions