Hi,
I'm looking to integrate my rails application with the payment provider Adyen, I've installed the Adyen Gem and put the code in to make a basic form, but I'm getting an error:
Adyen Gem: http://github.com/wvanbergen/adyen
Invalid date notation: nil!
/Users/chris/.gem/ruby/1.8/gems/adyen-0.1.5/lib/adyen/formatter.rb:10:in
fmt_date' /Users/chris/.gem/ruby/1.8/gems/adyen-0.1.5/lib/adyen/form.rb:35:in
do_attribute_transformations!' /Users/chris/.gem/ruby/1.8/gems/adyen-0.1.5/lib/adyen/form.rb:40:inpayment_fields' /Users/chris/.gem/ruby/1.8/gems/adyen-0.1.5/lib/adyen/form.rb:59:in
hidden_fields' app/views/payments/free.html.erb:7
my Code is:
<% form_tag(:url => Adyen::Form.url) do %>
<%= Adyen::Form.hidden_fields(:merchant_account => 'myaccount',:skin_code => 'myperfectskin', :shared_secret => 'youllneverguess', :payment_amount => '1000') %>
<% end %>