Support on-chain bitcoin payments.
Since on-chain payments can arrive at any address at any time in the future, payments which arrive after the expiry time will be pro-rated, new paid vm_payment entries should be inserted automatically.
Since every payment must have a unique external_id this column should be used to store the txid.
The invoice column can be used to store the bitcoin address.
Support on-chain bitcoin payments.
Since on-chain payments can arrive at any address at any time in the future, payments which arrive after the expiry time will be pro-rated, new paid
vm_paymententries should be inserted automatically.Since every payment must have a unique
external_idthis column should be used to store the txid.The invoice column can be used to store the bitcoin address.