├── .github └── CONTRIBUTING.md ├── .gitignore ├── LICENSE.txt ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── example │ │ └── supercookie │ │ ├── CardEntryBackgroundHandler.java │ │ ├── ChargeCall.java │ │ ├── ChargeResult.java │ │ ├── ChargeService.java │ │ ├── CheckoutActivity.java │ │ ├── ConfigHelper.java │ │ ├── ExampleApplication.java │ │ ├── GooglePayChargeClient.java │ │ └── OrderSheet.java │ └── res │ ├── anim │ ├── enter_from_bottom.xml │ ├── exit_to_bottom.xml │ └── stay_put.xml │ ├── color │ └── color_button_text.xml │ ├── drawable │ ├── button.xml │ ├── button_close.xml │ ├── card_entry_button.xml │ ├── card_entry_close.xml │ ├── google_pay_button.xml │ ├── google_pay_logo_button.xml │ ├── hero_cookie.xml │ └── sheet_background.xml │ ├── layout │ ├── activity_cookie.xml │ └── sheet_order.xml │ ├── mipmap-anydpi-v26 │ └── ic_launcher.xml │ ├── mipmap-hdpi │ ├── ic_launcher.png │ └── ic_launcher_foreground.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ └── ic_launcher_foreground.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ └── ic_launcher_foreground.png │ ├── mipmap-xxhdpi │ ├── ic_launcher.png │ └── ic_launcher_foreground.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ └── ic_launcher_foreground.png │ └── values │ ├── colors.xml │ ├── dimens.xml │ ├── integers.xml │ ├── strings.xml │ ├── styles.xml │ └── themes.xml ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/CardEntryBackgroundHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/CardEntryBackgroundHandler.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/ChargeCall.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/ChargeCall.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/ChargeResult.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/ChargeResult.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/ChargeService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/ChargeService.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/CheckoutActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/CheckoutActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/ConfigHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/ConfigHelper.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/ExampleApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/ExampleApplication.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/GooglePayChargeClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/GooglePayChargeClient.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/supercookie/OrderSheet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/java/com/example/supercookie/OrderSheet.java -------------------------------------------------------------------------------- /app/src/main/res/anim/enter_from_bottom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/anim/enter_from_bottom.xml -------------------------------------------------------------------------------- /app/src/main/res/anim/exit_to_bottom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/anim/exit_to_bottom.xml -------------------------------------------------------------------------------- /app/src/main/res/anim/stay_put.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/anim/stay_put.xml -------------------------------------------------------------------------------- /app/src/main/res/color/color_button_text.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/color/color_button_text.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/button.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/button.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/button_close.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/button_close.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/card_entry_button.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/card_entry_button.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/card_entry_close.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/card_entry_close.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/google_pay_button.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/google_pay_button.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/google_pay_logo_button.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/google_pay_logo_button.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/hero_cookie.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/hero_cookie.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/sheet_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/drawable/sheet_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_cookie.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/layout/activity_cookie.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/sheet_order.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/layout/sheet_order.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/integers.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/values/integers.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-android-quickstart/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------