Sha256: c61917709b5c926f8b779978ae870939117d974c3905df70967894a5b9d25d87

Contents?: true

Size: 1.35 KB

Versions: 3

Compression:

Stored size: 1.35 KB

Contents

<% payment_service_for @registration.receipt_code, current_account.preferred_paypal_merchant_id,
        amount:   @registration.make_payment_now_amount.to_f,
        currency: @registration.make_payment_now_amount.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.paypalobjects.com/webstatic/en_US/i/btn/png/gold-pill-paypal-34px.png" %>
    <% else %>
      <%= image_submit_tag "https://www.paypalobjects.com/webstatic/en_US/i/btn/png/gold-pill-paypal-34px.png" %>
    <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dm_event-4.2.3.10 app/views/dm_event/payments/_registrations_paypal_standard.html.erb
dm_event-4.2.3.9 app/views/dm_event/payments/_registrations_paypal_standard.html.erb
dm_event-4.2.3.8 app/views/dm_event/payments/_registrations_paypal_standard.html.erb