Sha256: 3a166a06492394e1307483cbf742a11697733ef2269b4b37a53b4b34e2ac3863

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

= form_tag Przelewy24Payment.post_url, :method => "post" do
  = hidden_field_tag 'p24_session_id', data[:session_id]
  = hidden_field_tag 'p24_id_sprzedawcy', data.has_key?(:seller_id) ? data[:seller_id] : Przelewy24Payment.seller_id
  = hidden_field_tag 'p24_kwota', Przelewy24Payment.p24_price(data[:value])
  = hidden_field_tag 'p24_klient', data[:client_name]
  = hidden_field_tag 'p24_adres', data[:address]
  = hidden_field_tag 'p24_kod', data[:zipcode]
  = hidden_field_tag 'p24_miasto', data[:city]
  = hidden_field_tag 'p24_kraj', data[:country]
  = hidden_field_tag 'p24_email', data[:email]
  = hidden_field_tag 'p24_return_url_ok', data.has_key?(:comeback_url) ? data[:comeback_url] : Przelewy24Payment.get_comeback_url
  = hidden_field_tag 'p24_return_url_error', data.has_key?(:error_url) ? data[:error_url] : Przelewy24Payment.get_error_url
  = hidden_field_tag 'p24_opis', data[:description]
  = hidden_field_tag 'p24_language', data.has_key?(:language) ? data[:language] : Przelewy24Payment.language
  = hidden_field_tag 'p24_crc', data[:crc]
  = button_tag( t("activerecord.models.p24_payment.buy"))





























Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
przelewy24_payment-0.1.4 app/views/przelewy24_payment/_payment_form.html.haml