╔════════════════════════════════════════════════════════════════╗ ║ BayarCash Webhook Test Script ║ ╚════════════════════════════════════════════════════════════════╝ Testing webhook endpoint: http://gengsewa.test/payment/callback Test Payload: { "record_type": "transaction", "transaction_id": "TEST_TXN_1765372600", "exchange_reference_number": "EXC1765372600", "exchange_transaction_id": "EXT1765372600", "order_number": "BOOK-1", "currency": "MYR", "amount": "150.00", "payer_name": "Test User", "payer_email": "test@example.com", "payer_bank_name": "Test Bank", "status": 3, "status_description": "Success", "datetime": "2025-12-10 13:16:40", "checksum": "test_checksum_remove_for_production" } Sending POST request... ═══════════════════════════════════════════════════════════════ Response: ═══════════════════════════════════════════════════════════════ HTTP Status Code: 400 Response Body: {"status":"error","message":"Webhook processing failed"} ❌ Webhook test failed! Troubleshooting: 1. Ensure the application is running at: http://gengsewa.test/payment/callback 2. Check that BOOK-1 exists in your bookings table 3. Review application logs: storage/logs/laravel.log 4. Verify CSRF protection is disabled for this route