Skip to content

Instantly share code, notes, and snippets.

@jomz
Created December 6, 2011 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jomz/1437364 to your computer and use it in GitHub Desktop.
Save jomz/1437364 to your computer and use it in GitHub Desktop.
</form>
<div class="clear"></div>
<legend><%= t("overview") %></legend>
<%= render :partial => 'shared/order_details', :locals => {:order => @order.reload} -%>
<% payment_service_for "#{@order.number}/#{Time.now.to_i.to_s + rand(1000).to_s}", Billing::Ogone.current.preferred_account_name, :amount => (@order.total * 100).to_i, :currency => Billing::Ogone.current.preferred_currency, :service => :ogone do |service| %>
<% service.redirect :accepturl => ogone_notification_url,
:cancelurl => ogone_notification_url,
:declineurl => ogone_notification_url,
:exceptionurl => ogone_notification_url %>
<% service.add_field 'TP', 'http://octopussparklingwines.eu/ogone.html' %>
<% service.add_field 'LANGUAGE', 'nl_BE' %>
<button type="submit" class="continue button primary"><%=t("continue") %></button>
<% end %>
<form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment