api
api copied to clipboard
refactor(stripe): Use PaymentIntent and subscriptions instead of Checkout sessions
Closes #473 #466
Motivation and context
Continuation of #479 -Replaced current implementation of Stripe.Checkout Sessions with Stripe's PaymentIntent and Subscriptions APIs. -Refactored the donation module. Removed any logic not related to donations(e.g. payment provider logic), and moved it to its own module.
- Created Stripe's own module.
- Moved updateDonationPayment, from CampaignService, to DonationService