Feature(s) impacted
Stripe integration
Observed behavior
My stripe fields are not returning any data
I’m currently using a sandbox stripe api key
Expected behavior
Having Stripe data being returned (my Stripe sandbox has a lot of cards / payments linked to my clients local database)
Failure Logs
Here is my forestadmin.js middleware
const chalk = require('chalk');
const path = require('path');
const Liana = require('forest-express-sequelize');
const { objectMapping, connections } = require('../models');
module.exports = async function forestadmin(app) {
app.use(await Liana.init({
configDir: path.join(__dirname, '../forest'),
envSecret: process.env.FOREST_ENV_SECRET,
authSecret: process.env.FOREST_AUTH_SECRET,
schemaDir: process.env.FOREST_SCHEMA_DIR,
objectMapping,
connections,
integrations: {
stripe: {
apiKey: process.env.STRIPE_ENV_KEY,
mapping: 'clients.stripe_client_id',
stripe: require('stripe')
}
}
}));
console.log(chalk.cyan('Your admin panel is available here: https://app.forestadmin.com/projects'));
};
In the Stripe API logs, the API seems to never be called at all.
I don’t have any error in the forest node console.
Context
- Project name: Blockpulse Admin Panel
- Team name: Operations
- Environment name: Development