Configure Stripe, PayPal, and other payment gateways
Payment Gateways
Configure payment gateways to accept payments on your platform. Deeplancer supports Stripe, PayPal, and Wallet payments.
Location: Dashboard → Payment → Gateways
Gateway Overview
View all available payment gateways and their status.
- Go to Dashboard → Payment → Gateways
- See list of all gateways (Stripe, PayPal, Wallet)
- Check which gateways are Active or Inactive
- Click on a gateway to configure it
Stripe Setup
Configure Stripe to accept credit card payments.
Location: Dashboard → Payment → Gateways → Stripe
Getting Stripe API Keys
- Sign up or log in to Stripe Dashboard
- Go to Developers → API keys
- Copy your Publishable key and Secret key
- For webhooks, go to Developers → Webhooks and create an endpoint
Configuring Stripe
- Go to Dashboard → Payment → Gateways → Stripe
- Fill in Basic Information:
- Display Name - Name shown to users (e.g., "Credit Card" or "Stripe")
- Logo - Upload gateway logo (optional, max 2MB)
- Enter API Keys:
- Public Key - Stripe publishable key (starts with
pk_)
- Secret Key - Stripe secret key (starts with
sk_)
- Webhook Secret - Webhook signing secret (starts with
whsec_)
- Configure Fees:
- Deposit Fee (Percentage) - Percentage fee for deposits (e.g., 2.5)
- Deposit Fee (Fixed) - Fixed fee in cents (e.g., 30 = $0.30)
- Gig Payment Fee (Percentage) - Percentage fee for gig payments
- Gig Payment Fee (Fixed) - Fixed fee for gig payments
- Set Limits:
- Minimum Deposit - Minimum deposit amount in cents
- Minimum Withdrawal - Minimum withdrawal amount in cents
- Click "Save"
- Toggle "Active" to enable Stripe
Stripe Webhook Setup
For payment notifications, configure Stripe webhooks.
- In Stripe Dashboard, go to Developers → Webhooks
- Click "Add endpoint"
- Enter your webhook URL:
https://yourdomain.com/webhook/stripe
- Select events to listen to:
payment_intent.succeeded, payment_intent.payment_failed, charge.refunded
- Copy the Signing secret and paste it in Webhook Secret field
- Save webhook configuration
PayPal Setup
Configure PayPal to accept PayPal payments.
Location: Dashboard → Payment → Gateways → PayPal
Getting PayPal Credentials
- Sign up or log in to PayPal Developer
- Go to My Apps & Credentials
- Create a new app or use existing one
- Copy Client ID and Client Secret
- Note your Sandbox and Live credentials separately
Configuring PayPal
- Go to Dashboard → Payment → Gateways → PayPal
- Fill in Basic Information:
- Display Name - Name shown to users
- Logo - Upload PayPal logo (optional)
- Enter API Credentials:
- Client ID - PayPal application client ID
- Client Secret - PayPal application client secret
- Select Mode:
- Sandbox - For testing (use sandbox credentials)
- Live - For production (use live credentials)
- Configure Fees (same as Stripe):
- Deposit fees (percentage and fixed)
- Gig payment fees
- Project payment fees
- Offer payment fees
- Set Limits:
- Minimum deposit and withdrawal amounts
- Click "Save"
- Toggle "Active" to enable PayPal
Wallet Setup
Configure internal wallet system for users.
Location: Dashboard → Payment → Gateways → Wallet
Wallet allows users to deposit funds and use them for payments without external gateways.
- Go to Dashboard → Payment → Gateways → Wallet
- Configure Display Name and Logo
- Set Fees (if any)
- Set Limits for deposits and withdrawals
- Click "Save"
- Toggle "Active" to enable Wallet
Fee Configuration
Configure fees for each payment type.
Deposit Fees:
- Applied when users deposit money to their account
- Can be percentage (e.g., 2.5%) or fixed amount (e.g., $0.30)
- Or both combined
Gig Payment Fees:
- Applied when clients pay for gigs
- Percentage and/or fixed amount
Example:
- Deposit Fee: 2.5% + $0.30
- If user deposits $100: Fee = $2.50 + $0.30 = $2.80, User receives $97.20
Activating Gateways
After configuration, activate the gateway.
- Go to gateway configuration page
- Find the "Active" toggle
- Toggle it to ON
- Gateway becomes available to users
Only active gateways appear in payment options for users.
Testing Payments
Stripe Test Mode:
- Use test API keys (start with
pk_test_ and sk_test_)
- Test with card number:
4242 4242 4242 4242
- Use any future expiry date and any CVC
PayPal Sandbox:
- Use sandbox mode and sandbox credentials
- Create test accounts in PayPal Developer dashboard
- Test payments without real money
Troubleshooting
Gateway not appearing:
- Check if gateway is activated (toggle ON)
- Verify API keys are correct
- Check for error messages in gateway configuration
Payments failing:
- Verify API keys are valid
- Check webhook configuration (for Stripe)
- Ensure mode is set correctly (Sandbox vs Live)
- Check minimum deposit/withdrawal limits
Webhook issues:
- Verify webhook URL is accessible
- Check webhook secret matches Stripe dashboard
- Ensure SSL certificate is valid (HTTPS required)