Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Services to be tested

  • PayTV

  • Pay Electricity

  • Buy Airtime (Purchase Airtime)

  • Buy Data (Pay Data)

  • Buy Scratch Card (Pay Waec)

  • Lookup NIN Min

  • Lookup NIN Mid


 Pay TV

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Demo Options should be returned in inspect mode if the request is valid

Local

  • Demo Options should not be returned in inspect mode for invalid request


Local

  • Options should be returned in live mode if the request is valid

Local

  • Options response should match service descriptions

Local

  • Request log should be made to APILogger for Options call

Local

  • Transact call should return mock response on inspect mode

Local

  • Transact call should fail for Invalid BillerID/BillerItemId


Local

  • Transact call with a valid request should return a valid response on live mode


Local

  • Transact call response should match service description's

Local

  • Transact call with invalid order reference should fail in Live mode

Local

  • Request to transact call in live mode should be sent to APILogger

Local

  • Query for an existing transaction should return a valid response

Local

  • Request to query call in live mode should be sent to APILogger

 Pay Electricity

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Demo Options should be returned in inspect mode if the request is valid

Local

  • Demo Options should not be returned in inspect mode for invalid request


Local

  • Options should be returned in live mode if the request is valid

Local

  • Options response should match service descriptions

Local

  • Request log should be made to APILogger for Options call

Local

  • Transact call should return mock response on inspect mode

Local

  • Transact call should fail for Invalid BillerID/BillerItemId


Local

  • Transact call with a valid request should return a valid response on live mode


Local

  • Transact call response should match service description's

Local

  • Transact call with invalid order reference should fail in Live mode

Local

  • Request to transact call in live mode should be sent to APILogger

Local

  • Query for an existing transaction should return a valid response

Local

  • Request to query call in live mode should be sent to APILogger

 Buy Aitime

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Demo Options should be returned in inspect mode if the request is valid

Local

  • Demo Options should not be returned in inspect mode for invalid request


Local

  • Options should be returned in live mode if the request is valid

Local

  • Options response should match service descriptions

Local

  • Request log should be made to APILogger for Options call

Local

  • Transact call should return mock response on inspect mode

Local

  • Transact call should fail for Invalid BillerID/BillerItemId


Local

  • Transact call with a valid request should return a valid response on live mode


Local

  • Transact call response should match service description's

Local

  • Transact call with invalid order reference should fail in Live mode

Local

  • Request to transact call in live mode should be sent to APILogger

Local

  • Query for an existing transaction should return a valid response

Local

  • Request to query call in live mode should be sent to APILogger

 Buy Data

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Demo Options should be returned in inspect mode if the request is valid

Local

  • Demo Options should not be returned in inspect mode for invalid request


Local

  • Options should be returned in live mode if the request is valid

Local

  • Options response should match service descriptions

Local

  • Request log should be made to APILogger for Options call

Local

  • Transact call should return mock response on inspect mode

Local

  • Transact call should fail for Invalid BillerID/BillerItemId


Local

  • Transact call with a valid request should return a valid response on live mode


Local

  • Transact call response should match service description's

Local

  • Transact call with invalid order reference should fail in Live mode

Local

  • Request to transact call in live mode should be sent to APILogger

Local

  • Query for an existing transaction should return a valid response

Local

  • Request to query call in live mode should be sent to APILogger

 Buy Scratch Card

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Demo Options should be returned in inspect mode if the request is valid

Local

  • Demo Options should not be returned in inspect mode for invalid request


Local

  • Options should be returned in live mode if the request is valid

Local

  • Options response should match service descriptions

Local

  • Request log should be made to APILogger for Options call

Local

  • Transact call should return mock response on inspect mode

Local

  • Transact call should fail for Invalid BillerID/BillerItemId


Local

  • Transact call with a valid request should return a valid response on live mode


Local

  • Transact call response should match service description's

Local

  • Transact call with invalid order reference should fail in Live mode

Local

  • Request to transact call in live mode should be sent to APILogger

Local

  • Query for an existing transaction should return a valid response

Local

  • Request to query call in live mode should be sent to APILogger

 Lookup NIN Min

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Transact call should return mock response in Inspect mode

Hussein Alayo


SUCCESS

Use valid reference in response instead ofmockReference as seen in provider_response.reference

Local

  • Transact call with missing parameters in request should fail appropriately

Hussein Alayo


SUCCESS

Tested with auth.secure, request_type, customer_ref, amount, firstname, lastname

Local

  • Transact call response should match service description's

Hussein Alayo

SUCCESS

Local

  • Transact call LIVE mode should log the error to API Logger on Failed request to Payant

Hussein Alayo

Hussein Alayo

FAILED

SUCCESS

When a 403 response was received from Payant no Log entry was made to API Logger, Reproduce this by using an invalid API key on calling payant.

Local

  • Transact call LIVE mode should return appropriate mapping

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

See Appendix 1

Local

  • Request to transact call in live mode should be sent to APILogger

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

No request was sent to API Logger

Local

  • Request to transact call in live mode should respect values set in otp_override

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

When requestPayload.transaction.app_info.extras.otp_override is set as True or False, the behavior remain the same, See Appendix 1 for sample response

Local

Validate OTP with the wrong token should fail

Hussein Alayo

SUCCESS

Local

  • Query for an existing transaction should return a valid response

Hussein Alayo

Hussein Alayo

FAILED

SUCCESS

See Appendix 2 for sample response

Local

  • Request to query call in live mode should be sent to APILogger

Hussein Alayo

N/A

 Lookup NIN Mid

Environments

Scenario

TestedBy

TestedOn

Status

Notes

Local

  • Transact call should return mock response in Inspect mode

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

The provider_Response.reference shouldn’t be null

Local

  • Transact call with missing parameters in the request should fail appropriately

Hussein Alayo

SUCCESS

Tested with auth.secure, request_type, customer_ref, amount, firstname, lastname

Local

  • Transact call response should match service description's

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

See Appendix 3

Local

  • Transact call LIVE mode should log the error to API Logger on Failed request to Payant

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

See Appendix 3

Local

  • Transact call LIVE mode should return appropriate mapping

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

See Appendix 3

Local

  • Request to transact call in live mode should be sent to APILogger

Hussein Alayo

Hussein Alayo



FAILED

SUCCESS

Local

  • Request to transact call in live mode should respect values set in otp_override

Hussein Alayo

Hussein Alayo




FAILED

SUCCESS

Blocked by previous issues

Local

  • Request to transact call in live mode should be sent to APILogger

Hussein Alayo

SUCCESS

Blocked by previous issues

Local

  • Validate OTP with the wrong token should fail

Hussein Alayo

SUCCESS

Local

  • Validate OTP with the right token should pass

Hussein Alayo

SUCCESS

Local

  • Query for an existing transaction should return a valid response

Hussein Alayo

Blocked by previous issues

Local

  • Request to query call in live mode should be sent to APILogger

Hussein Alayo

N/A

Appendix

#1 Response was

{
    "status": "Successful",
    "message": "Transaction Processed Successfully",
    "data": null
}

#2 Request and Response

{
  "request_ref":"{{request-ref}}", 
  "request_type":"lookup_nin_min",
	"auth": {
        "auth_provider": "Payant" 
    },
    "transaction": {
        "transaction_ref": "63683785716419"
    }
}



{
    "status": "Failed",
    "message": "Missing parameter [nin number]",
    "data": {
        "auth_token": null,
        "provider_auth_token": null,
        "provider_response_code": null,
        "provider": "payant",
        "errors": [
            {
                "code": "01",
                "message": "Missing parameter [nin number]"
            }
        ],
        "error": {
            "code": "01",
            "message": "Missing parameter [nin number]"
        },
        "provider_response": {
            "reference": "PAYANT-i9ypmm8p5ewzkk4z7y14p"
        },
        "client_info": {
            "name": null,
            "id": null,
            "bank_cbn_code": null,
            "bank_name": null,
            "console_url": null,
            "js_background_image": null,
            "css_url": null,
            "logo_url": null,
            "footer_text": null,
            "show_options_icon": false,
            "paginate": false,
            "paginate_count": 0,
            "options": null,
            "merchant": null,
            "colors": null,
            "meta": null
        }
    }
}

#3

{
    "status": "Failed",
    "message": "Cannot read property 'customer' of undefined",
    "data": {
        "provider_response_code": null,
        "provider": "payant",
        "errors": [
            {
                "code": "01",
                "message": "Cannot read property 'customer' of undefined"
            }
        ],
        "error": {
            "code": "01",
            "message": "Cannot read property 'customer' of undefined"
        },
        "provider_response": {
            "reference": "PAYANT-s181miaw27a46ls4dvxmqc"
        }    }
}
  • No labels