Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implemented feature to create plan with flutterwave #717

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

EAZYLINK
Copy link
Contributor

@EAZYLINK EAZYLINK commented Aug 8, 2024

What the PR does

This PR implements a feature for an admin to create payment plan.

How to manually test the endpoint

Send the POST request to /api/v1/payment/flutterwave/plan with request body as show below:

{

   "name": "string",
   "price": "string",
   "description": "string",
   "features": "string"[]

}

#Sample response


{

   "status": 201,

   "message": "Payment plan created successfully",

   "data": {

      payment_plan: {}

   }

}

Task list

  • Create an enpoint for admin to create payment plan
  • Validate the input data
  • Check roles to ensure only admin can access the endpoint
  • Write unit test for the endpoint

Linear ticket

https://linear.app/team-bingo/issue/BAC2-197/create-payment-plan-with-flutterwave

Copy link

github-actions bot commented Aug 8, 2024

Here are the latest updates on your deployment. Explore the action and ⭐ star our project for more insights! 🔍

Deployed By Status Preview URL Updated At (UTC)
PR Deploy Failed ❌ Visit Preview Aug 08, 2024 08:01PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant