Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ECP-8715] Update to model based PHP Library (#2456)
* [ECP-8715] Update to model based PHP Library * Update adyen/php-api-library to ^17.0.0 * fix: Notification model `getUpdatedAt` method uses `created_at` date instead of `updated_at` (#2417) Co-authored-by: Peter Ojo <[email protected]> * Fix 301 Return value while running command console (#2396) * [FIX] Fix 301 Return value while running command console * Add Magento\Framework\Console\Cli constants since deprecated Symfony\Component\Console\Command\Command --------- Co-authored-by: Rok Popov Ledinski <[email protected]> Co-authored-by: Can Demiralp <[email protected]> Co-authored-by: hossam-adyen <[email protected]> * Update dependency squizlabs/php_codesniffer to ~3.8.0 (#2426) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: hossam-adyen <[email protected]> * [ECP-8893] Allow usage of storedPaymentMethodId on headless payment requests (#2431) * [ECP-8893] Allow usage of storedPaymentMethodId in the request * [ECP-8893] Write unit tests * [ECP-8825] Enable pipeline runs for external contributions (#2451) * Add e2e flow for external contributors * Add dispatch for debugging * Tweak workflow name * Tweak workflow * Debug * Remove draft pipeline * Update e2e test pipeline * Update GraphQL test pipeline * Update Main CI workflow * Update RestAPI test workflow * DEBUG - Add test pipeline * Add authorization step * DEBUG - Test auth step * Define an internal environment * DEBUG - Try removing auth step and switch to conditional * Remove trial pipeline * Add designated worklfow for debugging * Embed authorize step in build and add conditional * Remove debug pipeline * [ECP-8890] Update class references (#2441) * [ECP-8878] Add pspReference to additional_information (#2443) * [ECP-8787] Handle Pending resultCode on multishipping (#2448) * [ECP-8822] Update management webhook endpoint (#2440) * Support model based for gitcards payments and refactor * Support model based for TransactionCancel and refactor * Support model based for TransactionRefund and refactor * Support model based for TransactionCapture * Support model based for TransactionDonate * Support model based for TransactionPaymentLinks * Support model based for PaymentRequest * Update Return controller * Update OrdersApi * Update PaymentsDetails helper * Remove createAdyenCheckoutService and deprecated checkout service * Use UtilityApi * Use model based for diffrent places * Use Adyen\Service\Management APIs * Fix unit tests * Fix unit tests * Fix conflict getMerchantAccountsAndClientKey * Fix all unit tests * entirely parse models to array * Fix TypeError: Adyen\Service\Checkout\OrdersApi::getBalanceOfGiftCard(): Argument #1 ($balanceCheckRequest) must be of type Adyen\Model\Checkout\BalanceCheckRequest, array given * use query params to pass page size and pagenumber * Fix new unit tests * Add AdyenPaymentMethodsBalanceTest * update DataTest new tests * Sonarcloud check fixes * Add MerchantAccountsTest * Add more tests for ManagementHelperTest * update TransactionPaymentTest * Add TransactionCaptureTest * Add TransactionCancelTest * Update DataTest * Add WebhookTestTest && AutoConfigurationTest * Add more code coverage * Add more code coverage in DataTest.php * mark createAdyenRecurringService & createAdyenCheckoutService as deprecated * Update ManagementHelper.php * Small refactor * unit test fixes * CS * Update PaymentDetailsTest.php * [ECP-8715] Fix PaymentsDetails class after merge conflict * [ECP-8715] Fix unit tests after merge conflict * [ECP-8715] Fix unit tests after merge conflict * [ECP-8715] Fix redundant line * FixPaymentDetails * [ECP-8715] Add type declarations * [ECP-8715] Fix test webhook url builder * [ECP-8715] Add type declarations * [ECP-8715] Formatting * [ECP-8715] Format the response array * [ECP-8715] Format the response array and add type declarations * [ECP-8715] Fix amount issue on second partial payment and declare types * [ECP-8715] Add type declarations and use toArray() method * [ECP-8715] Add type declarations and use toArray() method * [ECP-8715] Formatting * [ECP-8715] Use toArray() method * [ECP-8715] Use toArray() method and add type declarations * [ECP-8715] Use toArray() method and add type declarations remove unused exception * [ECP-8715] Use toArray() method and add type declarations * [ECP-8715] Use toArray() method and add type declarations * [ECP-8715] Fx return value, use toArray() method and add type declarations * [ECP-8715] Use toArray() method and add type declarations * [ECP-8715] Use toArray() method and add type declarations * [ECP-8715] Add type declarations * [ECP-8715] Use toArray() method and add type declarations * [ECP-8715] Fix Capture unit tests * [ECP-8715] Fix mixed unit tests * [ECP-8715] Fix Data helper unit tests --------- Co-authored-by: Paweł Ledwig <[email protected]> Co-authored-by: Peter Ojo <[email protected]> Co-authored-by: Tuyen Nguyen <[email protected]> Co-authored-by: Rok Popov Ledinski <[email protected]> Co-authored-by: Can Demiralp <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cenk Kucukiravul <[email protected]> Co-authored-by: Can Demiralp <[email protected]>
- Loading branch information