Page MenuHomePhabricator

๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง Create subscription plans for donations and membership applications
Closed, ResolvedPublic1 Estimated Story Points

Description

When switching to the newer PayPal API, we need to make sure to create plans for recurring payments beforehand. The payment amount can be set during an individual payment process, so we just need to create subscription plans for the different payment intervals. Please refer to the investigation documentation for more details.

Acceptance Criteria

  • There are four payment plans for recurring donations:
    • monthly
    • quarterly
    • half-yearly
    • yearly
  • There are four payment plans for membership fees.
  • The payment plans and how to create them are documented.

Implementation Notes

  • Create an interface for the PayPal API that allows to
    • Get all products (should be 2, donation and membership)
    • Create the products if needed
    • Get all payment plans for a product
    • Create a payment plan for a product
  • Create a use case that uses the PayPal API interface to create missing payment plans.
  • Write two commands:
    • Set up the payment plans (wrapper for the use case)
    • Request payment plan info from PayPal's servers (visualizes result from payment plan)
  • Credentials for accessing the API should be put into secret configuration files
  • Postman or Restfox can be used to test API requests

Event Timeline

kai.nissen set the point value for this task to 13.
CorinnaHillebrand_WMDE renamed this task from Create subscription plans for donations and membership applications to ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง Create subscription plans for donations and membership applications.Jun 19 2023, 3:01 PM
CorinnaHillebrand_WMDE moved this task from Doing to Review on the WMDE-FUN-Sprint-2023-06-12 board.
kai.nissen changed the point value for this task from 13 to 1.
kai.nissen claimed this task.