=== SantimPay Payment Gateway === Welcome to SantimPay Payment Gateway! Available options: 1. Open payment_form.html in your browser for web interface 2. Run 'php test_payment.php' for command-line testing 3. Use SantimpaySDK.php directly in your application Example: Creating payment for 1 ETB... Data to be sent to initiate-payment API: { "id": "450187660", "amount": 1, "reason": "Example Payment", "merchantId": "9e2dab64-e2bb-4837-9b85-d855dd878d2b", "signedToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJhbW91bnQiOjEsInBheW1lbnRSZWFzb24iOiJFeGFtcGxlIFBheW1lbnQiLCJtZXJjaGFudElkIjoiOWUyZGFiNjQtZTJiYi00ODM3LTliODUtZDg1NWRkODc4ZDJiIiwiZ2VuZXJhdGVkIjoxNzg3Mjg4MjMyfQ.GEoqd8VI9f0pDESj4A5KxYJ3O3MClZnGwluALcJGEOhl8-pODQjZhxYzd989uI8f8wTaqlXAJT2Ei55HZG3T1A", "successRedirectUrl": "http:\/\/santim.menorahtrustees.org\/\/success.php", "failureRedirectUrl": "http:\/\/santim.menorahtrustees.org\/\/failure.php", "notifyUrl": "http:\/\/santim.menorahtrustees.org\/\/notify.php", "cancelRedirectUrl": "http:\/\/santim.menorahtrustees.org\/\/cancel.php", "phoneNumber": "+251910015422" } Error: Server error: `POST https://services.santimpay.com/api/v1/gateway/initiate-payment` resulted in a `502 Bad Gateway` response: error code: 502 Payment URL generated successfully! Transaction ID: 450187660 Payment URL: Server error: `POST https://services.santimpay.com/api/v1/gateway/initiate-payment` resulted in a `502 Bad Gateway` response: error code: 502 Opening payment portal automatically in 3 seconds... Please open this URL in your browser: Server error: `POST https://services.santimpay.com/api/v1/gateway/initiate-payment` resulted in a `502 Bad Gateway` response: error code: 502 To test the payment portal: 1. The payment portal should have opened automatically 2. Or use the web interface at: http://santim.menorahtrustees.org//payment_form.html === End ===