Displaying 3 results from an estimated 3 matches for "paypal_form_tag".
2006 Aug 13
0
application_helpers, gems and paypal
Hi I''m trying to use the paypal ipn gem in my app but rails can''t seem
to find it. I installed using gems and it is listed as being installed.
I followed the documenation and put include Paypal::Helpers in my
application_helpers.rb but as soonas i try to use <%= paypal_form_tag
%> i get
undefined local variable or method `paypal_form_tag'' for
#<#<Class:0xb76ffa40>:0xb76ff964>
Extracted source (around line #24):
23:
24: <%= paypal_form_tag %>
Is there something else i have to do in my rails app to use a gem? I
restarted my server, n...
2006 Apr 21
10
Paypal payments and IPN
I have followed the instructions over at
http://dist.leetsoft.com/api/paypal/
In order I:
1. installed the money library with gem install --source
http://dist.leetsoft.com/api/paypal/ money
2. installed the paypal library with gem install --source
http://dist.leetsoft.com/api/paypal/ paypal
3. created a new app with rails NewApp
4. added the PaymentHelper module to the
2006 Jul 01
0
Paypal IPN Gem
...end
end
## My helper
# Methods added to this helper will be available to all templates in the
application.
require ''paypal''
module ApplicationHelper
include Paypal::Helpers
#include OpenSSL::Helpers
end
## This is my view for payment, file called pay.rhtml
<%= paypal_form_tag %>
<%= paypal_setup "BYC Registration", Money.us_dollar(50), "
byc@gen-x.com", :notify_url => url_for(:only_path => false, :action =>
''pay'') %>
Please press here to pay $50US using paypal. <br/>
<%= submit_tag &quo...