FUNDISHA.SITE — SonicPesa LIVE PHP / cPanel build

1. Upload the contents of this ZIP into public_html.
2. Open config.php and replace PUT_YOUR_SONICPESA_API_KEY_HERE with your real SonicPesa API key.
3. There is also SONICPESA_ACCESS_KEY in config.php because you asked for a place to keep it. The current SonicPesa v1 documentation authenticates API requests with X-API-KEY; the access-key variable is therefore not sent unless SonicPesa gives you separate instructions requiring it.
4. The payment amount is SERVER-FORCED to exactly TZS 200. The browser cannot change it by sending another amount.
5. Customer enters the payment phone number, then LIPA SASA calls api/payment_create.php. The PHP endpoint calls SonicPesa create_order.
6. The browser polls api/payment_status.php until SUCCESS/terminal status.
7. Post-payment UI is shown only after the server reports SUCCESS.
8. Do not expose config.php or paste your API key into index.html/script.js. The included .htaccess blocks direct access to config.php on Apache/cPanel.
9. PHP cURL must be enabled on the hosting account.

Official SonicPesa docs: https://docs.sonicpesa.com/pages/payments.html
