Hi Team,
I have performed the local test as suggested by other devs:
Local PC Test: Successful. The payment initiation works perfectly from my local Zimbabwean IP.
Production (Supabase) Test: Fails consistently with Connection reset by peer (os error 104) .
Technical Confirmation from Supabase:I have verified with Supabase technical documentation that Supabase Edge Functions do not have an outbound firewall. They are open by default on port 443. The “Connection Reset” error indicates that the Paynow server is terminating the TCP handshake when it detects a request from a foreign cloud IP range (Supabase uses dynamic global IPs).
Requested Integration Details:
- Runtime: Deno (via Supabase Edge Functions)
- Library: Standard
fetchAPI / Paynow Node.js SDK - Endpoint:
https://www.paynow.co.zw/Interface/InitiateTransaction - Error Log: Type Error: error sending request… client error (Connect): Connection reset by peer (os error 104)`
Request: Since Supabase uses a dynamic IP range, I cannot provide a single static IP for whitelisting. Could you please whitelist to allow API calls originating from international cloud data centers?