=== 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": "731533414", "amount": 1, "reason": "Example Payment", "merchantId": "9e2dab64-e2bb-4837-9b85-d855dd878d2b", "signedToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJhbW91bnQiOjEsInBheW1lbnRSZWFzb24iOiJFeGFtcGxlIFBheW1lbnQiLCJtZXJjaGFudElkIjoiOWUyZGFiNjQtZTJiYi00ODM3LTliODUtZDg1NWRkODc4ZDJiIiwiZ2VuZXJhdGVkIjoxNzgxOTQxMzc2fQ.u37nNN3yAcEFZjJuUc5jSVG3u0ZOqT4TReI_ynlolg210Vr2VkaXKWBWxPrkOk25jtkshruVCFh1Ejre_2aLpQ", "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: 731533414 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 ===