Sandbox
Activate test functionality within the partner-testing sandbox environment
The partner-testing domain allows for testing certain edge cases, which can be activated using various techniques outlined in this document.
Sandbox testing features
Submit payment
The test environment uses Braintree's Sandbox, which only accepts specific test credit card numbers. Use values from their documentation to trigger different responses:
- Card numbers
- Valid cards: simulate various card provider types
- Cards to simulate unsuccessful verification response
- Transaction/payment amounts
Payment errors
Payment processing is affected by the "charged" transaction amount in testing, due to having Braintree's Sandbox enabled. When binding out a quote, your payment will depend on your selected coverages, covered drivers and vehicles, as well as invoice period. As a result, quoted profiles can be modified in order to test specific payment processor responses from Braintree. For example, you will see a Processor declined error if checking out with a monthly payment ranging from $2000.00-2999.99, or a 3000 failed processor response if paying the full-term price for a quote between $3000.00-3999.99.
Please refer to Braintree's Sandbox documentation describing transaction amounts for more information.
Testing Personas
When working with a quote, there are hard-coded "Personas" that you can use for testing. The Personas are designed to go through certain paths in the code when generating a quote. The Persona used during the flow is based off of the license number you provide for the Primary Named Insured driver. The single exception follows below
A prefill driver, Sang Starnes, will always be presented. The default coverage for this prefill driver is Covered. To decline coverage please include the following excerpt:
{
"id": "{{id}}",
"status": "Not in household"
}
Accepted statuses are: Covered, Declined, Not in Household.
Deny-listed Driver
If any driver on a quote has one of these driver's licenses, then Root may not rate the quote. This is to simulate a driver who Root has decided is not desirable for any reason.
| License State | License Number |
|---|---|
| AK | 0000111 |
| AL | 00000111 |
| AR | 000000111 |
| AZ | 000000111 |
| CA | A0000111 |
| CO | 000000111 |
| CT | 000000111 |
| DC | 000000111 |
| DE | 0000111 |
| FL | A000000000111 |
| GA | 000000111 |
| HI | H00000111 |
| IA | 123AZ0111 |
| ID | 000000111 |
| IL | S00000000111 |
| IN | 000000111 |
| KS | K00000111 |
| KY | S00000111 |
| LA | 000000111 |
| MA | 000000111 |
| MD | S000000000111 |
| ME | 0000111 |
| MI | S000000000111 |
| MN | A000000000111 |
| MO | 000000111 |
| MS | 000000111 |
| MT | 0000000000111 |
| NC | 000000000111 |
| ND | 000000111 |
| NE | A00000111 |
| NH | NHL00000111 |
| NJ | A00000000000111 |
| NM | 000000111 |
| NV | 0000000111 |
| NY | 000000111 |
| OH | RT000111 |
| OK | 000000111 |
| OR | 000000111 |
| PA | 00000111 |
| RI | 00000111 |
| SC | 000000111 |
| SD | 000111 |
| TN | 000000111 |
| TX | 00000111 |
| UT | 0000000111 |
| VA | A00000111 |
| VT | 00000111 |
| WA | A00000000111 |
| WI | F0000000000111 |
| WV | 0000111 |
| WY | 0000000111 |
Prefill Needs Driver's License
A prefill report can be ordered without a driver's license, but our vendors sometimes need it in order to find records. You can trigger this response by having the pni driver with first name NODRIVERSLICENSE. This will always trigger a 400 bad_request reponse in our testing environment
Prefill Many Drivers & Vehicles Mindy
When the PNI has this license number pattern we will find many drivers and vehicles in our prefill report in our testing environment.
| License State | License Number |
|---|---|
| AK | 0000040 |
| AL | 00000040 |
| AR | 000000040 |
| AZ | 000000040 |
| CA | A0000040 |
| CO | 000000040 |
| CT | 000000040 |
| DC | 000000040 |
| DE | 0000040 |
| FL | A000000000040 |
| GA | 000000040 |
| HI | H00000040 |
| IA | 123AZ0040 |
| ID | 000000040 |
| IL | S00000000040 |
| IN | 000000040 |
| KS | K00000040 |
| KY | S00000040 |
| LA | 000000040 |
| MA | 000000040 |
| MD | S000000000040 |
| ME | 0000040 |
| MI | S000000000040 |
| MN | A000000000040 |
| MO | 000000040 |
| MS | 000000040 |
| MT | 0000000000040 |
| NC | 000000000040 |
| ND | 000000040 |
| NE | A00000040 |
| NH | NHL00000040 |
| NJ | A00000000000040 |
| NM | 000000040 |
| NV | 0000000040 |
| NY | 000000040 |
| OH | RT000040 |
| OK | 000000040 |
| OR | 000000040 |
| PA | 00000040 |
| RI | 00000040 |
| SC | 000000040 |
| SD | 000040 |
| TN | 000000040 |
| TX | 00000040 |
| UT | 0000000040 |
| VA | A00000040 |
| VT | 00000040 |
| WA | A00000000040 |
| WI | F0000000000040 |
| WV | 0000040 |
| WY | 0000000040 |
Prefill No-hit Nancy
When the PNI has this license number pattern we will not find any prefill data in our testing environment.
| License State | License Number |
|---|---|
| AK | 0000004 |
| AL | 00000004 |
| AR | 000000004 |
| AZ | 000000004 |
| CA | A0000004 |
| CO | 000000004 |
| CT | 000000004 |
| DC | 000000004 |
| DE | 0000004 |
| FL | A000000000004 |
| GA | 000000004 |
| HI | H00000004 |
| IA | 123AZ0004 |
| ID | 000000004 |
| IL | S00000000004 |
| IN | 000000004 |
| KS | K00000004 |
| KY | S00000004 |
| LA | 000000004 |
| MA | 000000004 |
| MD | S000000000004 |
| ME | 0000004 |
| MI | S000000000004 |
| MN | A000000000004 |
| MO | 000000004 |
| MS | 000000004 |
| MT | 0000000000004 |
| NC | 000000000004 |
| ND | 000000004 |
| NE | A00000004 |
| NH | NHL00000004 |
| NJ | A00000000000004 |
| NM | 000000004 |
| NV | 0000000004 |
| NY | 000000004 |
| OH | RT000004 |
| OK | 000000004 |
| OR | 000000004 |
| PA | 00000004 |
| RI | 00000004 |
| SC | 000000004 |
| SD | 000004 |
| TN | 000000004 |
| TX | 00000004 |
| UT | 0000000004 |
| VA | A00000004 |
| VT | 00000004 |
| WA | A00000000004 |
| WI | F0000000000004 |
| WV | 0000004 |
| WY | 0000000004 |
Forcing Underwriting Declined
When a PNI has a driver's license ending in 555 they will receive a quote status of underwriting_declined after finalization.
| License State | License Number |
|---|---|
| AK | 0000555 |
| AL | 00000555 |
| AR | 000000555 |
| AZ | 000000555 |
| CA | A0000555 |
| CO | 000000555 |
| CT | 000000555 |
| DC | 000000555 |
| DE | 0000555 |
| FL | A000000000555 |
| GA | 000000555 |
| HI | H00000555 |
| IA | 123AZ0555 |
| ID | 000000555 |
| IL | S00000000555 |
| IN | 000000555 |
| KS | K00000555 |
| KY | S00000555 |
| LA | 000000555 |
| MA | 000000555 |
| MD | S000000000555 |
| ME | 0000555 |
| MI | S000000000555 |
| MN | A000000000555 |
| MO | 000000555 |
| MS | 000000555 |
| MT | 0000000000555 |
| NC | 000000000555 |
| ND | 000000555 |
| NE | A00000555 |
| NH | NHL00000555 |
| NJ | A00000000000555 |
| NM | 000000555 |
| NV | 0000000555 |
| NY | 000000555 |
| OH | RT000555 |
| OK | 000000555 |
| OR | 000000555 |
| PA | 00000555 |
| RI | 00000555 |
| SC | 000000555 |
| SD | 000555 |
| TN | 000000555 |
| TX | 00000555 |
| UT | 0000000555 |
| VA | A00000555 |
| VT | 00000555 |
| WA | A00000000555 |
| WI | F0000000000555 |
| WV | 0000555 |
| WY | 0000000555 |
Forcing Underwriting Pending
When a PNI has a driver's license ending in 444 they will receive a quote status of underwriting_pending after finalization. One hour later that quote will become underwriting_approved.
| License State | License Number |
|---|---|
| AK | 0000444 |
| AL | 00000444 |
| AR | 000000444 |
| AZ | 000000444 |
| CA | A0000444 |
| CO | 000000444 |
| CT | 000000444 |
| DC | 000000444 |
| DE | 0000444 |
| FL | A000000000444 |
| GA | 000000444 |
| HI | H00000444 |
| IA | 123AZ0444 |
| ID | 000000444 |
| IL | S00000000444 |
| IN | 000000444 |
| KS | K00000444 |
| KY | S00000444 |
| LA | 000000444 |
| MA | 000000444 |
| MD | S000000000444 |
| ME | 0000444 |
| MI | S000000000444 |
| MN | A000000000444 |
| MO | 000000444 |
| MS | 000000444 |
| MT | 0000000000444 |
| NC | 000000000444 |
| ND | 000000444 |
| NE | A00000444 |
| NH | NHL00000444 |
| NJ | A00000000000444 |
| NM | 000000444 |
| NV | 0000000444 |
| NY | 000000444 |
| OH | RT000444 |
| OK | 000000444 |
| OR | 000000444 |
| PA | 00000444 |
| RI | 00000444 |
| SC | 000000444 |
| SD | 000444 |
| TN | 000000444 |
| TX | 00000444 |
| UT | 0000000444 |
| VA | A00000444 |
| VT | 00000444 |
| WA | A00000000444 |
| WI | F0000000000444 |
| WV | 0000444 |
| WY | 0000000444 |
Higher Down Payment
When any covered driver has a driver's license ending in 777, the finalized quote will require a higher payment for the first month of coverage and lower payments for subsequent months, if paid monthly.
| License State | License Number |
|---|---|
| AK | 0000777 |
| AL | 00000777 |
| AR | 000000777 |
| AZ | 000000777 |
| CA | A0000777 |
| CO | 000000777 |
| CT | 000000777 |
| DC | 000000777 |
| DE | 0000777 |
| FL | A000000000777 |
| GA | 000000777 |
| HI | H00000777 |
| IA | 123AZ0777 |
| ID | 000000777 |
| IL | S00000000777 |
| IN | 000000777 |
| KS | K00000777 |
| KY | S00000777 |
| LA | 000000777 |
| MA | 000000777 |
| MD | S000000000777 |
| ME | 0000777 |
| MI | S000000000777 |
| MN | A000000000777 |
| MO | 000000777 |
| MS | 000000777 |
| MT | 0000000000777 |
| NC | 000000000777 |
| ND | 000000777 |
| NE | A00000777 |
| NH | NHL00000777 |
| NJ | A00000000000777 |
| NM | 000000777 |
| NV | 0000000777 |
| NY | 000000777 |
| OH | RT000777 |
| OK | 000000777 |
| OR | 000000777 |
| PA | 00000777 |
| RI | 00000777 |
| SC | 000000777 |
| SD | 000777 |
| TN | 000000777 |
| TX | 00000777 |
| UT | 0000000777 |
| VA | A00000777 |
| VT | 00000777 |
| WA | A00000000777 |
| WI | F0000000000777 |
| WV | 0000777 |
| WY | 0000000777 |
Lower Down Payment
When any covered driver has a driver's license ending in 776, the finalized quote will require a lower payment for the first month of coverage and higher payments for subsequent months, if paid monthly.
| License State | License Number |
|---|---|
| AK | 0000776 |
| AL | 00000776 |
| AR | 000000776 |
| AZ | 000000776 |
| CA | A0000776 |
| CO | 000000776 |
| CT | 000000776 |
| DC | 000000776 |
| DE | 0000776 |
| FL | A000000000776 |
| GA | 000000776 |
| HI | H00000776 |
| IA | 123AZ0776 |
| ID | 000000776 |
| IL | S00000000776 |
| IN | 000000776 |
| KS | K00000776 |
| KY | S00000776 |
| LA | 000000776 |
| MA | 000000776 |
| MD | S000000000776 |
| ME | 0000776 |
| MI | S000000000776 |
| MN | A000000000776 |
| MO | 000000776 |
| MS | 000000776 |
| MT | 0000000000776 |
| NC | 000000000776 |
| ND | 000000776 |
| NE | A00000776 |
| NH | NHL00000776 |
| NJ | A00000000000776 |
| NM | 000000776 |
| NV | 0000000776 |
| NY | 000000776 |
| OH | RT000776 |
| OK | 000000776 |
| OR | 000000776 |
| PA | 00000776 |
| RI | 00000776 |
| SC | 000000776 |
| SD | 000776 |
| TN | 000000776 |
| TX | 00000776 |
| UT | 0000000776 |
| VA | A00000776 |
| VT | 00000776 |
| WA | A00000000776 |
| WI | F0000000000776 |
| WV | 0000776 |
| WY | 0000000776 |
Updated 5 days ago