Subscription Credits
Product page
Kowal Subscription Suite — kowal.co
Description
Track service units such as lesson minutes from allocation through reservation, consumption or release.
For whom
For operators reconciling prepaid units and integrators reserving units for a service.
Features
- Grant units with a source and validity period.
- Place a hold for a planned usage time.
- Consume or release a reservation and inspect the available balance.
Installation
This component is included in Kowal Subscription Suite. Follow the suite installation instructions.
Configuration
- Identify the website, customer, service and unit used by the offer.
- Grant units with their validity dates. When reserving units, provide the usage time, hold expiry and request key. Keep that key for settlement.
Requirements / notes
A hold reserves units for a particular use. Release the hold when the reservation is cancelled, or consume it when the service is delivered.
FAQ
How do I check whether units will be available for a future lesson?
Pass the intended usage time with --at when reading the balance for the same service and unit.
Verify the installation
bin/magento module:status Kowal_SubscriptionCredits
Replace W, C, S and U with the test website ID, customer ID, service identifier and unit type. Run bin/magento kowal:subscription:credits:balance --website-id=W --customer-id=C --service=S --unit=U and compare the result before and after a test reservation.