Home GnuPG

Log infos about subscriptions.

Description

Log infos about subscriptions.

* src/commands.c (cmd_chargecard): Write a journal record for
subscriptions.
* src/journal.c (jrnl_store_charge_record): New arg RECUR.  Change
callers.  Write subscription record.
* src/jrnl-fields.h (JRNL_FIELD_RECUR): New.
(NO_OF_JRNL_FIELDS): Increment.
* src/payproc-stat.c: Extend stat format.
(one_line): Support subscription records.
(read_stat_line): Ditto.
(postprocess_statrecords): Ditto.
(print_output): Ditto.

These changes allow to track the number and the pledged amount of
subscriptions (i.e. recurring donations).

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 11 2017, 4:00 PM
Parents
rPAY4e8a7d64ee7e: Set the payprocd socket permissions.
Branches
Unknown
Tags
Unknown