Skip to content

Commit

Permalink
Add BoltPayment#show for admin page
Browse files Browse the repository at this point in the history
This currently won't display correctly in Ruby 2.5 - 2.7 due to an error
caused by solidusio/solidus#4366
  • Loading branch information
Naokimi committed May 13, 2022
1 parent 8732ba9 commit 92aa529
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/spree/admin/payments/source_views/_bolt.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<p>Card Number: <b>XXXX-XXXX-XXXX-<%= @payment.source.card_last4 %></b></p>
<p>Expiration:<b> <%= @payment.source.card_expiration %></b></p>

0 comments on commit 92aa529

Please sign in to comment.