Getting Started
This guide will help you get started with implementing recurring billing using Paysera Checkout API.
Prerequisites​
Before you begin, make sure you understand if this solution fits your requirements:
- Review the Overview to understand what recurring billing is
- Understand the payment flow and technical requirements
- Determine if your business case matches the recurring billing model
Implementation Steps​
Step 1: Create Paysera Account​
If you don't have a Paysera account yet, you need to register first.
Register here: https://bank.paysera.com/en/registration
Recurring billing is available only in the Production environment. There is no separate test environment.
Step 2: Create Checkout Project​
After creating your Paysera account, set up a Checkout project:
- Log in to your Paysera account
- Navigate to "Projects and Activities" → "My projects"
- Click "Create New Project"
- Fill in the required information:
- Project name
- Business description
- Website URL
- Service details
You don't need to activate the project immediately. You can configure all settings first and activate it later.
Step 3: Contact Paysera for Recurring Billing Access​
Recurring billing requires special approval from Paysera support.
Contact Information:
- Email: support@paysera.com
- Phone: +44 20 80996963
What to include in your request:
- Your project ID
- Business description and service details
- Use case for recurring billing (how you plan to use it)
- Expected transaction volume
- Implementation description
Step 4: Receive API Credentials​
Upon approval, Paysera will provide you with authentication credentials:
business_id- Your business identifiermac_id- MAC authentication IDmac_key- Secret key for signing requests (keep confidential!)mac_algorithm- Algorithm for MAC calculation (typicallyhmac-sha-256)
Never expose your mac_key in:
- Client-side code
- Public repositories
- Log files
- API responses
Always store it securely on your server using environment variables or secure configuration management.
Step 5: Enable Real Payments​
After successful testing and approval:
- Contact Paysera support again
- Request to enable real payment collection
- Confirm your implementation is working correctly
- Wait for final approval
Testing Your Integration​
During development:
- Use your production credentials
- Test with small amounts
- Verify callback handling
- Test error scenarios
- Ensure proper notification processing
Next Steps
After completing the setup:
- Review API Fundamentals to understand authentication and requests
- Learn about Payment Collection
- Implement Recurring Billing flow
- Check Examples for code samples
- Review available Libraries for easier integration
Support​
Need help with complex integrations?
Contact: tech_support@paysera.com
Common Issues​
Project Not Approved​
If your project isn't approved for recurring billing:
- Verify all business information is complete
- Provide detailed use case description
- Ensure your business model is compatible
- Contact support for clarification
Can't Find Project ID​
- Log in to Paysera account
- Go to "Projects and Activities" → "My projects"
- Click on your project
- Project ID is displayed in project details
Credentials Not Working​
If API credentials aren't working:
- Verify you're using the correct
mac_idandmac_keyreceived from Paysera - Check that you're using HTTPS
- Ensure MAC signature is calculated correctly using the proper algorithm
- Verify your project has been approved for recurring billing
- Check that timestamp (
ts) is current