=== 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": "628298339", "amount": 1, "reason": "Example Payment", "merchantId": "9e2dab64-e2bb-4837-9b85-d855dd878d2b", "signedToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJhbW91bnQiOjEsInBheW1lbnRSZWFzb24iOiJFeGFtcGxlIFBheW1lbnQiLCJtZXJjaGFudElkIjoiOWUyZGFiNjQtZTJiYi00ODM3LTliODUtZDg1NWRkODc4ZDJiIiwiZ2VuZXJhdGVkIjoxNzc2NTk4OTcxfQ.vom74t6aQukUz0EI5nOhvYrmnT-15WKwdel_Qjz8LJeMXxGvx9l_e_Z89ny1_lACHhPXQ2dRf8FM8Sr2RFBa5g", "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: Client error: `POST https://services.santimpay.com/api/v1/gateway/initiate-payment` resulted in a `400 Bad Request` response: {"reason":"invalid key"} Payment URL generated successfully! Transaction ID: 628298339 Payment URL: Client error: `POST https://services.santimpay.com/api/v1/gateway/initiate-payment` resulted in a `400 Bad Request` response: {"reason":"invalid key"} Opening payment portal automatically in 3 seconds... Please open this URL in your browser: Client error: `POST https://services.santimpay.com/api/v1/gateway/initiate-payment` resulted in a `400 Bad Request` response: {"reason":"invalid key"} 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 ===