Sha256: b12d2e1b985b85747f49135d97aba27d611a97c09d7de26ab175acc8e7a946f7
Contents?: true
Size: 1.29 KB
Versions: 9
Compression:
Stored size: 1.29 KB
Contents
<% payment_service_for @registration.receipt_code, current_account.preferred_paypal_merchant_id, amount: @registration.payment_owed.amount, currency: @registration.payment_owed.currency.iso_code, service: :paypal do |service| service.customer :first_name => @registration.first_name, :last_name => @registration.last_name, :phone => '', :email => @registration.email service.item_name @registration.workshop.title service.tax '0.00' service.cmd '_donations' if @registration.workshop.crowdfunding? service.notify_url dm_event.payment_paypal_ipn_url if Rails.env.production? service.return_url dm_event.register_success_url(@registration.receipt_code) service.cancel_return_url dm_event.register_choose_payment_url(@registration.receipt_code) %> <!-- display payment summary here --> <% if locale == :de %> <%= image_submit_tag "https://www.paypal.com/de_DE/DE/i/btn/btn_xpressCheckout.gif" %> <% else %> <%= image_submit_tag "https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" %> <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems