This page explains how to add Cash App Afterpay to your existing Android Drop-in integration.
This page is for v5.0.0, released in October 2023. If you are using an earlier version, use the guide for earlier versions instead.
Requirements
Select the server-side flow that your integration uses:
API reference
Drop-in Configuration
Test and go live
To test Cash App Afterpay payments, you need a test shopper account in the Afterpay sandbox environment.
To create a test account:
- Go to https://portal.sandbox.afterpay.com/.
- Enter a real email address and select Continue. You will get confirmations of payments and refunds like any other shopper on this email address.
- From the drop-down menu, select the country/region for which you want to create a test shopper account: US.
- Enter any mobile telephone number that is formatted correctly, and select Continue. Check the input box for hints on the format. The phone number will not be used.
- When you are prompted to enter your SMS verification code, enter 111111.
- Follow the instructions on your screen to complete your profile, accept the terms and conditions, and select Continue.
To test payments, add a test card to your Afterpay test shopper account.
You can use the card details provided in the Afterpay developer documentation, or use one of the Adyen test cards. Use CVV 000 to simulate authorised payments, or CVV 051 to simulate refused payments.
You can check the status of test payments in your Customer Area > Payments > Payment list.
Before you can accept live Cash App Afterpay payments, you need to submit a request for Cash App Afterpay in your live Customer Area.