Installation & Setup Guide
Overview
The WP Dating Paystack Addon allows your WP Dating website to accept payments via Paystack.
It supports:
- Membership payments
- Credit purchases
- Optional recurring subscriptions
Requirements
Before installing, make sure you have:
- WordPress 5.0+
- WP Dating (main plugin) installed and activated
- PHP 7.0+
- SSL certificate (HTTPS required)
- A Paystack merchant account
1. Create a Paystack Account
- Go to https://paystack.com
- Create a free account
- Verify your email
- Complete business verification
Once approved:
- Log into Paystack Dashboard
- Go to Settings → API Keys & Webhooks
Copy:
- Public Key
pk_test_...orpk_live_... - Secret Key
sk_test_...orsk_live_...
⚠️ Keep your Secret Key private.
2. Install the Plugin
Option A – Upload via WordPress
- Go to WordPress Admin → Plugins → Add New
- Click Upload Plugin
- Upload the ZIP file
- Click Install
- Click Activate
Option B – Manual Installation (FTP)
- Upload the plugin folder to:
/wp-content/plugins/wpdating-payment-paystack/
- Activate plugin in: WordPress Admin → Plugins
3. Configure Paystack in WordPress
- Go to: DSP Admin → Paystack
- Fill in: Required Fields
- Secret Key: Your Paystack secret key
- Public Ke:y Your Paystack public key
- Currency Symbol
Example: - NGN or ₦
- GHS or ₵
- ZAR or R
- Button Label
Example:
Pay with Paystack - Enable Recurring (optional)
Check this if you want subscription payments. - Click Save Changes
4. Setup Webhook (Important)
Paystack must notify your website after payments.
Your webhook URL:
https://yourdomain.com/?wpdating-api=wc_gateway_paystack
Add it in Paystack:
- Paystack Dashboard → Settings → API Keys & Webhooks
- Click Add Webhook URL
- Paste your webhook URL
- Enable:
✅ charge.success
✅ subscription.create (if using recurring)
Save.
5. Test Payments (Recommended)
Use Paystack test keys first.
Test Card
Card Number:
4084084084084081
CVV: any 3 digits
Expiry: any future date
Test:
- Membership purchase
- Credit purchase
- Subscription (if enabled)
Confirm:
- Payment completes
- User receives membership or credits
Logs
Webhook log file:
/wp-content/plugins/wpdating-payment-paystack/wpdating_webhook_log_file.log
Use this to diagnose payment issues.
Common Problems
Paystack not showing
- WP Dating plugin must be active
- Check API keys
- Reactivate plugin
Payment successful, but the user was not updated
- Verify webhook URL
- Check webhook log
- Confirm HTTPS is working
Button missing
- Make sure plans exist in WP Dating
- Confirm Paystack keys are saved
Support
Before contacting support:
- Test with Paystack test keys
- Check webhook log
- Verify SSL
- Disable cache plugins temporarily
Plugin Support
Email: wpdatingplugin@gmail.com
Website: https://wpdating.com
Please include:
- WordPress version
- WP Dating version
- Paystack addon version
- PHP version
- Error messages
Security Notes
- Never share Secret Key
- Always use HTTPS
- Keep WordPress updated
- Use strong admin passwords
- Make regular backups
What This Plugin Handles
- One-time payments
- Membership upgrades
- Credit purchases
- Optional subscriptions
- Automatic webhook processing
Plugin Version: 1.0.1
If you’d like, next I can also provide:
✅ Short “Quick Start” version
✅ FAQ section
✅ Screenshots captions
✅ Changelog template