Skip to content

Commit eb2f4c6

Browse files
authored
Update readme & changelog (#21)
1 parent 614d357 commit eb2f4c6

File tree

4 files changed

+45
-31
lines changed

4 files changed

+45
-31
lines changed

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# PayPal Checkout SDK
22

3-
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=master)
4-
[![Build Status](https://travis-ci.com/phpjuice/paypal-checkout-sdk.svg?branch=master)](https://travis-ci.com/phpjuice/paypal-checkout-sdk)
5-
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
3+
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main)
4+
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
65
[![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
76
[![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
87

98
This Package is a PHP SDK wrapper around version 2 of the PayPal rest API. It provides a simple, fluent API to create
10-
and capture orders with both sandbox and production environments supported.
9+
and capture orders with both sandbox and production environments supported.
1110

1211
To learn all about it, head over to the extensive [documentation](https://phpjuice.gitbook.io/paypal-checkout-sdk).
1312

@@ -131,6 +130,7 @@ $result = json_decode((string) $response->getBody());
131130
echo $result->id; // id of the captured order
132131
echo $result->status; // CAPTURED
133132
```
133+
134134
> **INFO**: head over to the extensive [documentation](https://phpjuice.gitbook.io/paypal-checkout-sdk).
135135
136136
## Changelog
@@ -152,11 +152,10 @@ If you discover any security related issues, please email author instead of usin
152152

153153
## License
154154

155-
license. Please see the [Licence](https://github.com/phpjuice/paypal-checkout-sdk/blob/master/LICENSE) for more
155+
license. Please see the [Licence](https://github.com/phpjuice/paypal-checkout-sdk/blob/main/LICENSE) for more
156156
information.
157157

158-
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=master)
159-
[![Build Status](https://travis-ci.com/phpjuice/paypal-checkout-sdk.svg?branch=master)](https://travis-ci.com/phpjuice/paypal-checkout-sdk)
160-
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
158+
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main)
159+
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
161160
[![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
162161
[![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)

changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,49 @@
22

33
All notable changes to `phpjuice/paypal-checkout-sdk` will be documented in this file.
44

5+
## Version 2.0.2
6+
7+
### Changed
8+
9+
- Add .gitattributes file
10+
11+
## Version 2.0.1
12+
13+
### Changed
14+
15+
- allow guzzlehttp/psr7 v2.0 dependency
16+
17+
## Version 2.0.0
18+
19+
### Added
20+
21+
- Add Brick/Money for handling money values.
22+
- Add new method addItems to PurchaseUnit class
23+
- Replace PHPUnit with PestPHP for tests.
24+
- Add new docs.
25+
26+
### Changed
27+
28+
- Change the minimum required PHP version to 7.4.
29+
30+
### Deprecated
31+
32+
- none
33+
34+
### Removed
35+
36+
- Money::class
37+
- Currency::class
38+
- 7.2 PHP support
39+
540
## Version 1.2.0
641

742
### Changed
43+
844
- fix amount breakdown to include discount #12
945

1046
### Removed
47+
1148
- Removed `setValue` & `setCurrencyCode` from `Amount.php`
1249
- Removed `setValue` & `setCurrencyCode` from `PurchaseUnit`
1350

docs/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ $result = json_decode($response->getBody()->getContents());
4949

5050
## We have badges!
5151

52-
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=master)
53-
[![Build Status](https://travis-ci.com/phpjuice/paypal-checkout-sdk.svg?branch=master)](https://travis-ci.com/phpjuice/paypal-checkout-sdk)
52+
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main)
5453
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
5554
[![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
5655
[![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)

0 commit comments

Comments
 (0)