Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.0.0 #9

Merged
merged 61 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
650255e
tests: check generation of query map, initial null value and getters
lrosenfeldt Jul 29, 2024
260f001
tests: validate getters and setter
lrosenfeldt Jul 29, 2024
b22ccbc
refactor: remove obsolete properties and type assertion
lrosenfeldt Jul 29, 2024
7702963
fix: handle json erros from symfony/serialize
lrosenfeldt Jul 29, 2024
7bce549
fix: use string id as specified by the type
lrosenfeldt Jul 29, 2024
46f3a85
tests(checkout-api): test endpoints for sucessful responses, error re…
lrosenfeldt Jul 29, 2024
1af595e
tests: use shared api client trait for config and http client mocking
lrosenfeldt Jul 29, 2024
fd59bb6
tests: validate endpoints for payment execution
lrosenfeldt Jul 29, 2024
b29c7f8
chore: put optional parameter for constructor at the end
lrosenfeldt Jul 29, 2024
c673bc3
chore: add missing doc comment
lrosenfeldt Jul 29, 2024
6cf1729
tests: validate endpoints for payment execution and information
lrosenfeldt Jul 29, 2024
3e39d34
fix: DateTime should be handle as time and not as an instance of Date…
lrosenfeldt Jul 29, 2024
773249f
chore: remove obsolete imports
lrosenfeldt Jul 29, 2024
ce40ef1
chore: remove debug statement
lrosenfeldt Jul 29, 2024
48fcdbe
tests: validate endpoints for commerce cases
lrosenfeldt Jul 29, 2024
54ff0ea
chore: exclude models from tests
lrosenfeldt Jul 29, 2024
0924da7
tests: validate endpoints for order management
lrosenfeldt Jul 29, 2024
bfcb38d
Merge pull request #3 from PAYONE-GmbH/refactor/tests-for-initial-imp…
lrosenfeldt Jul 29, 2024
b6ce9b4
refactor(endpoints): remove async variations of api calls
lrosenfeldt Jul 29, 2024
43f70b8
chore: remove empty doc class comments
lrosenfeldt Jul 29, 2024
530e008
refactor: remove unused debug options and pass control of user agent …
lrosenfeldt Jul 29, 2024
71aeee6
refactor: make Request factory methods internal
lrosenfeldt Jul 29, 2024
fe5ac13
Merge pull request #4 from PAYONE-GmbH/refactor/simplify-sdk-interface
lrosenfeldt Jul 29, 2024
7ac1e5e
chore: sync lockfile
lrosenfeldt Jul 29, 2024
31ea152
chore: implement demo part for commerce cases
lrosenfeldt Jul 30, 2024
3aad945
refactor: use require_once instead of require
lrosenfeldt Jul 30, 2024
8bc55c0
refactor: remove unused local variables
lrosenfeldt Jul 30, 2024
11e86e3
refactor: directly return first element of makeApiCall result instead…
lrosenfeldt Jul 30, 2024
d30a347
chore: remove unused local variables
lrosenfeldt Jul 30, 2024
19a62be
chore: delete now obsolete multipart variable
lrosenfeldt Jul 30, 2024
7bee97e
chore: removed unused error response in tests for internal server errors
lrosenfeldt Jul 30, 2024
d816c47
chore: remove unneccessary local variables for errorResponses and res…
lrosenfeldt Jul 30, 2024
b5b645a
refactor: use constant for checkout by id uri
lrosenfeldt Jul 30, 2024
b52d76d
chore: remove unneccessary boostrap code for tests
lrosenfeldt Jul 30, 2024
e1d3712
Merge pull request #5 from PAYONE-GmbH/refactor/initial-sonarcloud-an…
lrosenfeldt Jul 30, 2024
8bed1f5
fix: serialize empty objects to '{}', add more extensive error inform…
lrosenfeldt Jul 30, 2024
789ca9a
fix: mark optional properties as nullable
lrosenfeldt Jul 30, 2024
273f6c8
chore: showcase payment information, and checkout api
lrosenfeldt Jul 30, 2024
c5175b9
fix: make optional properties nullable
lrosenfeldt Jul 30, 2024
06bacca
fix: only convert empty objects to '{}' not any array
lrosenfeldt Jul 30, 2024
b3f92a3
fix: make properties optional as this is needed for responses
lrosenfeldt Jul 30, 2024
235545a
chore: add example for commerce case creation with auto execute order
lrosenfeldt Jul 30, 2024
0fac63f
fix: wrap customer object to match expected json of the pcp api
lrosenfeldt Jul 31, 2024
58a6e80
refactor: showcase step-by-step and one-stop-checkout in demo app
lrosenfeldt Jul 31, 2024
3d50514
fix: allow nullables to be compatible with api responses
lrosenfeldt Jul 31, 2024
a5c60d5
chore: demo order management endpoints
lrosenfeldt Jul 31, 2024
6b7d796
chore: document api of the sdk
lrosenfeldt Jul 31, 2024
823b3ec
chore: remove obsolete example code
lrosenfeldt Jul 31, 2024
212d64e
fix: update out of date type annotations
lrosenfeldt Jul 31, 2024
0b9d84a
chore: remove unused method
lrosenfeldt Jul 31, 2024
e692d14
Merge pull request #6 from PAYONE-GmbH/refactor/improved-example-app
lrosenfeldt Jul 31, 2024
1fa0be9
refactor: add version field
lrosenfeldt Jul 31, 2024
2c10f89
chore: add script to update versions and tag a release version
lrosenfeldt Jul 31, 2024
d864f9c
docs: explain release flow and installation process from github via c…
lrosenfeldt Jul 31, 2024
5044dad
Merge pull request #7 from PAYONE-GmbH/refactor/release-flow
lrosenfeldt Jul 31, 2024
bdd087f
Update version to 1.0.0
lrosenfeldt Jul 31, 2024
269632c
chore: use correct url for installation guide
lrosenfeldt Jul 31, 2024
eed5c91
fix: autoloading should be done by the consumer of the sdk
lrosenfeldt Jul 31, 2024
416720c
chore: link to composer docs for repositories feature
lrosenfeldt Jul 31, 2024
c4d181c
chore: remove unused imports
lrosenfeldt Jul 31, 2024
da5426b
tests: use different values when testing getters
lrosenfeldt Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,015 changes: 1,006 additions & 9 deletions README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"name": "PAYONE GmbH"
}
],
"version": "1.0.0",
"require": {
"php": "~8.2||~8.3",
"ext-curl": "*",
Expand Down Expand Up @@ -37,7 +38,7 @@
}
},
"scripts": {
"demo": "php ./examples/demo-app/index.php",
"demo": "php ./examples/demo-app/src/DemoApp.php",
"format-check": "php-cs-fixer check",
"format": "php-cs-fixer fix",
"lint": "phpstan analyze -l 9 src tests",
Expand Down
Loading