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

Task/piwoo 473 refactor payments api #969

Open
wants to merge 57 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
3b65a56
Add paymentGateway library
mmaymo Dec 3, 2024
42b11f3
Fix refund
mmaymo Dec 4, 2024
6ecab67
add translations fix
mmaymo Dec 9, 2024
293f86f
fix multi country settings field
mmaymo Dec 9, 2024
4938698
fix payment processor interface missing
mmaymo Dec 9, 2024
9701b5d
fix subscription renewal
mmaymo Dec 9, 2024
839441a
fix voucher show-hide
mmaymo Dec 9, 2024
b4ce8a7
Remove old gateway mentions
mmaymo Dec 9, 2024
c9d7638
Pass container to fix onMollieReturn
mmaymo Dec 15, 2024
df17270
Rename subscription gateways to handlers
mmaymo Dec 16, 2024
867b71a
Fix error on renaming
mmaymo Dec 16, 2024
6960bdf
Add decorators and strategies for request
mmaymo Dec 16, 2024
e8e941e
Merge branch 'develop' into task/PIWOO-473-refactor-payments-api
mmaymo Dec 17, 2024
150597e
Add payment library to repo
mmaymo Dec 17, 2024
3c71099
Add missing decorators
mmaymo Dec 17, 2024
67df6cd
Update PaymentFactory
mmaymo Dec 18, 2024
ed2e1e9
Check if is mollie gateway by id and function
mmaymo Dec 18, 2024
e26ae66
Rename gateway instances service to deprecated
mmaymo Dec 18, 2024
f8d7085
Remove wc methods from deprecated gateway and fix around
mmaymo Dec 18, 2024
ef509c4
Rename class
mmaymo Dec 19, 2024
791b58a
Remove refund processor from old gateway
mmaymo Dec 19, 2024
75e5ab6
Remove gateway logic
mmaymo Dec 19, 2024
ea48f17
Add subscription handling in process payment
mmaymo Dec 19, 2024
6c9277d
rename old gateway to deprecated
mmaymo Dec 19, 2024
9cc28e0
rename old gateway to deprecated
mmaymo Dec 19, 2024
6e215c8
Move subscription constructor filters
mmaymo Dec 20, 2024
f18224b
Use payment gateway for id
mmaymo Dec 20, 2024
863b1c9
Use id to check if is mollie gateway
mmaymo Dec 20, 2024
6a3fa30
Move refund files to its folder and fix issues
mmaymo Dec 24, 2024
67d6021
Move fields and instruction strategies managers to payment method folder
mmaymo Dec 24, 2024
c14bd6e
Move disable banktransfer method to class
mmaymo Dec 26, 2024
791dd71
Extract buttons bootstrap to services
mmaymo Dec 26, 2024
6b40d38
Rename paymentService into processor
mmaymo Dec 26, 2024
078b27c
Fix tests
mmaymo Dec 27, 2024
31e7c62
Fix cs
mmaymo Dec 27, 2024
1b05cf4
Fix ApplePayButton file name
szepeviktor Dec 29, 2024
8c1f22f
Fix two more namespaces
szepeviktor Dec 29, 2024
bb02da6
Move test overrides to a separate directory
szepeviktor Dec 29, 2024
a715994
Fix cs skip one test
mmaymo Dec 30, 2024
d374e5f
Fix cs
mmaymo Dec 30, 2024
8a89466
Extract hooks to service
mmaymo Jan 1, 2025
a730b03
Fix description with surcharge
mmaymo Jan 2, 2025
5b61422
Fix components card token
mmaymo Jan 2, 2025
c5c8e59
Fix cart amount filter for is available
mmaymo Jan 2, 2025
4e21d13
Fix subscriptions
mmaymo Jan 2, 2025
bb97562
Fix typo
mmaymo Jan 2, 2025
51a6ffa
Unlink payment processor from deprecated helpers
mmaymo Jan 2, 2025
0fd207a
Remove fields manager use services
mmaymo Jan 3, 2025
e6a8f52
Turn decorators into middleware chain
mmaymo Jan 3, 2025
bcc379b
Merge branch 'develop' into task/PIWOO-473-refactor-payments-api
mmaymo Jan 3, 2025
d9a8a74
Merge branch 'task/PIWOO-473-refactor-payments-api' into follow-psr4
mmaymo Jan 3, 2025
1a3e23e
Merge pull request #975 from szepeviktor/follow-psr4
mmaymo Jan 3, 2025
8be5cea
Merge remote-tracking branch 'origin/task/PIWOO-473-refactor-payments…
mmaymo Jan 3, 2025
467c059
Use new middleware in subscription
mmaymo Jan 3, 2025
17f39e8
Update docblocks
mmaymo Jan 3, 2025
b27ce4a
Fix tests
mmaymo Jan 7, 2025
ea81951
Fix cs, composer update
mmaymo Jan 7, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
coverage: none
tools: composer:v1
tools: composer:v2

- name: Validate composer.json and composer.lock
run: composer validate
Expand All @@ -28,14 +28,14 @@ jobs:
run: composer update --prefer-dist --no-progress

- name: dump autoload
run: composer dump-autoload
run: composer dump-autoload --dev --optimize --strict-psr

- name: check syntax
run: find src -name '*.php' | xargs -n 1 -P4 php -l

- name: Run PHPUnit
run: ./vendor/bin/phpunit

- name: Run Psalm
run: ./vendor/bin/psalm --show-info=false --threads=2

Expand Down
131 changes: 64 additions & 67 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mollie-payments-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Mollie Payments for WooCommerce
* Plugin URI: https://www.mollie.com
* Description: Accept payments in WooCommerce with the official Mollie plugin
* Version: 7.9.0-test
* Version: 7.9.0
* Author: Mollie
* Author URI: https://www.mollie.com
* Requires at least: 5.0
Expand Down
Loading
Loading