~singpolyma/jmp-pay

ref: b243062f2e341c65ffcf4daeb91ccedcc43a0b26 jmp-pay/bin/billing_monthly_cronjob -rwxr-xr-x 4.4 KiB
Include BTC addresses in notification, if there are any
If a user has no balance, then their balance is 0
Only notify expired users once a week
Fix Dhall signature

The config got updated, but the signature was missed.
Update schema and INSERT to plan_log using new range type

plan_log has been updated to use a range type, so our INSERTs need to be
updated as well.
Send notifications using Cheogram whispers

This way they don't need an assigned tel to work.
Notify customer when renewal fails due to low balance

This is done by sending from a configured JID to <tel>@cheogram.com in order to
have them receive a message from support.
Create initial monthly billing cronjob

Renews all expired plans where there is enough balance to do so.

Sets expires_at on all renewed plans to one month from today, so even if they
were very expired they are up to date the moment they pay.