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

Implemented Adapter::processTransactionObject() method #72

Closed olegisk closed 2 years ago

olegisk commented 2 years ago

Implemented Adapter::processTransactionObject() method to handle capture/cancel/refund actions. WooCommerce adapter uses swedbank_pay_transaction_object wp filter.

codecov[bot] commented 2 years ago

Codecov Report

Merging #72 (ee3ffba) into main (79e1422) will decrease coverage by 0.10%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #72      +/-   ##
============================================
- Coverage     27.07%   26.97%   -0.11%     
- Complexity      570      571       +1     
============================================
  Files            27       27              
  Lines          2866     2877      +11     
============================================
  Hits            776      776              
- Misses         2090     2101      +11     
Impacted Files Coverage Δ
src/SwedbankPay/Core/Adapter/WC_Adapter.php 0.00% <0.00%> (ø)
src/SwedbankPay/Core/Library/Methods/Checkout.php 20.80% <0.00%> (-0.16%) :arrow_down:
src/SwedbankPay/Core/Library/Methods/Invoice.php 23.33% <0.00%> (-0.24%) :arrow_down:
src/SwedbankPay/Core/Library/OrderAction.php 14.47% <0.00%> (-0.09%) :arrow_down:

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 79e1422...ee3ffba. Read the comment docs.