solidusio / solidus_stripe

💳 Integrate Solidus with Stripe
https://stripe.com
BSD 3-Clause "New" or "Revised" License
36 stars 62 forks source link

Allow reuse of payment sources via admin #278

Closed rainerdema closed 1 year ago

rainerdema commented 1 year ago

Summary

ℹ️ Please refer to #280 for more details about specific implementation decisions.

Screenshot 2023-04-13 at 20 03 09

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

codecov[bot] commented 1 year ago

Codecov Report

Merging #278 (33b0ad4) into master (1136a79) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
+ Coverage   99.59%   99.62%   +0.03%     
==========================================
  Files          27       30       +3     
  Lines         489      540      +51     
==========================================
+ Hits          487      538      +51     
  Misses          2        2              
Impacted Files Coverage Δ
app/models/solidus_stripe/gateway.rb 100.00% <100.00%> (ø)
app/models/solidus_stripe/payment_intent.rb 100.00% <100.00%> (ø)
app/models/solidus_stripe/payment_method.rb 100.00% <100.00%> (ø)
...spree/admin/payments/source_forms/_stripe.html.erb 100.00% <100.00%> (ø)
...nts/source_forms/existing_payment/_stripe.html.erb 100.00% <100.00%> (ø)
...ource_forms/existing_payment/stripe/_card.html.erb 100.00% <100.00%> (ø)
lib/solidus_stripe/testing_support/factories.rb 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more