Prerequisites
Before you begin, ensure you have:- An active Stripe account
- Access to your Aikeedo admin panel
- Your domain properly configured with SSL enabled
Step 1: Set Up Your Stripe Account
If you haven’t already, sign up for a Stripe account:- Visit the Stripe website and click “Start now” or “Create account”
- Follow the prompts to create and verify your account
- Complete any additional verification steps required by Stripe
Step 2: Obtain Stripe API Keys
To connect Aikeedo with Stripe, you’ll need to retrieve your API keys:- Log in to your Stripe Dashboard
- Navigate to Developers > API keys
- You’ll see two types of keys:
- Publishable key: Starts with
pk_ - Secret key: Starts with
sk_
- Publishable key: Starts with
Keep your secret key confidential! Never share it publicly or include it in
client-side code.
Step 3: Set Up Stripe Webhooks
Webhooks are crucial for handling recurring payments and keeping your Aikeedo platform in sync with Stripe. Here’s how to set them up:- In your Stripe Dashboard, go to Developers > Webhooks
- Click “Add endpoint”
- Enter your webhook URL:
https://your-aikeedo-domain.com/webhooks/stripe - Under “Events to send,” select the following:
invoice.createdinvoice.updatedinvoice.finalizedinvoice.marked_uncollectibleinvoice.payment_succeededinvoice.deletedinvoice.voidedcustomer.subscription.updatedcustomer.subscription.deleted
- Click “Add endpoint” to create the webhook
- After creation, you’ll see a “Signing secret” - copy this for later use
Step 4: Enable Stripe in Aikeedo
Now that you have your Stripe account set up, it’s time to configure Aikeedo:- Log in to your Aikeedo admin panel
- Navigate to Settings > Payments > Stripe
- Toggle the switch to enable Stripe payments
- Choose the appropriate mode:
- Test: For testing payments (use Stripe’s test cards)
- Live: For processing real transactions
- Enter the following details:
- API Publishable Key: Your Stripe publishable key
- API Secret Key: Your Stripe secret key
- Webhook Secret: The signing secret from your webhook setup
- Click “Save changes” to apply your settings
Congratulations! Stripe payments are now enabled on your Aikeedo platform.
Testing Your Integration
Before going live, it’s crucial to test your Stripe integration:- Set Aikeedo to “Test” mode
- Use Stripe’s test card numbers to simulate various payment scenarios
- Create a test subscription or product purchase
- Verify that payments are processed correctly and webhooks are functioning
Troubleshooting
If you encounter any issues with your Stripe integration, try these steps:- Double-check all API keys and secrets for accuracy
- Ensure your webhook URL is correct and accessible
- Review Stripe’s dashboard for any error logs or failed webhook attempts
- Check Aikeedo’s error logs for any integration-related issues
Form types
Aikeedo supports three form types for Stripe payments. You can select the form type in Settings > Payments > Stripe under the Form type dropdown:| Form type | Description |
|---|---|
| Simple | A minimal card-only input form. |
| Advanced | A full card form that includes all payment methods enabled in your Stripe account (e.g. wallets, local methods). |
| Hosted Checkout | Redirects customers to a Stripe-hosted checkout page to complete payment, rather than an embedded form on your platform. |
Stripe Automatic Tax Collection
When Hosted Checkout is selected as the form type, an additional Automatic Tax option becomes available. When enabled, Stripe determines the correct tax rates and collects tax on your behalf — no manual rate configuration or tax engine plugin required. To enable Stripe Automatic Tax Collection:- Navigate to Settings > Payments > Stripe in your admin panel.
- Set Form type to Hosted Checkout.
- Under the Tax section, toggle on Automatic Tax.
- Click Save changes.
Enable Automatic Tax only when no other tax engine plugin is active in your
billing settings. Running both simultaneously will result in double tax
calculation.
Stripe Automatic Tax Collection is a separate feature from the Stripe Tax
Engine plugin. The plugin calculates
tax using the Stripe Tax Calculations API for use within Aikeedo’s checkout
flow, while Automatic Tax Collection delegates tax handling entirely to
Stripe.