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: LICENSE
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
The PayPal Server SDK is released under the following license:
2
2
3
-
Copyright (c) 2024 PAYPAL, INC.
3
+
Copyright (c) 2024 PAYPAL, INC.
4
4
5
-
SDK LICENSE
5
+
SDK LICENSE
6
6
7
7
NOTICE TO USER: PayPal, Inc. is providing the Software and Documentation for use under the terms of this Agreement. Any use, reproduction, modification or distribution of the Software or Documentation, or any derivatives or portions hereof, constitutes your acceptance of this Agreement.
8
8
As used in this Agreement, "PayPal" means PayPal, Inc. "Software" means the software code accompanying this agreement. "Documentation" means the documents, specifications and all other items accompanying this Agreement other than the Software.
Copy file name to clipboardExpand all lines: README.md
+32-17Lines changed: 32 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,22 @@
3
3
4
4
## Introduction
5
5
6
-
An order represents a payment between two or more parties. Use the Orders API to create, update, retrieve, authorize, and capture orders., Call the Payments API to authorize payments, capture authorized payments, refund payments that have already been captured, and show payment information. Use the Payments API in conjunction with the <a href="/docs/api/orders/v2/">Orders API</a>. For more information, see the <a href="/docs/checkout/">PayPal Checkout Overview</a>., The Payment Method Tokens API saves payment methods so payers don't have to enter details for future transactions. Payers can check out faster or pay without being present after they agree to save a payment method.<br><br>The API associates a payment method with a temporary setup token. Pass the setup token to the API to exchange the setup token for a permanent token.<br><br>The permanent token represents a payment method that's saved to the vault. This token can be used repeatedly for checkout or recurring transactions such as subscriptions.<br><br>The Payment Method Tokens API is available in the US only.
6
+
### ⚠️ Beta Release Notice
7
+
8
+
This version is considered a **beta release**. While we have done our best to ensure stability and functionality, there may still be bugs, incomplete features, or breaking changes in future updates.
9
+
10
+
#### Important Notes
11
+
12
+
-**Available Features:** This SDK currently contains only 3 of PayPal's API endpoints. Additional endpoints and functionality will be added in the future.
13
+
-**API Changes:** Expect potential changes in APIs and features as we finalize the product.
14
+
15
+
### Information
16
+
17
+
The PayPal Server SDK provides integration access to the PayPal REST APIs. The API endpoints are divided into distinct controllers:
18
+
19
+
- Orders Controller: <ahref="https://developer.paypal.com/docs/api/orders/v2/">Orders API v2</a>
20
+
- Payments Controller: <ahref="https://developer.paypal.com/docs/api/payments/v2/">Payments API v2</a>
21
+
- Vault Controller: <ahref="https://developer.paypal.com/docs/api/payment-tokens/v3/">Payment Method Tokens API v3</a> *Available in the US only.*
7
22
8
23
Find out more here: [https://developer.paypal.com/docs/api/orders/v2/](https://developer.paypal.com/docs/api/orders/v2/)
9
24
@@ -12,23 +27,23 @@ Find out more here: [https://developer.paypal.com/docs/api/orders/v2/](https://d
12
27
Run the following command to install the package and automatically add the dependency to your composer.json file:
13
28
14
29
```php
15
-
composer require "paypal/paypal-server-sdk:0.5.1"
30
+
composer require "paypal/paypal-server-sdk:0.5.2"
16
31
```
17
32
18
33
Or add it to the composer.json file manually as given below:
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.5.1/doc/client.md)
46
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.5.2/doc/client.md)
32
47
33
48
The following parameters are configurable for the API Client:
34
49
@@ -44,8 +59,8 @@ The following parameters are configurable for the API Client:
44
59
|`retryOnTimeout`|`bool`| Whether to retry on request timeout.<br>*Default*: `true`|
45
60
|`httpStatusCodesToRetry`|`array`| Http status codes to retry against.<br>*Default*: `408, 413, 429, 500, 502, 503, 504, 521, 522, 524`|
46
61
|`httpMethodsToRetry`|`array`| Http methods to retry against.<br>*Default*: `'GET', 'PUT'`|
47
-
|`loggingConfiguration`|[`LoggingConfigurationBuilder`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.5.1/doc/logging-configuration-builder.md)| Represents the logging configurations for API calls |
48
-
|`clientCredentialsAuth`|[`ClientCredentialsAuth`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.5.1/doc/auth/oauth-2-client-credentials-grant.md)| The Credentials Setter for OAuth 2 Client Credentials Grant |
62
+
|`loggingConfiguration`|[`LoggingConfigurationBuilder`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.5.2/doc/logging-configuration-builder.md)| Represents the logging configurations for API calls |
63
+
|`clientCredentialsAuth`|[`ClientCredentialsAuth`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.5.2/doc/auth/oauth-2-client-credentials-grant.md)| The Credentials Setter for OAuth 2 Client Credentials Grant |
49
64
50
65
The API client can be initialized as follows:
51
66
@@ -90,20 +105,20 @@ The SDK can be configured to use a different environment for making API calls. A
90
105
91
106
This API uses the following authentication schemes.
0 commit comments