• Fix #365 - don't try to cancel intents without an id.
  • Don't null stripe_intent_id on error.
  • Test fixes following cleanup of invoice/trxn_id assignment.
  • Add tests for charge.succeeded and charge.captured.
  • Only process charge.captured if captured is set TRUE/1.
  • Deprecate unused functions.
  • Upgrade autogenerated code (civix).