<?php

return [
    'payment_description' => 'Customer can buy product and pay directly using Visa, Credit card via :name',
    'payment_failed' => 'Payment failed!',
    'key' => 'Key',
    'secret' => 'Secret',
    'payment_type' => 'Payment Type',
    'webhook_secret' => 'Webhook Secret',
    'webhook_secret_helper' => 'Get webhook secret key from your Razorpay dashboard to verify webhook requests',
    'register_account' => 'Register an account on :name',
    'after_registration' => 'After registration at :name, you will have API Key ID and API Key Secret',
    'enter_keys' => 'Enter API Key ID and API Key Secret into the box in right hand',
    'learn_more' => 'Learn more',
    'submit' => 'Submit',
    'redirecting' => 'Redirecting to Razorpay...',
    'agree_terms' => 'Please agree to the terms and conditions before proceeding.',
    'webhook_required' => 'Important: Webhook Configuration Required',
    'webhook_required_desc' => 'Webhooks are REQUIRED to prevent orders from going to "Incomplete" status. Without webhooks, payments may succeed but orders will not be marked as completed.',
    'critical_step' => 'CRITICAL STEP:',
    'webhook_instruction' => 'You MUST create a webhook to handle payment notifications. Go to <strong>Account & Settings</strong> → <strong>Webhooks</strong> → <strong>Add New Webhook</strong> in your Razorpay Dashboard.',
    'webhook_url' => 'Webhook URL:',
    'select_events' => 'Select these <strong>Required Events</strong>:',
    'event_authorized' => 'When a payment is authorized',
    'event_captured' => 'When a payment is captured',
    'event_failed' => 'When a payment fails',
    'event_order_paid' => 'When an order is paid',
    'warning' => 'Warning:',
    'webhook_skip_warning' => 'If you skip webhook configuration, your orders will show as "Incomplete" even after successful payment!',
    'webhook_secret_instruction' => 'After creating the webhook, Razorpay will show a <strong>Webhook Secret</strong>. Copy this secret and paste it into the <strong>Webhook Secret</strong> field below. This ensures secure communication between Razorpay and your site.',
    'test_integration' => 'Test Your Integration:',
    'test_payment' => 'Make a test payment in Test Mode first',
    'check_status' => 'Check if the order status updates to "Completed"',
    'verify_webhook' => 'If orders remain "Incomplete", verify your webhook configuration',
    'check_logs' => 'Check payment logs in storage/logs/payment-*.log for debugging',
    'troubleshooting' => 'Troubleshooting Tips:',
    'ssl_required' => 'Ensure your site has a valid SSL certificate (HTTPS)',
    'public_url' => 'Verify webhook URL is publicly accessible (not localhost)',
    'firewall_check' => 'Check that no firewall blocks Razorpay webhook requests',
    'live_mode' => 'For production, ensure Razorpay is in Live Mode, not Test Mode',
];
