Home GnuPG

First changes for Paypal recurring donations.

Description

First changes for Paypal recurring donations.

* src/commands.c (cmd_ppcheckout): Add some code for recurring
donations.
* src/paypal.c (status_unauthorized_seen): New flag.
(call_paypal): Improve debugging code.  Set that new flag.  Add arg
REQ_METHOD and change callers to provide that.
(get_access_token): Flush cache after a 401 was seen.
(find_plan): New.
(paypal_find_create_plan): New.
* src/t-util.c (test_convert_amount): Add garbage tests.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 19 2017, 10:30 AM
Parents
rPAY810643ceb6ee: Do not fail a call to paypal or stripe with no return data.
Branches
Unknown
Tags
Unknown