Link to Webstore checkout on Android - US 🇺🇸
To successfully launch Coda Links on Android for users in the United States, developers must comply with Google's External Content Link (ECL) program. Standard hyperlinks are no longer permitted; developers must use Google's designated ECL APIs by the enforcement deadline of January 28, 2026.
Below is the step-by-step integration guide for linking users to your Coda Webstore, based on Google's ECL requirements:
Prerequisites
Ensure that you have followed the Steps to Launch your Web Store, and published your Coda Webstore.
This is the standard integration that allows users to purchase items on the web store and have the items fulfilled in-game. If you already have this set up with Coda, no further modifications are required.
Step 1: Program Enrollment on Play Console
Before integrating the APIs, you must establish the necessary contractual ties and permissions with Google:
Complete Google’s External Content Links Declaration Form and any required onboarding steps with Google's support team.
In the Google Play Console, navigate to Settings > External content links to officially enroll the app(s) that will use Coda Links.
Next, let's explore the technical details for implementation
Flow Overview

Step 2: Construct the URL & link users out from your Android App
Update Play Billing Dependencies: Add or update the Play Billing Library to version 8.2.1 or higher in your Android app. If migrating from an older version, follow Google's official migration guide first.
Check Availability: Programmatically call
isBillingProgramAvailableAsync()to verify the program is available on the device.Generate a Transaction Token: When the user clicks a link/button that should take them to out-of-app, before redirecting the user, call
createBillingProgramReportingDetailsAsync(). This generates a uniqueexternalTransactionToken.
Note: You must generate a new
externalTransactionTokenevery single time a user attempts to visit the external web store (i.e every click)
Construct the checkout URL: Build the destination URL dynamically. It must append your
externalTransactionTokenalongside the standard Coda parameters. Your final URL should include:mode(e.g.,mode=litetells your webstore that this is a linkout purchase, and to trigger the express checkout flow for maximum conversion-friendliness)sessionToken(for extracting the user's UID/account. The Coda webstore uses this information to validate the checkout with your server, and ensure item delivery is made to the right user.)skuId(the specific item selected, exactly as configured on the Coda webstore)utmparameters (source, medium, campaign)externalTransactionToken(the token generated in Step 3)
For example:
Launch the Link: Pass your constructed URL into the
launchExternalLinkmethod, with theexternalTransactionTokenand set the LaunchMode (which typically opens the URL in an external browser)
User Experience: Google will automatically intercept this call and display a mandatory system-level warning sheet (interstitial) informing the user they are leaving Google Play, which the user must confirm to proceed to checkout.
Step 3: Post-Purchase UX & Deep Linking
Item Fulfillment: When the payment succeeds, Coda Webstore completes the payment and automatically sends a server-to-server item fulfillment request to your backend. This should already be covered in Steps to Launch your Web Store. No change is required here.

User can click to go back to App via deep link: To ensure this redirection happens smoothly, you must provide Coda with a deep link that can redirect users back to your Android app upon a successful purchase.
Once the user is deep-linked back to your app, they should seamlessly receive their items. In addition, your app can display a purchase success screen with confetti animations!
Refer to Redirecting users from Coda Links back to your appto learn how to setup back-to-app redirection correctly for your Android App.
User can explore Webstore's offers & LiveOps campaigns! If you configure any of the Webstore LiveOps offers in Commerce LiveOps, the post-purchase screen will display them to the user, encouraging them to explore & become a loyal webstore user
Why having LiveOps features on Coda Links is crucial for your long-term revenue
Linkouts are not (actually) free: Including in the US, Google and Apple are fighting tooth and nail to impose fees on external purchases to protect their revenue streams. For instance, Google charges up to a 20% commission on purchases made within 24 hours of a user following an external payment link. Similarly, Apple imposes a 15% commission on website sales initiated within 7 days of an end user tapping an out-of-app link. If users stick exclusively to linkout payments directly from the app, publisher margins will continuously be undercut by these fees with no way out.
Webstore loyalty builds long-term profitability: Converting purchasers from in-app to webstore should be the ultimate goal. Publishers can use elements on the linkout success page to convert users into direct webstore customers, which makes the long-term cost per transaction significantly lower. When users build a habit of going directly to out-of-app channels like a webstore, they bypass the in-app link altogether. These direct visits make their future purchases completely out-of-reach for the app platforms, meaning all fee savings go straight to the publisher's bottom line.
Step 4: Report external transactions to Google (not yet required)
Because developers remain the contracting party for external transactions, Google currently requires an infrastructure for transaction reporting, which will be activated only if/when Google implements service fees.
Receive the Callback: When a user successfully completes a purchase on the Coda checkout page, Coda will send a server-to-server top-up request to your backend. This payload will contain the
externalTransactionTokenthat you originally passed in the URL, along with the payment confirmation data.Report external transactions to Google (not yet mandatory): Upon receiving the top-up confirmation, your backend must call the Google Play Developer API (
externalTransactionsendpoint). You have 24 hours to report the transaction by passing both the final sale amount and theexternalTransactionTokenback to Google.
Last updated
Was this helpful?