Displaying 20 results from an estimated 1000 matches similar to: "OT: Displaying errors on credit-card processing"
2006 Jun 27
0
More idiomatic way of doing this
Folks,
I''m trying to write a validating filter that checks if the user
exists and renders XML if not. Most of the controllers will be
returning XML on some error or other so I''m including RenderError in
ApplicationController.
Is my approach a sound one? Also, is there a shorter and more
idiomatic way of writing this:
if @user.nil?
render_user_exists
2007 Nov 13
2
Trouble stubbing a method
Hey guys,
I''ll try to explain this without the model code at first, since there is so
much, but if need be, I''ll pastie it.
I have an Order model that makes API calls to a payment
gateway(TrustCommerce) during validation(to verify the credit card
information). I''d like to stub this behavior to avoid thousands of calls to
TrustCommerce a day(autotest).
All the calls
2008 Apr 26
8
Online credit card processing
What''s a good way to process credit cards from our Rails application?
I like PayPal because of it''s name recognition but I don''t like the fact
that the user must leave our site; we are hoping for a tightly
integrated look-and-feel. We might also offer both, PayPal and our own
major credit card processing (see attached example screen shot).
I''ve heard of other
2006 Feb 10
2
Paypal and subscriptions
Does anyone have any experience with subscriptions and PayPal?
I''m currently weighing up the options of what payment system to use for
an upcoming project which is subscription based and am not sure if
PayPal is capable of doing what I want and if I need to setup a merchant
account instead.
Basically it''s the same kind of payment structure as BaseCamp. 3 or 4
accounts which
2008 Jan 31
1
RSpec and the Basecamp API
I realise that this is kind of a basic question but I''m new to rspec and
still trying to work out how to do things. I''m working on a rails project
that requires basecamp integration via the api, which is fairly trivial to
use via the basecamp.rb wrapper:
Connection:
basecamp = Basecamp.new(APP_CONFIG[''api_host''], APP_CONFIG[''api_username''],
2006 Jun 05
0
Extra pair of eyes for VersionCamp
I''m just wondering if someone is willing to check out a little tool
I''ve been working on last 3 days after work called VersionCamp.
It''s basic function is to transfer SVN changeset logs into BaseCamp as
messages.
It''s also meant to be a frontend for a Basecamp project. Displaying
the changesets, milestones and tickets(Ticket adding not done). And
also
2008 Jul 16
2
belongs_to causing endless loop on first call to save!
Hi,
I have a situation I''m hoping someone out there may be able to shed some
light on. I have a Rails app (2.1.0 on Ruby 1.8.7) with a wizard-based sign
up process, that has recently been changed from storing incremental data in
the database to having a medium sized object graph living in the user
session until the user completes the entire sign up process (this is a
business
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
2004 May 11
3
rsync output -vv differs with dry-run option
I'm trying to figure out if a file has changed since the last rsync call. I
use the following command line:
rsync -cvv /mnt/xxx/vol1/dbase/100/kunden.dbf /mnt/label | grep "^total: "
| sed -e 's/.* data=//'
This gives a 0 if the file is unchanged and the file size if the file has
changed. Adding the "dry-run" option "n" to the command line always
2006 Jan 17
3
Experiences w /payment gateways and credit card processing?
I wanted to know if anyone had any good experiences with particular
payment gateways and Rails? and what did it take to integrate?
My current client uses PayPal for the credit card payment processing,
and would like to stay with them, if possible. So has anyone had any
experiences with integrating with PayPal?
I''d love to hear who provides your payment services?
--
Posted via
2006 Jul 11
0
Routes à la Basecamp
New signup here, everybody hello!
I want to set routes for my application that act like basecamp.com.
When you log into Basecamp and select a project, you are in
/projects/12345/msg, for example.
If you want to read a message, you are taken to a url like
/projects/12345/msg/cat/123/6789/comments.
What I want to do is the same: the main controller of my app is
"categories".
After
2008 Jun 01
1
How does 37signals code their "Open Bar" (Open ID) feature?
See here:
http://www.37signals.com/openbar
Say you have two applications:
1) Basecamp
2) Highrise
How would Highrise know that the user (with the same OpenID credentials)
exists on another application (Basecamp)?
Is there something involved for that to happen? Are they using
ActiveResource to fetch the external user table, and then searching for
that OpenID?
--
Posted via
2006 May 25
2
basecamp prefixes
basecamp prefixes each url with a client name...
client1.updatelog.com/todos
client2.updatelog.com/milestones
any ideas on how this is done?
- one app?
- one app per client?
- one app per domain?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 23
2
Multiple Row Form similar to Milestones on BaseCamp
Hi all,
Wondering how to setup my view and controller to do something similar to
the form on Basecamp that allows adding up to 10 milestones on one page.
Thanks
Phil
--
Posted via http://www.ruby-forum.com/.
2013 Dec 18
1
Rails 4.1.0.beta1
Hohoho, it''s Xmas time, kids!
We have a beta full of goodies for everyone who''s been nice this year.
Rails 4.1 is packed to the gills with more marvelous real-world feature
extractions, bug fixes, and the tireless polish only a community full of
Rails elves could bestow it with.
While this is just a beta release, it''s arguably a lot better tested and
ready than
2006 Jan 06
1
How to make fancy urls (like basecamp clientx.clientsection.com]?
Im writing a app, and i wanted to have something like basecamp urls for
a account of the user of the user.
2006 Aug 09
0
Schema Design: ActiveRecord and Group-Oriented Data
I will soon begin developing a group-oriented web application in Rails
(think along the lines of BaseCamp, or Yahoo! Groups). So there will be
plenty of data that will logically separate along group lines; as a
concrete simple example, let''s suppose one feature is a message board to
be modelled by Messages. When a user logs in to the app, she will be
able to choose a group she
2010 May 21
0
Multiple Models one form and validations ... no transactions(mongo)
I am trying to setup a sigup form thats pretty much just like the
basecamp form. https://signup.37signals.com/basecamp/Plus/signup/new
I want to create
a User
a Studio
and a Subscription(chargify)
a Subscription belongs to a Studio and not to a User. User gets tagged
onto a Studio via an admin array.
Is there any way to do this all in one form and still get back
validation errors etc without
2011 Nov 15
1
XUIDL Migration problems
Hello All,
I am new to Dovecot and the Dovecot mailing list.
I am trying to migrate an existing Exim + qpopper - mbox (pop3 only) installation over to Exim + Dovecot using mdir (pop3 and imap)
And am running into problems with preserving the XUIDL headers.
I am running Dovecot 2.0.14
I have used the mb2md.pl script : http://dovecot.org/tools/mb2md.pl from this page
2013 Dec 18
1
Rails 4.1.0.beta1 released
Hohoho, it''s Xmas time, kids!
We have a beta full of goodies for everyone who''s been nice this year.
Rails 4.1 is packed to the gills with more marvelous real-world feature
extractions, bug fixes, and the tireless polish only a community full of
Rails elves could bestow it with.
While this is just a beta release, it''s arguably a lot better tested and
ready than