Skip to content

Stripe integration

Kez requested to merge stripe-integration into main

this one's a bit wide-reaching compared to the paypal integration. i took the paypal code almost directly from their nodejs example, so it never really got hooked up to the civicrm controller. the majority of the business logic in the stripe integration is ported from the tpo/web/donate PHP code, reworked to play nicely with django

  • add async-stripe library (async patch on the stripe library). i've skimmed through their code to check for anything malicious, and it's just monkeypatching the existing stripe library
  • more realistic report_donation method on the civicrm controller (currently called CiviCrmRepository, it needs to be renamed)

marked as draft until i can write tests for this, because there's no way these changes didn't break something

Merge request reports