Sha256: eda127af2be40a184c510ca083c515d0afac9339726d60705f4fc10420ed8f76

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

<% payment_service_for @registration.receipt_code, current_account.preferred_sofort_user_id,
        credential2:  current_account.preferred_sofort_project_id,
        credential3:  current_account.preferred_sofort_project_password,
        credential4:  '',  #--- notification password
        amount:       @registration.make_payment_now_amount,
        currency:     @registration.make_payment_now_amount.currency.iso_code,
        service: :directebanking do |service|
          service.item_name         @registration.workshop.title
          service.description       @registration.workshop.title
          service.reason_2          @registration.receipt_code
          service.notify_url        dm_event.payment_sofort_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 -->
    <%= image_submit_tag "dm_event/payment_logos/sofort/#{I18n.locale}/200x75.png", width: 150 %>
<% 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_sofort.html.erb
dm_event-4.2.3.9 app/views/dm_event/payments/_registrations_sofort.html.erb
dm_event-4.2.3.8 app/views/dm_event/payments/_registrations_sofort.html.erb