Take payments with Stripe
Connect your own Stripe account to Magnibiz with API keys, choose your currency, collect VAT by country, and try purchases with test keys first.
Last updated 1 Dec 2026
Magnibiz takes payments through your own Stripe account. You connect Stripe by adding your API keys under Settings > Payments. Here you also choose your default currency and the countries you collect VAT (sales tax) from. The money goes straight to your Stripe account.
How to do it
Connect Stripe
- Log in to Stripe and go to Developers > API keys.
- Go to Settings > Payments. Under "Stripe", click "Add key" next to "Publishable key" and paste your publishable key (it starts with pk_live_).
- Click "Add key" next to "Secret key" and paste your secret key (it starts with sk_live_).
- Click "Save changes". It says "Saved", and each key shows only its start and last 4 characters.
To try purchases without real money, add your test keys (pk_test_ and sk_test_) under "Test mode" in "Test publishable key" and "Test secret key".
Change a key
- Click "Replace key" next to the key and paste the new one.
- Click "Save changes". If you leave the field empty, the current key is kept.
Afterwards the key shows "Changed <date> by <name>", so you can see who changed it last.
Choose a currency
- Choose "Default currency" under "Defaults".
- Turn on "Use more than one currency" if you want to sell in several currencies. When it is off, all prices, bookings and discount codes are in the default currency.
- Click "Save changes".
Add a VAT country
- Click "Add country" under "VAT".
- Choose "Country" and enter the "Tax rate %", for example 25.
- Turn on "Test mode" if the rate should only be used for test payments with your test keys.
- Click "Add country".
Click "Remove" next to a country to stop collecting VAT there.
Good to know
- Without keys you cannot take payments. You can create products and prices first. They are created in Stripe once you have added the keys.
- The keys are never shown in full, not even to you. If you need to see a key, find it in Stripe.
- Your secret key is checked with Stripe when you save.
- When you save a new live secret key, Magnibiz sets up the connection itself so Stripe reports payments (webhook). The same happens for a new test secret key. You don't need to create anything in Stripe.
- VAT is added on top of the price. It follows the buyer's country: if the country is on the list, checkout shows, for example, "Tax (25%)". If the country is not on the list, no VAT is charged.
- Test products and test discount codes use the test keys. Real products use the live keys. Test VAT rates apply only to test payments.
- You can have only one rate per country (and one test rate per country).
- Payouts from Stripe to your bank account, fees, and Stripe's rules for retrying payments are managed in Stripe. Invoices can be opened with "Open in Stripe" from an order.
- "Terms of service page" chooses the web page with your terms and conditions that buyers must accept.
- "Notify user on payment events" chooses which administrator is notified about payments.
- The "Get started" card on "Overview" has the steps "Currency and VAT" and "Connect Stripe", which lead here.
If something goes wrong
- "Invalid live secret key" or "Invalid test secret key": the key was copied wrong or has been deleted in Stripe. Copy it again from Developers > API keys.
- "You cannot use live API keys in test": you put a pk_live_ key under "Test mode". Use your pk_test_ key.
- Real purchases don't go through: check that the keys at the top start with pk_live_ and sk_live_, and that the test keys are only under "Test mode".
- The keys come from a different Stripe account: the publishable and secret key must be from the same account. If you switch accounts, your earlier customers, subscriptions and installment plans stay in the old account.
- "Tax rate for this country already exists": remove the old rate and add the country again with the new rate.
- The buyer isn't charged VAT: check that the buyer's country is listed under "VAT", and that it isn't only set as a test rate.