FLUX-SE / PayumStripe

Payum Stripe gateways (with SCA support)
MIT License
28 stars 15 forks source link

Add Refund action #11

Closed Prometee closed 3 years ago

Prometee commented 3 years ago

Add Refund action and fix wrong assignment on Cancel and CaptureAuthorize

codecov[bot] commented 3 years ago

Codecov Report

Merging #11 (47d3215) into master (595d446) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage     99.78%   99.78%           
- Complexity      304      310    +6     
=========================================
  Files            81       83    +2     
  Lines           910      937   +27     
=========================================
+ Hits            908      935   +27     
  Misses            2        2           
Impacted Files Coverage Δ Complexity Δ
src/AbstractStripeGatewayFactory.php 100.00% <100.00%> (ø) 7.00 <0.00> (ø)
src/Action/AbstractPaymentIntentAwareAction.php 100.00% <100.00%> (ø) 3.00 <0.00> (ø)
src/Action/Api/Resource/CreateRefundAction.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
src/Action/CancelAction.php 100.00% <100.00%> (ø) 4.00 <0.00> (ø)
src/Action/CaptureAuthorizedAction.php 100.00% <100.00%> (ø) 4.00 <0.00> (ø)
src/Action/RefundAction.php 100.00% <100.00%> (ø) 5.00 <5.00> (?)

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 595d446...47d3215. Read the comment docs.