Certification
Before you can go live with Tyro's Pay API for React Native, your App must under go a certification process. Below you can find the test cases that we will perform when certifying your App for Pay API React Native SDK.
You can view the full Certification test cases here.
API/SDK Integration Test Cases
Test Case | Description |
---|---|
App can Accept an Online Payment using cards | Tests integration with the Pay API and Tyro SDK to accept an online payment |
App can Accept an Online Payment that triggers 3DS | Tests ability to complete 3DS online Payments |
App can Save a Pay Method | Tests integration with Pay API to save a pay method |
App can Reuse a Pay Method | Tests integration with Pay API to use a previously saved pay method |
App can Delete a Pay Method | Tests integration with Pay API to delete a previously saved pay method |
App can Refund a Pay Request | Tests integration with Pay API to refund a pay request |
App can Void a Pay Request | Tests integration with Pay API to void a pay request |
App can Retrieve a Refund Request | Tests integration with Pay API to retrieve a specific refund request |
App can list all Refunds | Tests integration with Pay API to list all refunds |
Wallet Integration Test Cases (Apple Pay/Google Pay)
Test Case | Description |
---|---|
App can Accept a Wallet Payment on Android device using Google Pay | Tests integration with the Pay API and Tyro SDK to accept a Wallet Payment |
App can Accept a Wallet Payment on iOS device using Apple Pay | Tests integration with the Pay API and Tyro SDK to accept a Wallet Payment |
SDK tyroError Test Cases
Test Case | Description |
---|---|
Failed Pay Requests | |
Declined Payment | Tests integration with Tyro SDK - tyroError |
3DS Failure | Tests integration with Tyro SDK - tyroError |
Expired Card | Tests integration with Tyro SDK - tyroError |
Paysheet - tyroError cases | |
PAYSHEET_INIT_FAILED | Tests integration with Tyro SDK - PaySheet |
INVALID_PAY_SECRET | Tests integration with Tyro SDK - PaySheet |
NO_PAY_SECRET | Tests integration with Tyro SDK - PaySheet |
TyroProvider - tyroError cases | |
NOT_INITIALISED | Tests integration with Tyro SDK - TyroProvider |
ENVIRONMENT_MISMATCH | Tests integration with Tyro SDK - TyroProvider |
TyroSDK PaySheet Test Cases
Test Case | Description |
---|---|
PaySheet | Tests integration with Tyro SDK to render the Tyro PaySheet |
Submit Pay Button | Tests the submit pay button is provided by App and it can submit the Pay Request |
Display Pay Request Status | Tests integration with Tyro SDK to display the pay result |
Form missing card number | Tests integration with Tyro SDK submitPayForm function |
Form missing name on card | Tests integration with Tyro SDK submitPayForm function |
Form missing expiry date | Tests integration with Tyro SDK submitPayForm function |
Form missing security code | Tests integration with Tyro SDK submitPayForm function |
Form has expired card date | Tests integration with Tyro SDK submitPayForm function |
UI Checks Apple Pay Test Cases
Test Case | Description |
---|---|
Apple Pay Button Style | Checks the Apple Pay Button has appropriate styling according to Apple guidelines |
Apple Pay Mark | Checks any usage of the Apple Pay mark follows Apple guidelines |
UI Checks Google Pay Test Cases
Test Case | Description |
---|---|
Google Pay Button Style | Checks the Google Pay Button has appropriate styling according to Google guidelines |
Google Pay Mark | Checks any usage of the Google Pay mark follows Google guidelines |
Google Pay in Text | Checks that any appearance of "Google Pay" follows Google guidelines |