Skip to content

Testing

This page includes test data and other information to make sure your integration works as planned. It can be used to trigger different flows in your integration and ensure they are handled accordingly.

Test accounts and magic numbers

PHI test accounts

  • Fund: isoft test fund
  • healthFundCode: ISF
  • Member number: any 8 digit number
  • Patient ID: any number between 01 - 09
  • Card issue: any number between 01 - 09

Simulated claim responses

Member number based stubs

The health fund claiming engine is stubbed in non-production environments. To trigger various outcomes, you can use one of the following iSoft (ISF) fund and member numbers with any two digit patient and card issue number:

Member numberExpected Response
88888801Claim approved with ~60% fund benefit, ~40% gap, rounded down to the nearest dollar value
88888802Claim approved with 0% fund benefit, 100% gap (nil benefit/benefit cap)
88888803Claim approved with 100% fund benefit, 0% gap, any shipping & handling is still charged separate
88888804Claim declined, HealthPoint error, provider number not approved
88888805HealthPoint error, generic stubbed error message
88888806Unexpected error from HealthPoint
88888807Unexpected error from HealthPoint

invoiceReference based subs

Alternatively to Stub for create/approve/reverse set the following in the invoiceReference.

Sub TextExpected Response
STUB_OKDefaults to 60% benefit. You can set item.chargeAmount between $11 and $12 to fail in individual item with an error code matching the 'cents'.
STUB_NO_GAPAll items get 100% benefit.
STUB_ALL_GAPAll items get 0 benefit.
STUB_HP_CLAIM_ERRORHP XML response with error at the claim level (no items in response).
STUB_HP_ERRORHP XML error response
STUB_400 400 error from Switch
STUB_500500 error from Switch
STUB_HP_APPROVE_ERRORLike STUB_OK but the approve step fails with HP XML error response.
STUB_APPROVE_400Like STUB_OK but the approve step fails with 400 error from Switch.
STUB_APPROVE_500Like STUB_OK but the approve step fails with 500 error from Switch.
STUB_HP_CANCEL_ERRORLike STUB_OK but the cancel step fails with HP XML error response.
STUB_CANCEL_400Like STUB_OK but the cancel step fails with 400 error from Switch.
STUB_CANCEL_500Like STUB_OK but the cancel step fails with 500 error from Switch.

Stub text(s) are applied in the invoiceReference field