[bop-devel] AuthorizeNet MD5 Check

Bill Moseley moseley at hank.org
Thu Sep 27 09:22:25 PDT 2007


On Thu, Sep 27, 2007 at 07:26:57AM -0700, Bill Moseley wrote:
> That is if one did:
> 
>     $tx->amount( $amount );

Sorry, that's suppose to be:

    $tx->content( 
        amount  => $amount,
        ...
    );


>     $tx->submit;
> 
> Then it's possible that $tx->amount ne $amount, although they may be

Again there.


> equal in value ( == ).  See the AIM docs on how it might be
> reformatted.
> 
> I don't see that as a problem, but another option would be instead
> use a different accessor name:
> 
> 
>     $self->returned_amount( $col[9] );  # save "amount" from response.
> 
> so there's no risk of clash.
> 
> Which would you pick?

-- 
Bill Moseley
moseley at hank.org



More information about the bop-devel mailing list