Displaying 6 results from an estimated 6 matches for "paypal_setup".
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 Jun 29
0
Problem getting encrypted submit buttons working with the paypal gem and rails 1.1.2
...ur_privatekey = File::read("#{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 => ...
How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0)
2009 Mar 19
0
How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0)
...or
live. i need to change the pay pal form target to Paypal orginal site
address.
I don''t know how to chage the form target in paypal helper. i paste my code
below.. plz check it.
I use paypal lib --paypal (2.0.0)
<% form_tag Paypal::Notification.ipn_url do %>
<%= paypal_setup "Credit purchase", (amounts.collect {|a|
a.amount}.join(".") unless amounts.empty?), "bussiness-q89RzV0OsXQ@public.gmane.org", :notify_url
=>url_for(:only_path => false, :action => ''paypal_ipn'' ),:return
=>url_for(:only_path => false, :...
2006 Mar 25
4
Rails PayPal and Currencies other than USD
Has anyone been able to make direct API calls to PayPal in currencies
other than USD? I get an error message "The currency code submitted is
not supported. Check the currency code and try again."
I''m using the PayPal plugin for Rails. I can successfully transact in
USD, but not AUD (Australian Dollars).
Cheers,
Dan
2006 Jul 01
0
Paypal IPN Gem
...hods 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 "Go to paypal >>" %...
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