FLUX-SE / PayumStripe

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

Api keys class refactor #18

Closed Prometee closed 3 years ago

Prometee commented 3 years ago

This PR closes #17 to allow providing 2 different API classes for each gateway

codecov[bot] commented 3 years ago

Codecov Report

Merging #18 (45d8a50) into master (52b848c) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage     99.80%   99.81%           
- Complexity      339      355   +16     
=========================================
  Files            89       93    +4     
  Lines          1038     1083   +45     
=========================================
+ Hits           1036     1081   +45     
  Misses            2        2           
Impacted Files Coverage Δ Complexity Δ
.../Action/Api/WebhookEvent/AbstractPaymentAction.php 97.77% <ø> (ø) 15.00 <0.00> (ø)
...ction/Api/WebhookEvent/StripeWebhookTestAction.php 93.33% <ø> (ø) 6.00 <0.00> (ø)
src/Api/KeysAwareTrait.php 100.00% <ø> (ø) 8.00 <0.00> (?)
src/AbstractStripeGatewayFactory.php 100.00% <100.00%> (ø) 9.00 <2.00> (+2.00)
src/Action/Api/StripeApiAwareTrait.php 100.00% <100.00%> (ø) 4.00 <1.00> (+1.00)
src/Action/NotifyAction.php 100.00% <100.00%> (ø) 5.00 <0.00> (ø)
src/Action/StatusPaymentIntentAction.php 100.00% <100.00%> (ø) 9.00 <0.00> (ø)
src/Action/StatusSetupIntentAction.php 100.00% <100.00%> (ø) 8.00 <0.00> (ø)
src/Action/StatusSubscriptionAction.php 100.00% <100.00%> (ø) 8.00 <1.00> (+2.00)
...Session/Api/StripeCheckoutSessionApiAwareTrait.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
... and 10 more

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 ee3474f...45d8a50. Read the comment docs.