Sha256: 91bc80b5600c326b8f00f4a2d692723e98ee6c891d17be0771c42c2aca8a6ee6
Contents?: true
Size: 769 Bytes
Versions: 35
Compression:
Stored size: 769 Bytes
Contents
= javascript_include_tag "https://checkout.stripe.com/checkout.js" #effective-orders-new-charge-form{:data => {'stripe-publishable-key' => EffectiveOrders.stripe[:publishable_key], 'site-title' => EffectiveOrders.stripe[:site_title], 'site-image' => EffectiveOrders.stripe[:site_image], 'user-email' => current_user.try(:email), 'amount' => order.total, 'description' => "#{order.num_items} items (#{price_to_currency(order.total)})"}} = simple_form_for(@stripe_charge || Effective::StripeCharge.new(order), (EffectiveOrders.simple_form_options || {}).merge(:url => effective_orders.stripe_charges_path)) do |f| = f.input :effective_order_id, :as => :hidden = f.input :token, :as => :hidden = f.submit 'Continue to Payment', :class => 'btn btn-primary'
Version data entries
35 entries across 35 versions & 1 rubygems