Displaying 20 results from an estimated 748 matches for "payment".
2009 Apr 01
3
Nil being coerced to float
I was doing this:
@line_items = LineItems.find_all_by_invoice_id(params[:id])
@payments = Payments.find_all_by_invoice_id(params[:id])
@total = @line_items.sum{ |item| item.cost }
@payment_total = @payments.sum{ |payment| payment.value }
@balance = @total - @payment_total
But when no payments had been made it was coming up with an error when
trying to sum nil, so I di...
2012 Dec 26
2
has value in a console but it's nil in my controller and my view?
I have this strange behavior and I don''t undertand why. Here is the thing:
I have this record in my payment model:
1.9.3p286 :019 > u.payment.last
Payment Load (0.3ms) SELECT "payments".* FROM "payments" WHERE "payments"."user_id" = 10
=> [#<Payment id: 37, bank_name: "Mercantil", plan: "Plan Uno", date: "2012-12-25", ref...
2006 Mar 27
1
polymorphism + inheritance
Hi,
currently I do some work with polymorphic associations in egde rails
class Order < ActiveRecord::Base
belongs_to :payment, :polymorphic => true
end
class CreditCardPayment < Payment
end
class PayPalPayment < Payment
end
class Payment < ActiveRecord::Base
has_one :order, :as => :payment
# common stuff in here
end
I want to use [Payment] for common functionality typical to payments.
However, this...
2006 May 09
1
$4529.72 spend received from blocked e-gold account #168571 - Please accept or refuse this payment
<p>Dear E-gold Customer, <br>
<br>
You have received a payment from <font color="#000000">blocked </font>e-gold
account <font color="#000000" face="Courier New, Courier, mono">#168571</font>
to the value of <font face="Courier New, Courier, mono">$4529.72</font>. Your
current...
2009 Aug 31
3
How to deal with PayPal frauds?
...ously had only heard about. Somebody registered a few accounts, paid
online with paypal (as my service is only prepaid) and started making
expensive long distance calls. In fact the IP registering the accounts was
from Florida, and IPs making calls were from Africa. After about 20 minutes
the first payment was reversed. Then a few times more payments were made,
and every payment was reversed almost as soon as it was made. Payments were
made from different PayPal accounts. And then I started getting emails from
PayPal resolution center that some payments were made by users who didn't
authorize the...
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 service...
2006 Jul 25
7
Paypal - Instant Payment Notifications
Has anyone any experience of getting the Paypal plug in to work?
I''ve set myself up on the Paypal sandbox, I''ve setup my sending and
receiving accounts, i''ve got the Paypal button on my view, I can go and
make payments ok, but I can''t get the Instant Payment Notification part
to work. At the end of the payment process the user is left in a paypal
screen with seemingly no way back to my app and the paypal_ipn action
Cheers,
John
--
Posted via http://www.ruby-forum.com/.
2010 Dec 14
4
Change primary_key column name
Hi,
after changing a primary key column name, the auto-increment information
(MySQL) and sequence (Oracle) are lost. What is the correct way to rename
primary keys?
Thanks,
Gustavo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Jan 26
5
Please help with a routing problem
Hi All
I''m having some issues with the following routes problem.
The routes.rb file ...
map.resources :users
map.connect ''/users/view_payments/:user_id'', :controller =>
''users'', :action => ''view_payments''
The users_controller.rb file ...
def view_payments
@user = User.find[:params[:user_id]]
@payments = @user.payments
end
The routes list from a rake routes ...
/users/v...
2006 Feb 14
20
Adding payment to an app: how hard and risky is it?
Hi all.
I have never implemented online payment and it''s the only thing that
keeps me from accepting a project for a UK based client. (I must reply
quickly!)
While I can afford spending an extra week - or 2 - to learn/try/tune the
payment system, I must be sure to succeed before I accept the contract.
If you''ve already been...
2006 Jun 06
6
Payment Gem Error
I am learning how to use the payment gem to process credit cards. I
think I have everything up and running correctly but I get this error:
undefined method `use_ssl='' for #<Net::HTTP secure.authorize.net:443
open=false>
Would anyone have an idea what would cause that?
Thanks,
will clark // graphic design
w...
2015 Apr 07
0
Thank you for scheduling your online payment
E-mail Security Information.
Dear
Thank you for scheduling your recent credit card payment as an
attachment. Your payment in the amount of 3898.96 will be credited to
your credit card account (CREDIT CARD) ending in 3057 on 04/07/2015.
Now that you're making your payment online, are you aware of all the
convenient ways you can manage your account online?
* SEE STATEMENTS - Cho...
2015 Apr 07
0
Thank you for scheduling your online payment
E-mail Security Information.
Dear
Thank you for scheduling your recent credit card payment as an
attachment. Your payment in the amount of 3898.96 will be credited to
your credit card account (CREDIT CARD) ending in 0727 on 04/07/2015.
Now that you're making your payment online, are you aware of all the
convenient ways you can manage your account online?
* SEE STATEMENTS - Cho...
2012 Nov 29
2
Data Cleaning -New user coming from SAS
...very,Balance
,,,,,,,,,,,,,,,,Page #: 11
,,Date,Action,Amount,Disbursed,Capitalized,Interest,Fees,Insurance,Principal,Interest,Fees,Insurance,Writeoff,Recovery,Balance
,,Loan #:,ML-123-07,Account Name:, Quilting Shop,,,,,,,,,,,
,,11/30/2009,Interest,2.36,0,0,2.36,0,0,0,0,0,0,0,0,1767.76
,,12/24/2009,Payment: Regular,161,0,0,11.33,0,0,147.31,13.69,0,0,0,0,1620.45
,,12/31/2009,Interest,3.03,0,0,3.03,0,0,0,0,0,0,0,0,1620.45
,,01/26/2010,Fee: Late,10,0,0,0,10,0,0,0,0,0,0,0,1620.45
,,01/31/2010,Interest,13.42,0,0,13.42,0,0,0,0,0,0,0,0,1620.45
,,02/09/2010,Payment: Regular,180,0,0,3.9,0,0,149.65,20.35,10,0,...
2006 Jul 19
1
Help setting up https on Dreamhost
Hi!
I am creating a typical online-store whereby most of my site is behind
http but i obviously need the payment part behind https. I have already
set up my secure hosting with Dreamhost but what i need help with is
actually getting it to work how i want it.
Currently the web directory that the secure server is set to be running
on is my.domain.com/MyRailsApp/public . This means that the whole of my
site is...
2006 Jun 30
2
Subscription Payment Model
...ls apps these days are charging per month. This makes
most out of the box eCommerce solutions irrelevant as they are for
one-time purchases. So that leaves me to a custom solution. I assume the
steps are as follows:
1. Get a merchant account, maybe Authorize.net
2. Use ActiveMerchant to process payments from my site
2b. Make sure payment section is under SSL
3. Store credit card information in a highly encrypted way, possibly on
a different server
4. Set up a nightly (or more often) cron job to reprocess credit cards
when the period is due
5. Notify users when payment fails and do not attempt t...
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 updat...
2010 Oct 20
3
[JOBS] Integrating a payment gateway into my current website.
I am looking for a web developer to integrate a payment gateway into
my current website. It currently has a shopping basket system but is
not connected to a payments provider.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA3...
2008 Jan 31
4
Subscriptions with paypal...how?
Hi, i''ve to do a little site which need the paypal''s subscription
feature. How can implement it with rails? is there any plugin to do
this? I need that every month the payment has been taken, tell the
system that has been successfully done and then do something else
depending on the payment.
I''ve seen active merchant which permit paypal payments, but what about
subscriptions?
Any idea?
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~--...
2006 Jun 14
3
Which Payment Gateway?
...as I will be
self funding this project until it gets off the ground. The cut the
gateway takes per transaction is also important but I am willing to give
a little there in exchange for kick-butt service.
Discussion of the perks and negatives of various gateways as well as
details about rails payment libraries would also be most helpful.
Thank you,
Matthew Margolis
blog.mattmargolis.net