You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,11 @@ An environment which supports TLS 1.2 (see the TLS-update site for more informat
14
14
15
15
## Usage
16
16
17
+
### Binaries
18
+
19
+
It is not mandatory to fork this repository for using the PayPal SDK. You can refer [PayPal Checkout Server SDK](https://developer.paypal.com/docs/checkout/reference/server-integration) for configuring and working with SDK without forking this code.
20
+
21
+
For contirbuting or referrring the samples, You can fork/refer this repository.
17
22
### Setting up credentials
18
23
Get client ID and client secret by going to https://developer.paypal.com/developer/applications and generating a REST API app. Get <b>Client ID</b> and <b>Secret</b> from there.
19
24
@@ -113,16 +118,16 @@ Before capturing an order, order should be approved by the buyer using the appro
113
118
114
119
To run integration tests using your client id and secret, run the `test` gradle command with the `-Pintegration` flag
115
120
```sh
116
-
$ dotnet test -v normal
121
+
$ PAYPAL_CLIENT_ID=YOUR_SANDBOX_CLIENT_ID PAYPAL_CLIENT_SECRET=YOUR_SANDBOX_CLIENT_SECRET dotnet test -v normal
117
122
```
118
123
119
124
You may use the client id and secret above for demonstration purposes.
120
125
121
126
122
-
*NOTE*: This SDK is still in beta, is subject to change, and should not be used in production.
123
-
124
127
## Samples
125
128
126
129
You can start off by trying out [creating and capturing an order](/Samples/CaptureIntentExamples/RunAll.java).
127
130
128
131
To try out different samples for both create and authorize intent head to [this link](/Samples).
132
+
133
+
Note: Update the `PayPalClient.cs` with your sandbox client credentials or pass your client credentials as environment variable whie executing the samples.
0 commit comments