Skip to content

Commit 671a2b2

Browse files
1.0.0 Release
Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
1 parent 504c367 commit 671a2b2

File tree

2 files changed

+19
-23
lines changed

2 files changed

+19
-23
lines changed

README.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33

44
## Introduction
55

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
6+
### Important Notes
117

128
- **Available Features:** This SDK currently contains only 3 of PayPal's API endpoints. Additional endpoints and functionality will be added in the future.
139
- **API Changes:** Expect potential changes in APIs and features as we finalize the product.
@@ -27,23 +23,23 @@ Find out more here: [https://developer.paypal.com/docs/api/orders/v2/](https://d
2723
Run the following command to install the package and automatically add the dependency to your composer.json file:
2824

2925
```bash
30-
composer require "paypal/paypal-server-sdk:0.7.0"
26+
composer require "paypal/paypal-server-sdk:1.0.0"
3127
```
3228

3329
Or add it to the composer.json file manually as given below:
3430

3531
```json
3632
"require": {
37-
"paypal/paypal-server-sdk": "0.7.0"
33+
"paypal/paypal-server-sdk": "1.0.0"
3834
}
3935
```
4036

4137
You can also view the package at:
42-
https://packagist.org/packages/paypal/paypal-server-sdk#0.7.0
38+
https://packagist.org/packages/paypal/paypal-server-sdk#1.0.0
4339

4440
## Initialize the API Client
4541

46-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/client.md)
42+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/client.md)
4743

4844
The following parameters are configurable for the API Client:
4945

@@ -59,8 +55,8 @@ The following parameters are configurable for the API Client:
5955
| `retryOnTimeout` | `bool` | Whether to retry on request timeout.<br>*Default*: `true` |
6056
| `httpStatusCodesToRetry` | `array` | Http status codes to retry against.<br>*Default*: `408, 413, 429, 500, 502, 503, 504, 521, 522, 524` |
6157
| `httpMethodsToRetry` | `array` | Http methods to retry against.<br>*Default*: `'GET', 'PUT'` |
62-
| `loggingConfiguration` | [`LoggingConfigurationBuilder`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/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.7.0/doc/auth/oauth-2-client-credentials-grant.md) | The Credentials Setter for OAuth 2 Client Credentials Grant |
58+
| `loggingConfiguration` | [`LoggingConfigurationBuilder`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/logging-configuration-builder.md) | Represents the logging configurations for API calls |
59+
| `clientCredentialsAuth` | [`ClientCredentialsAuth`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/auth/oauth-2-client-credentials-grant.md) | The Credentials Setter for OAuth 2 Client Credentials Grant |
6460

6561
The API client can be initialized as follows:
6662

@@ -97,21 +93,21 @@ The SDK can be configured to use a different environment for making API calls. A
9793

9894
This API uses the following authentication schemes.
9995

100-
* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/auth/oauth-2-client-credentials-grant.md)
96+
* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/auth/oauth-2-client-credentials-grant.md)
10197

10298
## List of APIs
10399

104-
* [Orders](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/controllers/orders.md)
105-
* [Payments](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/controllers/payments.md)
106-
* [Vault](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/controllers/vault.md)
100+
* [Orders](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/controllers/orders.md)
101+
* [Payments](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/controllers/payments.md)
102+
* [Vault](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/controllers/vault.md)
107103

108104
## Classes Documentation
109105

110-
* [ApiException](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/api-exception.md)
111-
* [ApiResponse](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/api-response.md)
112-
* [HttpRequest](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/http-request.md)
113-
* [HttpResponse](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/http-response.md)
114-
* [LoggingConfigurationBuilder](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/logging-configuration-builder.md)
115-
* [RequestLoggingConfigurationBuilder](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/request-logging-configuration-builder.md)
116-
* [ResponseLoggingConfigurationBuilder](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/0.7.0/doc/response-logging-configuration-builder.md)
106+
* [ApiException](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/api-exception.md)
107+
* [ApiResponse](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/api-response.md)
108+
* [HttpRequest](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/http-request.md)
109+
* [HttpResponse](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/http-response.md)
110+
* [LoggingConfigurationBuilder](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/logging-configuration-builder.md)
111+
* [RequestLoggingConfigurationBuilder](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/request-logging-configuration-builder.md)
112+
* [ResponseLoggingConfigurationBuilder](https://www.github.com/paypal/PayPal-PHP-Server-SDK/tree/1.0.0/doc/response-logging-configuration-builder.md)
117113

src/PaypalServerSdkClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(array $config = [])
6262
->converter(new CompatibilityConverter())
6363
->jsonHelper(ApiHelper::getJsonHelper())
6464
->apiCallback($this->config['httpCallback'] ?? null)
65-
->userAgent('PayPal REST API PHP SDK, Version: 0.7.0, on OS {os-info}')
65+
->userAgent('PayPal REST API PHP SDK, Version: 1.0.0, on OS {os-info}')
6666
->serverUrls(self::ENVIRONMENT_MAP[$this->getEnvironment()], Server::DEFAULT_)
6767
->authManagers(['Oauth2' => $this->clientCredentialsAuthManager])
6868
->loggingConfiguration($loggingConfiguration)

0 commit comments

Comments
 (0)