1. Enable Paid Submissions
- Navigate to the Settings section of your directory.
- Locate the Paid Submissions option.
- Enable Paid Submissions and select Stripe as the payment provider.
2. Configure Stripe API Keys
To integrate Stripe, you need to obtain your API keys from the Stripe dashboard.- Log in to your Stripe Dashboard.
- Navigate to the API Keys section (search for “API Keys” in the dashboard search bar).
- Copy the following keys:
- Publishable Key
- Secret Key
- Paste these keys into the corresponding fields in your directory settings.
3. Configure Webhooks
Webhooks are required for Stripe to communicate payment events with your directory.- In your directory settings, locate the Webhook URL.
- Go to the Webhooks section in your Stripe dashboard.
- Click Create Destination and paste the Webhook URL provided by your directory.
- Select Events to listen to. For simplicity, select All Events.
- Click Add Endpoint.
- Once the endpoint is created, Stripe will generate a Signing Secret.
- Copy the Signing Secret and paste it into the corresponding field in your directory settings.
- Click Verify Credentials to ensure proper connection.
4. Create Payment Plans in Stripe
- Navigate to Products in your Stripe dashboard.
- Create a New Product for each submission plan.
- You can create Subscription Plans (e.g., Monthly, Yearly).
- You can also create One-Time Payment Plans.
- Save your products.
5. Sync Payment Plans with Your Directory
Once your Stripe integration is set up, your directory will automatically fetch available plans.- Verify that your plans are listed in the directory settings.
- You can:
- Modify plan descriptions.
- Change button text.
- Add features to display.
- Hide plans that you don’t want users to see.
- Click Save to finalize the setup.
6. User Experience for Paid Submissions
- A user submits their content to the directory.
- They are directed to the submission dashboard.
- They click Pay and Submit for Review.
- Available plans (subscription or one-time payments) are displayed.
- The user selects a plan and completes payment via Stripe.
- Upon successful payment, their submission is processed for review.