Sha256: d4e31950e52142c22c123dcfe57976d3fdf7f81b7739643559b08457456af18b
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
<% payment_service_for @registration.receipt_code, current_account.preferred_paypal_merchant_id, amount: @registration.make_payment_now_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
3 entries across 3 versions & 1 rubygems