1. What is the actual text that is being verified?
2. What kind of transaction are you doing? I have heard of this once
before when someone was doing subscriptions, but I haven''t seen it for
shopping carts.
Joe
On 11/30/06, donut donut
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> In the PayPal gem, the function ''acknowledge'' treats
INVALID IPN''s as
> good. Am I missing something or is this a bug?
>
> def acknowledge
>
> < some code removed >
>
> request = http.request(request, payload)
>
> raise StandardError.new("Faulty paypal result:
#{request.body}")
> unless ["VERIFIED", "INVALID"].include?(request.body)
>
> request.body == "VERIFIED"
> end
>
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
"For a new software system, the requirements will not be completely
known until after the users have used it." Humphrey''s
Requirements
Uncertainty Principle.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---