To start accepting payments in your mobile app, you only need one thing: a Stripe account.
Step 1: Create or Log In to Your Stripe Account
- Go to https://stripe.com
- Click “Start now” or “Sign in” at the top right
- Follow the instructions to complete your account setup (business name, bank info, etc.)
If you already have a Stripe account, just sign in.
Step 2: Find Your API Keys
Once logged into Stripe:
- Open the Dashboard
- Go to Developers → API keys
- Copy these two keys:
- Publishable key (starts with
pk_live_
) - Secret key (starts with
sk_live_
)
⚠️ Keep your secret key private. Never share it publicly.
Step 3: Paste Your Keys in the App Dashboard
- Go to your App Dashboard on Apptree
- Navigate to the E-Commerce > Settings section
- Paste both the publishable and secret keys into the fields provided
- Save your changes
You're all set! Stripe is now connected and your users can start making payments directly in your app.
đź§Ş Want to Test Before Going Live?
Stripe makes it easy to test the payment flow:
- In your Stripe Dashboard, switch to Test Mode (toggle at the top right)
- Copy your test API keys from the same “API keys” page
- Paste them into your app dashboard (instead of the live keys)
- Use Stripe’s test card numbers (like
4242 4242 4242 4242
) to simulate a payment
When you're ready to go live, just replace the test keys with your live API keys.