config.js file with your credentials:
// Edit /config.js file
window.RUNTIME_CONFIG = {
// Your Organization Settings
TENANT_ID: 'your-company',
COMPANY_NAME: 'Your Company Name',
// Merchant Warrior Credentials (PRODUCTION)
MW_MERCHANT_UUID: 'your_live_merchant_uuid',
MW_API_KEY: 'your_live_api_key',
MW_PASSPHRASE: 'your_live_passphrase',
MW_PAYFRAME_JS_URL: 'https://secure.merchantwarrior.com/payframe/payframe.js',
MW_PAYFRAME_URL: 'https://secure.merchantwarrior.com/payframe/',
MW_SUBMIT_URL: 'https://api.merchantwarrior.com/payframe/',
// Email Configuration
EMAILJS_SERVICE_ID: 'your_emailjs_service_id',
EMAILJS_PUBLIC_KEY: 'your_emailjs_public_key',
EMAILJS_USER_SUCCESS_TEMPLATE_ID: 'template_success',
EMAILJS_USER_FAILURE_TEMPLATE_ID: 'template_failure',
EMAILJS_ADMIN_NOTIFICATION_TEMPLATE_ID: 'template_admin',
ADMIN_EMAIL: 'admin@yourcompany.com',
// Branding
PRIMARY_COLOR: '#your-brand-color',
SECONDARY_COLOR: '#your-secondary-color',
SUPPORT_EMAIL: 'support@yourcompany.com',
// Features
VATU_CONVERTER: false, // Set to true if you need VATU conversion
EMAIL_NOTIFICATIONS: true
};
RewriteEngine On RewriteRule ^(?!.*\.).*$ /index.html [L]
location / {
try_files $uri $uri/ /index.html;
}
https://yourdomain.com/?amount=10.00https://yourdomain.com/?amount=50.00&name=John%20Doe&email=john@example.comhttps://yourdomain.com/?amount=25.00&return_url=https://yourapp.com/successIf you need help: