Full Spectrum Testing Scenarios
In order to make sure your integration is functioning as expected, we recommend testing the following scenarios:
- Full Decline
- Loan Approval, Apply First
- Loan Approval, Shop First
- Loan Soft Decline
- Lease Approval, Apply First
- Lease Approval, Shop First
- Lease Soft Decline
- Returning Customer with Loan Approval
- Returning Customer with a Lease Approval
- Returning Customer with a signed loan/lease agreement
We've outlined each scenario below with an explanation of the scenario, the test data needed to create it and the steps needed to recreate each scenario. Please note that the steps for testing will vary based on whether or not you are integrating with our Modal Integration or our Direct API integration. We have indicated in the scenarios which steps are shared between the two and which are specific for the Koalafi modal vs. Direct API.
1. Full Decline
In this scenario customer gets declined for both a lease and a loan. Once declined, there are no further steps to take.
Test Data:
Address Line 1: 011000390
Zip: 32034
Steps to Follow
Shared Steps:
- Apply First as a new customer using the decline test data for the billing address.
- Confirm you see decline response
Koalafi Modal Steps:
- Open the UI again
- Confirm you see decline message
- Open modal on from checkout screen
- See decline message
- Apply in a new browser with the same phone number and last 4 SSN
- Confirm you see a decline / ineligible message
Direct API Steps:
- Query order, confirm declined loan/lease on the order
- Create a new order, Customer lookup with the same phone number and SSN
- Confirm Ineligible/declined is returned
2. Loan Approval, Apply First
In this scenario customer applies and gets approved for a loan without any items in their cart. We will then add items to the cart to test cart validation is working correctly and then continue on to checkout, sign the loan agreement and mark the order as shipped.
Test Data
Zip: 12345
Steps to Follow
Shared Steps:
- Using the test data, apply as a new customer without having any items in their cart.
- If you're using the Koalafi modal, we recommend doing this from a merchant financing or product page.
- If you're using the API leave
items
empty in the input.
- Get approved for loan
- If in UI, close the modal
Koalafi Modal Steps:
- Open the modal again on the same screen
- Confirm you see the same approval amount
- Add items to your cart that are less than the the minimum spend ($200)
- Continue to checkout page and open modal
- See cart validation error on the UI
- In a new browser add items to your cart that exceed the approval amount
- Try to checkout with Koalafi and you should be prompted to enter in customer information
- Use the same phone number and last 4 SSN to retrieve the approval for the application in progress
- Should see a validation error on UI indicating that cart is greater than approval
- Close the modal
- In the same browser, update the cart to be between the minimum spend ($200) and your approval amount
- Open the modal on checkout screen to generate the loan docs - check that the loan amount in the docs matches the cart total
- Sign the loan docs and enroll in autopay
- See the modal "You're all done" screen and then the order confirmation page. *Note our e-commerce plugins automatically place the order within their system once a customer has completed the Koalafi financing process.
- Confirm that the order has been placed within the e-comm system and that the confirmation has the Koalafi orderId and loan display Id.
- Using the e-comm platform, mark the order as delivered and make sure there are no errors.
Direct API Steps:
- Query the order and make sure that the loan details are returned in the query
- Attempt to add items to the order with a total cart below the minimum spend ($200)
- Check that a cart validation message is returned
- Attempt to add items to the order with a total cart above the approval amount
- Check that a cart validation message is returned
- Add items to the order where the cart total is between the minimum spend ($200) and the approval amount.
- Confirm the update is successful
If you have only integrated with our APIs through Approval you can stop after step 10 but if you have integrated with our APIs for the full financing process then you should continue to the following steps:
- Complete the remaining required mutations for checkout and ensure each step's success
- SelectLoanOptionType
- GenerateLoanDocs
- SignLoanAgreement
- Once loan docs are signed, complete purchase in your sale system (where applicable).
- Mark order as delivered in your system and confirm success.
3. Loan Approval, Shop First
In this scenario customer applies and gets approved for a loan with items in their cart. Initially, we will apply with a small cart to get a cart validation error, update the cart to be valid and then checkout with a discount code. We will sign the loan agreement and mark the order as shipped.
Test Data
Zip: 12345
Steps to Follow
Shared Steps:
- Using the test data, apply as a new customer with less than $100 in their cart. If you're using the Koalafi modal we recommend doing this from the merchant checkout page.
- Get approved for loan but with a cart validation error
- If in UI, close the modal
Koalafi Modal Steps:
- Open the modal again on the same screen
- Confirm you see the same approval amount
- Update the cart to be between the minimum spend ($200) and your approval amount
- Apply a discount code and check the cart total show on merchant screen
- Open the modal on checkout screen to generate the loan docs
- Confirm that the loan amount show in the docs matches the cart total that was on the merchant screen
- Sign the loan docs
- On the "Enroll in Autopay" screen, use the "X" button to close out of the modal without making an autopay selection.
- We expect that the order should still be placed on merchant site
- Confirm that the order has been placed within the e-comm system and that the confirmation has the Koalafi orderId and loan display Id.
- Using the e-comm platform, mark the order as delivered and make sure there are no errors.
Direct API Steps:
- Query the order and make sure that the loan details are returned in the query
If you have only integrated with our APIs through Approval you can stop after step 10 but if you have integrated with our APIs for the full financing process then you should continue to the following steps:
- Update items on the order so the cart total is between the minimum spend ($200) and the approval amount applying the relevant discount as discussed in our docs.
- Confirm the update is successful
- Complete the remaining required mutations for checkout and ensure each step's success
- SelectLoanOptionType
- GenerateLoanDocs
- SignLoanAgreement
- Once loan docs are signed, complete purchase in your sale system (where applicable).
- Mark order as delivered in your system and confirm success.
4. Loan Soft Decline
In this scenario, we will get soft declined for a loan, resolve the soft decline and then continue with the checkout process.
Test Data
Zip: 32208 (Soft Decline)
Zip: 12345 (Approved)
Steps to Follow
Shared Steps:
- Using the test data, apply as a new customer without having any items in the cart.
- If you're using the UI we recommend doing this from a financing or product page.
- If you're using the API you would leave
items
empty in the input.
- Get soft declined for a loan
- Review the application details and update zip: 12345
- Resubmit the application via UI or API
- Confirm that application has been approved
Koalafi Modal Steps:
- Open the modal again on the same screen
- Confirm you see the same approval amount
- Add items to the cart to be between the minimum spend ($200) and your approval amount
- Open the modal on checkout screen to generate the loan docs
- Confirm that the loan amount show in the docs matches the cart total that was on the merchant screen
- Sign the loan docs and select "do not enroll in autopay"
- Confirm that the order has been placed within the e-comm system and that the confirmation has the Koalafi orderId and loan display Id.
- Using the e-comm platform, mark the order as delivered and make sure there are no errors.
Direct API Steps:
- Query the order and make sure that the loan details are returned in the query
If you have only integrated with our APIs through Approval you can stop after step 10 but if you have integrated with our APIs for the full financing process then you should continue to the following steps:
- Add items to the order where the cart total is between the minimum spend ($200) and the approval amount applying the relevant discount as discussed in our docs.
- Confirm the update is successful
- Complete the remaining required mutations for checkout and ensure each step's success
- SelectLoanOptionType
- GenerateLoanDocs
- SignLoanAgreement
- Once loan docs are signed, complete purchase in your sale system (where applicable).
- Mark order as delivered in your system and confirm success.
5. Lease Approval, Apply First
In this scenario customer applies and gets declined for a loan but approved for a lease without any items in their cart. We will then add items to the cart to test cart validation is working correctly and then continue on to checkout, sign the lease agreement and mark the order as shipped.
Test Data
Apply
- Billing address 1: : 011000028
- Zip: : 32034
Debit Card Info
- Card number: 4111-1111-1111-1111 (do not include "-" in API request)
- Expiration date: 2025-02 (YYYY-MM for any date in the future)
Steps to Follow
Shared Steps:
- Using the test data, apply as a new customer without having any items in their cart.
- If you're using the UI we recommend doing this from a financing or product page.
- If you're using the API you would leave
items
empty in the input.
- Get approved for lease
- If in UI, close the modal
Koalafi Modal Steps:
- Open the modal again on the same screen
- Confirm you see the same approval amount
- Add items to your cart that are less than the the minimum spend ($200)
- Continue to checkout page and open modal
- See cart validation error on the UI
- In a new browser add items to your cart that exceed the approval amount
- Try to checkout with Koalafi and you should be prompted to enter in customer information
- Use the same phone number and last 4 SSN to retrieve the approval for the application in progress
- Should see a validation error on UI indicating that cart is greater than approval
- Close the modal
- In the same browser, update the cart to be between the minimum spend ($200) and your approval amount
- Open the modal on checkout screen and enter employment data
- Confirm shipping address
- Enter debit card information using the provided test data
- Review the contract summary and check that the lease amount matches the cart total on merchant's site
- Acknowledge the contract summary
- Review and sign the lease agreement
- See the modal "You're all done" screen and then the order confirmation page. *Note our e-commerce plugins automatically place the order within their system once a customer has completed the Koalafi financing process.
- Confirm that the order has been placed within the e-comm system and that the confirmation has the Koalafi orderId and loan display Id.
- Using the e-comm platform, mark the order as delivered and make sure there are no errors.
Direct API Steps:
- Query the order and make sure that the lease details are returned in the query
- Call UpdateDebitInfo with provided test data
- Confirm success
If you have only integrated with our APIs through Approval you can stop after step 10 but if you have integrated with our APIs for the full financing process then you should continue to the following steps:
- Attempt to add items to the order with a total cart below the minimum spend ($200)
- Check that a cart validation message is returned
- Attempt to add items to the order with a total cart above the approval amount
- Check that a cart validation message is returned
- Add items to the order where the cart total is between the minimum spend ($200) and the approval amount.
- Complete the remaining required mutations for checkout and ensure each step's success
- UpdateEmployment
- UpdateOrderAddress
- GenerateLeaseDocs
- SignLeaseAgreement
- Once lease docs are signed, complete purchase in your sale system (where applicable).
- Mark order as delivered in your system and confirm success.
6. Lease Approval, Shop First
In this scenario customer applies and gets declined for a loan but approved for a lease with items in their cart. Initially, we will apply with a small cart to get a cart validation error, update the cart to be valid and then checkout with a discount code. We will sign the lease agreement and mark the order as shipped.
Test Data
Apply
- Billing address 1: : 011000028
- Zip: : 32034
Debit Card Info
- Card number: 4111-1111-1111-1111 (do not include "-" in API request)
- Expiration date: 2025-02 (YYYY-MM for any date in the future)
Steps to Follow
Shared Steps
- Using the test data, apply as a new customer with less than $100 in their cart. If you're using the UI we recommend doing this from the checkout page.
- Get approved for loan but with a cart validation error
- If in UI, close the modal
Koalafi Modal Steps:
- Open the modal again on the same screen
- Confirm you see the same approval amount
- Update the cart to be between the minimum spend ($200) and your approval amount
- Apply a discount code and check the cart total show on merchant screen
- Open the modal on checkout screen and enter employment data
- Confirm shipping address
- Enter debit card information using the provided test data
- Review the contract summary and check that the lease amount matches the cart total on merchant's site
- Acknowledge the contract summary
- Review and sign the lease agreement
- See the modal "You're all done" screen and then the order confirmation page. *Note our e-commerce plugins automatically place the order within their system once a customer has completed the Koalafi financing process.
- Confirm that the order has been placed within the e-comm system and that the confirmation has the Koalafi orderId and loan display Id.
- Using the e-comm platform, mark the order as delivered and make sure there are no errors.
Direct API Steps:
- Query the order and make sure that the lease details are returned in the query
- Call UpdateDebitInfo with provided test data
- Confirm success
If you have only integrated with our APIs through Approval you can stop after step 10 but if you have integrated with our APIs for the full financing process then you should continue to the following steps:
- Attempt to add items to the order with a total cart below the minimum spend ($200)
- Check that a cart validation message is returned
- Attempt to add items to the order with a total cart above the approval amount
- Check that a cart validation message is returned
- Add items to the order where the cart total is between the minimum spend ($200) and the approval amount.
- Complete the remaining required mutations for checkout and ensure each step's success
- UpdateEmployment
- UpdateOrderAddress
- GenerateLeaseDocs
- SignLeaseAgreement
- Once lease docs are signed, complete purchase in your sale system (where applicable).
- Mark order as delivered in your system and confirm success.
7. Lease Soft Decline
In this scenario, we will get soft declined for a lease, resolve the issue with the application, reapply and then get approved. We will also test entering a bad debit card on the initial payment screen, get an error and then resolve it. Once the application has been fixed we'll continue to sign lease agreement and mark the order as delivered.
Test Data
Apply
- Zip: 32034
- Address Line 1: 011000536 (Soft Decline Ecomm Only)
- Routing Number: 011000536 (Soft Decline B&M Only)
- Address Line 1: 011000028 ( Approval Ecomm Only)
- RoutingNumber: 011000036 (Approval B&M Only)
Debit card:
- Card Number: 4000301211112226 0924 (Debit Error)
- Card Number: 4111111111111111 0926 (Fixed)
Steps to Follow
Shared Steps:
- Using the test data, apply as a new customer with more than $200 worth of items in your cart
- If you're using the UI we recommend doing this from the checkout page
- Get a soft decline
- Review application and change Address Line 1 to be the approval value listed above
- Resubmit application
- Get an approval
Koalafi Modal Steps:
- Enter Employment Information
- Confirm Shipping addresses matches what you had on checkout screen / application
- On debit card screen, enter the soft decline card number listed above
- Verify that you see a debit card error message
- Edit debit card details and update card to use the fixed card number above
- Review the contract summary and check that the lease amount matches the cart total on merchant's site
- Acknowledge the contract summary
- Review and sign the lease agreement
- See the modal "You're all done" screen and then the order confirmation page. *Note our e-commerce plugins automatically place the order within their system once a customer has completed the Koalafi financing process.
- Confirm that the order has been placed within the e-comm system and that the confirmation has the Koalafi orderId and loan display Id.
- Using the e-comm platform, mark the order as delivered and make sure there are no errors.
Direct API Steps:
- Query the order and make sure that the lease details are returned in the query
- Call UpdateDebitInfo with the soft decline number listed above
- Confirm an error is returned
- Update the debit card number to use the fixed card number and call UpdateDebitInfo again
- Confirm success
If you have only integrated with our APIs through Approval you can stop after step 10 but if you have integrated with our APIs for the full financing process then you should continue to the following steps:
- Complete the remaining required mutations for checkout and ensure each step's success
- UpdateEmployment
- UpdateOrderAddress
- GenerateLeaseDocs
- SignLeaseAgreement
- Once lease docs are signed, complete purchase in your sale system (where applicable).
- Mark order as delivered in your system and confirm success.
8. Returning Customer with a Loan Approval
In this scenario, we are going to test the experience of a customer who got a loan approval and let their session with Koalafi expire. We will come back into the application as that customer and should be able to find their application and use it to complete the financing process.
Test Data
- The information of a customer who has been previously approved for a loan
Steps to Follow
Shared Steps:
- Apply as a new customer and get a loan approval
Koalafi Modal Steps:
- Clear cookies and browsing data
- Open the modal on product screen
- Confirm you see the starting page of the modal, if you don't try a new browser or clearing your cookies again.
- Enter the phone number used for the loan approval
- Confirm you see the screen asking for last 4 of SSN
- Enter the same SSN you used for approval
- See the Welcome Back/Approval screen
- Close modal and add items to the cart
- Open the modal on the checkout screen
- Continue the checkout process with Koalafi checking that the loan amount matches the cart total
- Sign loan agreement and do not enroll in autopay
- See all done screen and then order confirmation
Direct API Steps
- Create new order
- Do the customer query with the same phone number and last 4 SSN you used for approval
- Confirm you get a successful response from API
- Do order query and confirm that the loan details are now attached to the order you created in Step 2
- Finish the financing process as you normally would but bypass apply
- Confirm all steps work
9. Returning Customer with a Lease Approval
In this scenario, we are going to test the experience of a customer who got a lease approval and let their session with Koalafi expire. We will come back into the application as that customer and should be able to find their application and use it to complete the financing process.
Test Data
- The information of a customer who has been previously approved for a lease
Steps to Follow
Shared Steps:
- Apply as a new customer and get a lease approval
Koalafi Modal Steps:
- Clear cookies and browsing data
- Open the modal on product screen
- Confirm you see the starting page of the modal, if you don't try a new browser or clearing your cookies again.
- Enter the phone number used for the loan approval
- Confirm you see the screen asking for last 4 of SSN
- Enter the same SSN you used for approval
- See the Welcome Back/Approval screen
- Close modal and add items to the cart
- Open the modal on the checkout screen
- Continue the checkout process with Koalafi checking that the lease amount matches the cart total
- Sign lease agreement
- See all done screen and then order confirmation
Direct API Steps
- Create new order
- Do the customer query with the same phone number and last 4 SSN you used for approval
- Confirm you get a successful response from API
- Do order query and confirm that the lease details are now attached to the order you created in Step 2
- Finish the financing process as you normally would but bypass apply
- Confirm all steps work
10. Returning Customer with Signed Lease/Loan Agreement
This scenario represents a customer who has already successfully placed an order using Koalafi financing and shortly after checkout has returned to the merchant's site to try to make another purchase using Koalafi. Since they have a signed lease/loan that has not yet been funded, they should not be eligible for financing at this time.
Test Data
- The information of a customer who has been previously approved for a loan/lease
Steps to Follow
Shared Steps:
- Apply as a new customer and get a loan/lease approval
- Complete the post-approval steps to sign loan/lease agreement and place an order with the e-comm merchant. DO NOT mark order as delivered
Koalafi Modal Steps:
- Clear cookies and browsing data
- Open the modal
- Confirm you see the starting page of the modal, if you don't try a new browser or clearing your cookies again.
- Enter the phone number used for the loan approval
- Confirm you see the screen asking for last 4 of SSN
- Enter the same SSN you used for approval
- Confirm you see in the ineligible screen
Direct API Steps:
- Create a new order
- Do the customer query with the same phone number and last 4 SSN you used for approval
- Confirm that you see an error returned from API that contains the message
Not eligibile for new app at this time
Updated about 1 year ago