SwedbankPay / swedbank-pay-woocommerce-core

Swedbank Pay WooCommerce Core
https://packagist.org/packages/swedbank-pay/swedbank-pay-woocommerce-core
Apache License 2.0
0 stars 5 forks source link

WOO-88 Implemented partial capture/refund #67

Closed aait closed 3 years ago

aait commented 3 years ago

This PR addes: 1) Partial capture and refund 2) Improved processTransaction() method 3) Added createCreditMemo() method 4) Code optimization

codecov[bot] commented 3 years ago

Codecov Report

Merging #67 (d5e0988) into master (80556e5) will increase coverage by 1.11%. The diff coverage is 4.29%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #67      +/-   ##
============================================
+ Coverage     25.22%   26.33%   +1.11%     
- Complexity      553      565      +12     
============================================
  Files            27       27              
  Lines          2815     2852      +37     
============================================
+ Hits            710      751      +41     
+ Misses         2105     2101       -4     
Impacted Files Coverage Δ
src/SwedbankPay/Core/Adapter/WC_Adapter.php 0.00% <0.00%> (ø)
src/SwedbankPay/Core/Api/Transaction.php 29.03% <0.00%> (+29.03%) :arrow_up:
src/SwedbankPay/Core/Library/Methods/Checkout.php 20.91% <0.00%> (+2.65%) :arrow_up:
src/SwedbankPay/Core/Library/Methods/Invoice.php 23.56% <0.00%> (-0.49%) :arrow_down:
src/SwedbankPay/Core/Library/OrderAction.php 14.56% <7.69%> (+5.84%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 80556e5...d5e0988. Read the comment docs.