You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The best way to achieve this with current system is to use the entitlement api to intercept the subscription call.
Make a 'standalone' payment - if fail abort the call. If success:
Generate a credit on the account for the amount
Have the subscription call complete and consume the credit
The payment will not be linked to the subscription though (so I realize this is not optimal), but as a workaround we can use custom tags to create a link between the two (e.g. analytics reports, ...).
If a flag or switche was passed to the create subscription API this flow could be managed by the backend. We could create a new subscription state called verifying_payment or extend the PENDING state to PENDING_PAYMENT to reflect this.
How are we able to ensure that payment is successfully processed before creating a subscription? A number of discussions have occurred about this. See https://groups.google.com/g/killbilling-users/c/kEmVrRA7_08/m/oTBfvKdgAQAJ
The text was updated successfully, but these errors were encountered: