I created a new module MerchantCapture. Here you can find everything related to the Manual Capture except module settings which are located here: inc/settings/mollie_advanced_settings.php
In src/SDK/WordPressHttpAdapter.php I added another nobody code. Please check it. If you think it can cause problems, we have to find another way. When we cancel the payment successful response is 202.
In src/Payment/MollieOrderService.php I added a new action hook.
In src/Payment/PaymentModule.php I added a filter for disabling shipping or capture settings.
Here are some important notes about the PR:
inc/settings/mollie_advanced_settings.php
src/SDK/WordPressHttpAdapter.php
I added anothernobody
code. Please check it. If you think it can cause problems, we have to find another way. When we cancel the payment successful response is 202.src/Payment/MollieOrderService.php
I added a new action hook.src/Payment/PaymentModule.php
I added a filter for disabling shipping or capture settings.