working getting the stripe account id and then sending the created temp link
This commit is contained in:
@@ -8,9 +8,16 @@ const { organization, cause, region, stripe } = require('../controllers');
|
||||
// Charity signup route
|
||||
router.post('/', organization.createOrganization);
|
||||
|
||||
// Activate org with stripe
|
||||
// GET Activate org with stripe
|
||||
router.get('/stripe/connect', stripe.activateStripeAccount);
|
||||
|
||||
// GET express ui account link
|
||||
router.get(
|
||||
'/stripe/link',
|
||||
checkAuth(roles.ORGANIZATION),
|
||||
stripe.getExpressUILink
|
||||
);
|
||||
|
||||
// // Add cause
|
||||
// router.post('/cause', checkAuth(roles.ORGANIZATION), cause.createCause);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user