<commit_before># Stripe Examples App

**Contents**
1. [Setup](#setup)
2. [Examples](#examples)
   - [Google Pay](#google-pay)

## Setup

### Install
1. Clone the `stripe-android` repository.
2. Open the project in Android Studio.
3. After deploying the example backend to Heroku and configuring the app, build and run the project.

<img width="215" height="108" src="https://raw.githubusercontent.com/stripe/stripe-android/master/example/images/run.png" />

### Deploy the example backend to Heroku
1. [Create a Heroku account](https://signup.heroku.com/) if you don't have one.
2. Navigate to the [example mobile backend repo](https://github.com/stripe/example-ios-backend)
   and click "Deploy to Heroku".
3. Set an _App Name_ of your choice (e.g. Stripe Example Mobile Backend).
4. Under _Config Vars_, set your [Stripe testmode secret key](https://dashboard.stripe.com/test/apikeys)
   for the `STRIPE_TEST_SECRET_KEY` field.
5. Click "Deploy for Free".

<img width="700" height="793" src="https://raw.githubusercontent.com/stripe/stripe-android/master/example/images/heroku.png" />

### Configure the app
1. Set [Settings.PUBLISHABLE_KEY](example/src/main/java/com/stripe/example/Settings.kt)
   to your [test publishable key](https://dashboard.stripe.com/test/apikeys). 

   For example,
   ```
   const val PUBLISHABLE_KEY = "pk_test_12345"
   ```

2. Set [Settings.BASE_URL](samplestore/src/main/java/com/stripe/samplestore/Settings.kt)
   to the URL of the [example backend deployed to Heroku](#deploy-example-backend-to-heroku).

   For example,
   ```
   const val BASE_URL = "https://my-example-app.herokuapp.com"
   ```
<commit_msg>More README updates (#1386)<commit_after># Stripe Examples App

**Contents**
1. [Setup](#setup)
2. [Examples](#examples)
   - [Google Pay](#google-pay)

## Setup

### Install
1. Clone the `stripe-android` repository.
2. Open the project in Android Studio.
3. After [deploying the example backend to Heroku](#deploy-the-example-backend-to-heroku) and [configuring the app](#configure-the-app), build and run the project.

<img width="215" height="108" src="https://raw.githubusercontent.com/stripe/stripe-android/master/example/images/run.png" />

### Deploy the example backend to Heroku
1. [Create a Heroku account](https://signup.heroku.com/) if you don't have one.
2. Navigate to the [example mobile backend repo](https://github.com/stripe/example-ios-backend)
   and click "Deploy to Heroku".
3. Set an _App Name_ of your choice (e.g. Stripe Example Mobile Backend).
4. Under _Config Vars_, set your [Stripe testmode secret key](https://dashboard.stripe.com/test/apikeys)
   for the `STRIPE_TEST_SECRET_KEY` field.
5. Click "Deploy for Free".

<img width="700" height="793" src="https://raw.githubusercontent.com/stripe/stripe-android/master/example/images/heroku.png" />

### Configure the app
1. Set [Settings.PUBLISHABLE_KEY](example/src/main/java/com/stripe/example/Settings.kt)
   to your [test publishable key](https://dashboard.stripe.com/test/apikeys). 

   For example,
   ```
   const val PUBLISHABLE_KEY = "pk_test_12345"
   ```

2. Set [Settings.BASE_URL](samplestore/src/main/java/com/stripe/samplestore/Settings.kt)
   to the URL of the [example backend deployed to Heroku](#deploy-example-backend-to-heroku).

   For example,
   ```
   const val BASE_URL = "https://my-example-app.herokuapp.com"
   ```

{'fraction_non_alphanumeric': 0.14256014256014257, 'fraction_numerical': 0.018414018414018414, 'mean_word_length': 4.254290171606864, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3051212', 'n_tokens_mistral': 1183, 'n_tokens_neox': 1117, 'n_words': 297}