Displaying 2 results from an estimated 2 matches for "baddata".
Did you mean:
maddata
2006 Jun 27
0
More idiomatic way of doing this
...module RenderError
def render_user_exists data
render :partial => "shared/error",
:system => "udb",
:code => 201,
:fatal => true,
:message => "user exists",
:property => "username",
:baddata => data
end
end
app/views/shared/_error.rxml:
xml.error system => @system, code => @code, fatal => @fatal do
xml.message @message
xml.property @property
xml.baddata @baddata
end
app/controllers/application.rb:
require ''util/render_error''
class Applica...
2006 Jan 04
0
OT: Displaying errors on credit-card processing
...n parameters sent by
our e-commerce vendor, TrustCommerce, upon processing a transaction.
A sample of the possible return values is: approved, the transaction
was successfully authorize; accepted, the transaction has been
successfully accepted into the syste; decline, the transaction was
declined; baddata, invalid parameters passed; and error, system error
when processing transaction.
For decline types, the transaction can be declined for a number of
reason, from bad card number to insufficient funds, to bad AVS or CVV
matching, and a few other reasons. Similarly, there are several
bad-data and er...