FOMO Pay IPG PVT Sign-off Tests

Part-by-part tests 1-6 from the sign-off criteria. Fill config once, then copy the generated curl and compare the live response with the expected JSON shape.

Config

curl uses -u "MID:PSK". Keep the same orderNo / transactionNo when retrying after connection errors.

1. Success Sale Request

Run 1A HOSTED and 1B DIRECT. A unique orderNo is required for every new POST.

1A curl

        
1A expected JSON

        
1B curl

        
1B expected JSON

        

2. Success Query Request

curl

        
expected JSON

        

3. Success Refund Request

curl

        
expected JSON

        

4. Success Refund Transaction Query

curl

        
expected JSON

        

5. Success Notify and Query

5A creates a DIRECT sale using your notifyUrl. 5B is the callback body your server should accept and answer with HTTP 200. 5C queries the transaction status using orderId and transactionId.

5A sale curl

        
5A expected JSON

        
5B notify curl

        
5B expected JSON

        
5C query curl

        
5C expected JSON

        

6. Failure Cases

6A validates HTTP 4xx handling. 6B is operational: retry after several minutes if a real 5xx persists. 6C expects HTTP 2xx with order status FAIL.

6A curl

        
6A expected JSON

        
6B curl

        
6B expected JSON

        
6C expected JSON

        
6C curl

        

Live Result

Browser calls may be blocked by CORS. The curl blocks are the safer copy-paste path for sign-off evidence.

Ready.
Generated curl and expected JSON are ready.