Displaying 4 results from an estimated 4 matches for "us_dollar".
2006 Feb 07
21
Paypal and Rails
Hello everyone,
I am looking for a way to pass off a simple payment to paypal using our
own interface. I understand that this requires making full use of
Paypal''s API since we won''t be using their shopping cart or anything. I
found the article by Pranav Bihari on his site and in the Wiki on using
SOAP4R and the paypal WSDL file to interface with paypal web services,
but I
2006 Jun 29
0
Problem getting encrypted submit buttons working with the paypal gem and rails 1.1.2
...;#{RAILS_ROOT}/config/
business_key.pem")
@our_pubcert = File::read("#{RAILS_ROOT}/config/business_cert.pem")
and confirmed via logger.info that I''m loading the correct data from
the files.
I use them in my form view like so:
<%= paypal_setup @invoice_id, Money.us_dollar(@pp_amount_owed),
@paypal_to, :business_key => @our_privatekey, :business_cert =>
@our_pubcert, :business_certid => @our_certid, :return =>
@pp_return, :item_name => @pp_item_name, :notify_url => url_for
(:only_path => false, :action => ''paypal_ipn'')...
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
...l 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 "Go to paypal >>" %>
<% end_form_tag %>
## This is...