Stripe Payments
Dog Walking Business Pro integrates with Stripe for online credit and debit card payment processing.
Configuration
Navigate to Dog Walking > Settings > Payments tab and configure the following:
- Test Mode / Live Mode — Toggle between Stripe test and live environments. Always test your integration in Test Mode first.
- Publishable Key — Your Stripe publishable API key (separate keys for test and live modes)
- Secret Key — Your Stripe secret API key (separate keys for test and live modes)
- Webhook Secret — The webhook signing secret from your Stripe dashboard
- Currency — The currency for Stripe transactions
- Invoice Prefix — A custom prefix for invoice numbers (e.g., “DWB-“)
Webhook Setup
The plugin provides a webhook endpoint at:
/wp-json/dwb/v1/webhook
Configure this URL in your Stripe Dashboard > Developers > Webhooks. The webhook receives real-time payment status updates from Stripe, including successful payments, failed charges, and subscription events. Make sure the webhook secret configured in Stripe matches the one entered in your plugin settings.
Payment Flow
You can configure the payment flow to suit your business:
- Collect payment upfront — Charge the customer at the time of booking
- Collect payment on completion — Charge after the service has been performed
Payment Operations
- Send Payment Links — Email a payment link to a customer for an invoice or appointment
- Process Refunds — Issue full or partial refunds through the plugin
- View Payment Details — See transaction status, amounts, and Stripe transaction IDs
Transaction Records
All payments are recorded locally and viewable at Dog Walking > Payments. Each record shows the customer, amount, status, date, and links to the associated appointment or invoice.
Testing
Use the Test Connection button on the Settings page to verify your Stripe API keys are working correctly before processing real payments.
