similar to: `connect'': undefined method `verify_mode'' for nil:NilClass

Displaying 20 results from an estimated 500 matches similar to: "`connect'': undefined method `verify_mode'' for nil:NilClass"

2006 Apr 22
1
Newbie .. authorize.net
I am very new to RoR. I need to do: 1. credit card authorization only and / or 2. charge the credit card via the Authorize.net payment gateway via RoR? QUESTION 1. I came across the payment module available as a ruby gem. I am wondering if anyone has used this gem in a real life application to do the above? The other problem was that on this page:
2006 May 05
0
Authorize.net problem..
Hi, Am new to RoR and am trying to use the Payment gem. Am currently trying to test my implementation by making test transactions. Here is output from my debug log: #<Payment::AuthorizeNet:0xb73a5850 @test_transaction=true, @password="secret", @state="IL", @last_name="Pine", @delim_data="TRUE", @amount=6.0, @version="3.1",
2011 Jan 03
4
How to get soap4r to not bother verifying SSL certificate (verify_mode none)?
Using Ruby 1.8.7, Rails 2.3.8. I don''t want it to verify the cert... This is my backtrace: OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed): httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `connect'' httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `ssl_connect'' httpclient
2010 Aug 13
2
Rails 3 / ActiveModel for Credit Card information?
When submitting 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
2010 Dec 17
2
Log Filtering Sensitive Data
Hi, I know how to filter passwords, etc etc by using the below filter_parameter_logging :password But if i have params like the below so how do i filter them out. "order"=>{"card_number"=>"4111111111111160"} ive tried the following below but it doesnt seem to work filter_parameter_logging :card_number, :order_card_number, :order How do people do this
2006 Jun 19
3
Using a records "id" in validation
I need to use an order''s id value in a validation. Basically, I am charging an order via a credit card API. I only want ot save the order if the credit card authorization was approved. I also want to send the order id to the credit card API as a transaction reference. And last but not least I want to add an error to the order object if the transaction is declined. The problem is
2007 Oct 13
4
Chapter 9
Hello, I''m currently stunk on this issue for few days and I do not know how to get it fixed. The system always raises this error message : order is closed and here is my order.rb: class Order < ActiveRecord::Base include ActiveMerchant::Billing before_validation :set_status attr_protected :id, :customer_ip, :status, :error_message, :updated_at, :created_at attr_accessor
2007 Mar 29
0
using certificates with ActiveResource
I''m trying to hack ActiveResource to use a self-signed certificate when connecting to my RESTful rails app (seems like a pretty glaring hole that it doesn''t offer this out of the box... though I guess it is alpha software). I started out going through the ActiveResource code looking for somewhere I could set the cert and key. Didn''t find it, so I took the approach
2006 Jul 13
3
payment gem, server anomolies
so i have the payment gem working perfectly in our app, running locally on my system. uploaded a copy of the app file structure to our server (a rimu rhel3), but now the payment gem is unresponsive. it throws exceptions with no error message. i''m looking for a suggestion how to debug this. running updated gems and versions on both systems. they seem identical, unless i''m
2006 Sep 27
0
Require problem with payment gem
I did a "gem install payment", version 1.0.1. The require statement in my controller: require ''payment/authorize_net'' ...returns a "no file to load" error. I ended up copying the files from the gem''s lib subfolder to my application''s lib folder and everything worked from there. Doesn''t seem right, though. What am I missing
2008 Feb 24
3
1 error(s) on assignment of multiparameter attributes
I am trying to create a form for processing credit cards. For the credit card expiration date, I would like to leave the day field out of the form for obvious reasons. However, the following code is producing an error for me. Any ideas? Thanks! <p><label for="email">Expiration</label><br/> <input type="hidden" id="user_card_expiration_3i"
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error. I have an action called ''commit_input'' on a controller called ''SiteVisitController''. This definately exists, and is called from the functional test for it, and passes fine. My problem is with the form that is supposed to call this action. The form tag is: <%=
2009 Oct 07
1
output validations errors form causing type error?
Hi, I was wondering if it is possible to output validation errors in a nested form? I suppose this should be possible, but I am experiencing an error message that I can''t track down. The error I get is the following : TypeError in Store/orders#create Showing app/views/store/orders/new.html.erb where line #45 raised: can''t convert Array into String This is ocurring in the
2008 Jul 17
0
[ADV/ANN] Easy recurring billing with Authorize.net
I have just put out an update to the SaaS Rails Kit, a sample Rails application that implements recurring billing. This update adds support for the Authorize.net payment gateway. With the Rails Kit and Authorize.net CIM, you get a complete and very flexible subscription billing system that you can use as a starting point for building your software-as-a-service Rails application, so you can skip
2018 Sep 19
1
Re: [PATCH 2/3] v2v: -o rhv-upload: Only set SSL context for https connections.
On Wed, Sep 19, 2018 at 7:24 PM Richard W.M. Jones <rjones@redhat.com> wrote: > For real imageio servers the destination will always be https. This > change has no effect there. > > However when testing we want to use an http server for simplicity. As > there is no cafile in this case the call to > ssl.create_default_context().load_verify_locations(cafile=...) will fail.
2018 Dec 07
2
[PATCH] v2v: -o rhv-upload: Fix upload when using https
Fix rhv-cafile option access, broken by commit 6694028f9827 (v2v: -o rhv-upload: Only set SSL context for https connections). --- .gnulib | 2 +- v2v/rhv-upload-plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gnulib b/.gnulib index 6ccfbb4ce..646a44e1b 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit
2007 Jan 27
0
Interchanging ActiveRecord and ActionWebService... Help with my problem and suggestions for Best Practices.
Okay, I''m try to support two situations "easily". I need to be able to use either ActiveRecord or ActionWebService. So I''m trying to handle this "switch" as transparently as possible. I''m totally open to suggestions.. Thanks, Jason I''m getting the following error: NoMethodError in Offer renewalController#payment_made undefined method
2004 Dec 13
0
Transfer and keep variables
Is there any way to transfer a call from host to host and keep the call's variables intact? -- specifically, UNIQUE_ID and user created variables like CARD_NUMBER, EXPIRATION_DATE, and CVV2? Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST Newline
2012 Jun 06
0
Puppet 2.7.15: Thunderdome
As specified in our timed-release cycle process, we''ve entered the THUNDERDOME for the 2.7.15 series (May) vs 2.7.16 series (June). Two releases enter; one leaves. It was determined today that 2.7.16 has won the Thunderdome. (An epic battle, 2.7.15 put up a good fight and looked like it would knock 2.7.16 out until 2.7.16 used some new SSL abilities to distract 2.7.15 and push it over
2018 Sep 20
0
[PATCH v2 2/3] v2v: -o rhv-upload: Only set SSL context for https connections.
For real imageio servers the destination will always be https. This change has no effect there. However when testing we want to use an http server for simplicity. As there is no certificate or cafile in this case the call to create the context will fail. This also simplifies creation of the context object and recognizes the "insecure" flag for connecting to imageio. Thanks: Nir