Displaying 20 results from an estimated 38 matches for "creditcard".
2007 Sep 09
1
filter_parameter_logging
Hi,
Is there a way to specify keys of a hash in params to
filter_parameter_logging.
For example, my payment form sends creditcard[:number] and
creditcard[:type] in params and I filter these keys using
filter_parameter_logging :number, :type.
I don''t want :number and :type in other forms to be filtered. Is there
a way to solve this?
thanks,
Ritesh
--~--~---------~--~----~------------~-------~--~----~
You received...
2006 Aug 17
2
validates_associated bug?
...the validates_associated :credit_card out of Organization lets
the whole operation complete normally, using the same input data.
i have a model structure roughly like so:
User
id, etc...
BusinessUser
id, etc...
user_id
Organization
id, etc...
primary_business_user_id
credit_card_id
CreditCard
id, etc...
and a business_user_controller to create it all:
def create
@user = User.new(params[:user])
@business_user = BusinessUser.new(params[:business_user])
@business_user.user = @user
@organization = Organization.new(params[:organization])
@organization.primary_user = @business_...
2009 Feb 26
1
Problem w/ActionWebService and Inheritance in Service Params
I have a service method that takes a PaymentMethod which can either be a
CreditCard or a PayPal account. When I request the service and pass one
or the other it always comes over as a PaymentMethod; the service
doesn''t seem to know that the parameter is really a CreditCard or
PayPal. Here''s some sample code that illustrates what I''m talking about
more...
2009 Mar 15
0
CreditCard Processing in Europe
Hi,
I spent the last days looking for a solution to accept/process credit
cards. At the beginning I thought it is pretty easy to integrate a
service like Paypal. However, the company is based in Austria and so
many options are not available anymore. I really don''t get the whole
US only stuff, but I don''t wanna go down that road.
My guess is that I am not the only
2007 Oct 13
4
Chapter 9
...ssword => ''xxxxxx'',
:pem => File.read(File.join(File.dirname(__FILE__), "../../
config/paypal/cert_key_pem.txt")))
#:cert_path => File.join(File.dirname(__FILE__), "../../config/
paypal")
gateway.connection.wiredump_dev = STDERR
creditcard = CreditCard.new(
:type => card_type,
:number => card_number,
:verification_value => card_verification_value,
:month => card_expiration_month.to_i,
:year => card_expiration_year.to_i,
:first_na...
2007 Sep 07
2
My controller became fat trying to handle multiple models - need guidance please
Hello all.
I am experiencing something that has to be fairly common in the rails
world, but I haven''t found a clean solution yet.
I have a SignupController that handles multiple models in a single
form.
Those models are User, UserProfile, CreditCard, Subscription, and
Order.
When the form is filled out and posted, I want to do exactly what I
would do if the form was only for a single model:
(1) Build the object from params[:model]
(2) Save the object, rendering errors to the form page if they exists
(otherwise flash ''Success''...
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications
that we are working on. I have a need to store some info that will
have to be encrypted and decrypted. I have been going through the
docs for the plugin and the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an
2010 Aug 13
2
Rails 3 / ActiveModel for Credit Card information?
...g billing information in the past I''ve always used
attr_accessor for credit card details as they should not be saved in
the database. In addition I always end up storing the card
expiration date so that the date form helper works correctly.
With Active Model it seems logical to create a CreditCard class to
hold this data instead.
**1st issue.**
It seems there still isn''t support for handling the form date_select.
(the card_expires_on(*) parameters). Should this work? Perhaps I''m
just missing an ActiveModel module
**2nd issue.**
In a perfect world this CreditCard class...
2010 Nov 23
1
About available datasets on PC
Hi folks,
Win7
On running;
data(package = .packages(all.available = TRUE))
it displays a list of datasets under:-
Data sets in package ?AER?:
But I couldn't call/load all of them on the list.
> DJFranses
Error: object 'DJFranses' not found
> CreditCard
Error: object 'CreditCard' not found
But I can call/load;
> iris
Whether the list shows all available datasets on repo, NOT the datasets already
download/installed on PC? If YES how to find the running/available datasets on
PC?
Packages -> Load Datasets
the list looks differen...
2006 May 30
2
ActiveMerchant
...recommended on this list several times, but it seems kind
of buggy and incomplete and I''m having trouble getting it to work.
>From the example at http://home.leetsoft.com/am/, I''ve tried:
gateway = ActiveMerchant::Base.gateway(:authorized_net)
response = gateway.capture(1000, creditcard)
..but it doesn''t work (uninitialized constant Base). I had to modify
the above to add the module name:
gateway = ActiveMerchant::Billing::Base.gateway(:bogus)
response = gateway.capture(1000, creditcard)
I''m currently getting an error like:
undefined method `authorize'...
2015 Apr 07
0
Thank you for scheduling your online payment
...- Set up monthly payments to be made
automatically.
* TRANSFER A BALANCE - Transfer a balance to your credit card account.
* GO TO PERSONALIZED ALERTS - Schedule Alerts to remind you of key
account activity.
You can also see past payments you've made online by logging on to
www.chase.com/creditcards [1] and clicking "See/cancel payments" under
"I'd like to ..."
If you have questions, please call the Customer Service number on the
back of your credit card.
Thanks again for using online payments.
Sincerely,
Cardmember Services
E-MAIL SECURITY INFORMATION...
2015 Apr 07
0
Thank you for scheduling your online payment
...- Set up monthly payments to be made
automatically.
* TRANSFER A BALANCE - Transfer a balance to your credit card account.
* GO TO PERSONALIZED ALERTS - Schedule Alerts to remind you of key
account activity.
You can also see past payments you've made online by logging on to
www.chase.com/creditcards [1] and clicking "See/cancel payments" under
"I'd like to ..."
If you have questions, please call the Customer Service number on the
back of your credit card.
Thanks again for using online payments.
Sincerely,
Cardmember Services
E-MAIL SECURITY INFORMATION...
2007 Mar 25
3
New Style: describe-it instead of context-specify
Hello,
in the tunk, i found a new style for spec:
describe Foo do
it "should do bar" do
...
end
end
instead of
context "Foo"
context "should do bar"
...
end
end
The Rails-Textmate-bundle in trunk use only the new "describe-it"
style,
What are the reasons for the new style ?
Shall i use the new style from now on ?
Hussein
2008 Jul 16
2
belongs_to causing endless loop on first call to save!
...ymentMethod",
:foreign_key => "current_payment_method_id" #points to same table, so I can
have many payment_methods, but also mark as being the current one to bill
...
class PaymentMethod < ActiveRecord::Base
belongs_to :account #normal bidirectional association
...
class CreditCard < PaymentMethod
...
In the controller tier, I have a session object that--on the final
step--loads an Account model object based on the current session state, and
then calls save! on that model:
class PrimaryAccountUser < User
attr_reader :credit_card
def initialize(service_id)...
2006 Jan 23
0
Single view over multiple tables
...category.
I want to create a master list page. One view that displays all the
data from the various tables by category. Do I fail as a database
designer or is there a way to make this happen easily? Is there a
tutorial I might benefit from?
I started off creating a categories, passwords and creditcards table. I
can enter data into all three. I have the relationship between
categories and passwords and categories and creditcards working just
fine. I started to create a join between creditcards_passwords
thinking that I could then create the scaffold and view from there that
would allow m...
2006 Jul 07
3
Credit Card validation using rails? can i do it on rails?
help me with this one, i need any tutorials regarding this credit card
validator
--
Posted via http://www.ruby-forum.com/.
2005 Apr 27
1
Ruby Shipping
...ip = Shipping::Base.new :zip => 97202, :state => "OR",
:sender_zip => 10001, :weight => 2
ship.ups.price => 8.77
ship.fedex.price => 5.17
ship.city = "Portland"
ship.ups.valid_address? => true
Putting together my Shipping, Payment, and Creditcard libraries and you
have the major part of the backend for an eCommerce system. Add
Classifier to the mix (http://classifier.rufy.com/) and you''ve got an
open-source Amazon.
-Lucas Carlson
http://tech.rufy.com/
2006 Nov 20
1
Getting started with ActiveMerchant & new Ecommerce book
Hi there
I''ve got a copy of the ''Beginning Ruby on Rails Ecommerce'' book and am
trying to integrate ActiveMerchant into my app.
My order.rb file has the line:
''include ActiveMerchant::Billing''
per the book.
My Order model also has, amongst other things, the following validation:
'' validates_inclusion_of :billing_country, :in =>
2010 Aug 13
11
Link to remote and the equivalent in Rails 3
Hi
WOW! Is Rails 3 another interesting learning curve. Just when I think
I have a general working knowledge of Rails 2 ... things change.
I''m trying to replicate the following in Rails 3:
<%= link_to_remote image_tag("creditcard.png", :border => 0), :url =>
{:action => :make_payment, :type => "Credit", :id =>
@appt.id }, :with=>"''amount=''+$F(''amount'')", :complete =>
remote_function( :url => { :action => :load_appt, :id => @appt.id })...
2006 Jul 12
0
acts_as_authenticated and paypal
I''m working on a subscription form that has to be tied to paypal using
the paypal ipn plugin at http://elctech.com/products_ruby_paypal.shtml.
I''ve got my subscription (signup) form setup to include the creditcard
information as well as the billing address etc. It''s a modified version
of the signup form from the acts_as_auth plugin.
I want the model to not save if the paypal direct payment does not
return ''success". Do I create a before_save filter for that or what is
the best m...