I have tried both methods to integrate Stripe into forest:
-
The stand-alone project, which works perfectly fine. I can see the actions as they should be.
-
Integration into the project (in dev environment for now):
app.use(
await Liana.init({
configDir: path.join(__dirname, '../collections'),
envSecret: process.env.FOREST_ENV_SECRET,
authSecret: process.env.FOREST_AUTH_SECRET,
objectMapping,
connections,
integrations: {
stripe: {
apiKey: process.env.STRIPE_SECRET_KEY,
mapping: 'users.stripeId',
stripe: require('stripe')
}
}
})
);
which does display the data within the user’s details view:
Expected behavior
To be able to refund clients with the ‘Refund’ action.
Actual behavior
The ‘Refund’ action does not appear in the Actions menu, only the following item is there:
and when I click on a payment, i see the following view:
Context
- Package Version: forest-express-sequelize 7.6.3
- Express Version: 4.17.1
- Sequelize Version: 5.8.9
- Database Dialect: postgres
- Database Version: 12
- Project Name: Kokoon.1