Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<% if order.payee?(user) %>
<% if order.payer.verified_advanced_verification_result.present? %>
<div class="payment-tips verification-info">
<span class="tips-text">
为确保双方资金安全,请买家使用已完成进阶验证的银行卡向卖家转账。对方进阶验证信息:<br>
姓名:<%= order.payer.passed_advanced_verification_info(:real_name) %>;开户行:<%= order.payer.passed_advanced_verification_info(:bank_name) %>;银行卡号:<%= order.payer.passed_advanced_verification_info(:bank_card_number).first(4) %>********<%= order.payer.passed_advanced_verification_info(:bank_card_number).last(4) %>
</span>
</div>
<% end %>
<% end %>
<% if order.payer?(user) %>
<% if order.payee.verified_advanced_verification_result.present? %>
<div class="payment-tips verification-info">
<span class="tips-text">
为确保双方资金安全,请卖家确认买家使用已完成进阶认证的银行卡进行支付。对方进阶验证信息:<br>
姓名:<%= order.payee.passed_advanced_verification_info(:real_name) %>;开户行:<%= order.payee.passed_advanced_verification_info(:bank_name) %>;银行卡号:<%= order.payee.passed_advanced_verification_info(:bank_card_number).first(4) %>********<%= order.payee.passed_advanced_verification_info(:bank_card_number).last(4) %>
</span>
</div>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.