IPN improvements

This commit is contained in:
2013-08-28 03:18:47 -07:00
parent 0be2834a5d
commit c662be6dc0
10 changed files with 48 additions and 15 deletions

View File

@@ -8,10 +8,11 @@
<% end %>
<p>
<% if @ipn.payment.present? %>
<%= link_to "Payment", @ipn.payment %>
<%= link_to "Linked Payment", @ipn.payment %>
<% else %>
Couldn't link '<%= @ipn.payer_email %>' or payment amount '<%= @ipn.payment_gross.to_i %>' not a valid membership level. Please create payment manually.
<span class="alert">Couldn't link automatically. Please create payment manually or adjust the user account and try again to <%= link_to "link email '#{@ipn.payer_email}' at membership level '#{@ipn.payment_gross.to_i}'", link_ipn_path(@ipn) %>.</span>
<% end %>
</p>
<%= link_to "Back", ipns_path %>
<%= link_to "Back", ipns_path %>