This is a Stripe Example service module for the Flow XO platform. For more details on how to develop and test this service, please refer to the Flow XO SDK.
Steps to run the service from the command line using the Flow XO SDK
# Clone the repo
git clone https://github.com/flowxo/flowxo-services-stripe-example
cd flowxo-services-stripe-example
# Install the dependencies
npm install
grunt init
# Create a .env file with the following content (no hashes):
STRIPE_EXAMPLE_ID=<YOUR_APP_ID>
STRIPE_EXAMPLE_SECRET=<YOUR_APP_SECRET>
# Create an authentication
grunt auth
# Run methods
grunt run
# Clone the repo
git clone https://github.com/flowxo/flowxo-services-stripe-example
# Install the dependencies
npm install -g yo grunt-cli
npm install
grunt init
# Generate a new method
yo flowxo:method
# Watch files for changes and running style checks on change
grunt
# Create/renew an authentication file
grunt auth
# Run integration tests, using authentication
grunt run [--record --replay --name=<name>]