Connecting Stripe

Accept credit card payments through Stripe.

Intermediate6 min read4 sections

Stripe Integration

Stripe lets guests, residents, campers, members, or customers pay invoices by credit or debit card. Payments are processed securely through Stripe and recorded automatically in LodgeKit. You can also enable Stripe for the self-service portal.

Setting Up Stripe

Go to [Dashboard > Settings > Integrations](/dashboard/settings/integrations) and find the Stripe card. You'll need your API keys from the Stripe Dashboard.

API Keys

LodgeKit needs your Stripe publishable key and secret key. Log in to your Stripe Dashboard and go to Developers > API Keys. Copy both keys into your LodgeKit hosting configuration. Use test keys during setup and switch to live keys when you're ready.

Don't mix up your keys

The publishable key starts with pk_ and the secret key starts with sk_. Never share your secret key or commit it to version control.

Testing the Connection

Once your API keys are configured, click Test Connection on the [integrations page](/dashboard/settings/integrations) to verify everything is working.

Configuring Webhooks

Webhooks let Stripe notify LodgeKit about payment events in real time. In your Stripe Dashboard, go to Developers > Webhooks and add the endpoint URL shown in LodgeKit's Stripe settings.

Self-Service Portal Payments

With Stripe connected, guests, residents, campers, members, or customers can pay their invoices directly from the self-service portal. They'll see a Pay Now button on each unpaid invoice.

Testing Payments

Before going live, test with Stripe's test card numbers.

Test card numbers

Use 4242 4242 4242 4242 with any future expiry and any 3-digit CVC for a successful payment. Use 4000 0000 0000 0002 to simulate a declined card.

Was this article helpful?

LodgeKit — Accommodation Management Software for Property Managers