Home GnuPG

Finish implementation of Paypal recurring donations.

Description

Finish implementation of Paypal recurring donations.

* src/account.c (open_account_db): Add new column 'paypal_payer_id'
(update_account_record): Update this field.
* src/commands.c (cmd_ppcheckout): Call paypal_create_subscription and
store journal records for recurring payments.
* src/util.c (get_full_isotime): New.
* src/paypal.c (call_paypal): Allow for full URLs.  Debug response
also for non-valid JSON.
(find_execute_url): New.
(find_payer_id): New.
(paypal_find_create_plan): Export _plan_name.
(paypal_create_subscription): New.
(paypal_checkout_prepare): Check that a session id exists.
(paypal_checkout_execute): Support subscriptions.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 22 2017, 8:39 AM
Parents
rPAYe0ed35737fca: First changes for Paypal recurring donations.
Branches
Unknown
Tags
Unknown