From 205e17475bd72fb4f95ec0adbab0030ea95aeb72 Mon Sep 17 00:00:00 2001 From: sshropshire Date: Thu, 12 Oct 2023 13:35:34 -0500 Subject: [PATCH 1/2] Add Cardinal SDK code snippet for build.gradle file. --- docs/PayPalNativePayments/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/PayPalNativePayments/README.md b/docs/PayPalNativePayments/README.md index 714373282..e48a5ef10 100644 --- a/docs/PayPalNativePayments/README.md +++ b/docs/PayPalNativePayments/README.md @@ -21,7 +21,7 @@ The order created on your server will be used to authorize or capture funds. For ### 1. Add the PayPal Native Payments module to your app -In your `build.gradle` file, add the following dependency: +In your app's `build.gradle` file, add the following dependency: ```groovy dependencies { @@ -29,6 +29,22 @@ dependencies { } ``` +Also, add the following to your project's top-level build.gradle file: + +```groovy +allprojects { + repositories { + maven { + url "https://cardinalcommerceprod.jfrog.io/artifactory/android" + credentials { + username "paypal_sgerritz" + password "AKCp8jQ8tAahqpT5JjZ4FRP2mW7GMoFZ674kGqHmupTesKeAY2G8NcmPKLuTxTGkKjDLRzDUQ" + } + } + } +} +``` + ### 2. Sample App Preparation In order to integrate PayPal native payments, you will need: From 6a0248eaeab94ac78ef54aa3b4d636b467b14069 Mon Sep 17 00:00:00 2001 From: sshropshire <58225613+sshropshire@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:45:52 -0500 Subject: [PATCH 2/2] Update docs/PayPalNativePayments/README.md Co-authored-by: Devon Apple (PayPal) <105875840+devapplepaypal@users.noreply.github.com> --- docs/PayPalNativePayments/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PayPalNativePayments/README.md b/docs/PayPalNativePayments/README.md index e48a5ef10..cc0100ee3 100644 --- a/docs/PayPalNativePayments/README.md +++ b/docs/PayPalNativePayments/README.md @@ -29,7 +29,7 @@ dependencies { } ``` -Also, add the following to your project's top-level build.gradle file: +Also, add the following to your project's top-level `build.gradle` file: ```groovy allprojects {