X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=lib%2FBusiness%2FOnlinePayment%2FCardFortress.pm;h=1ba731e9617c1875ff07530e64d534a611f6dc02;hb=142794e691acf129996b6d70ce6235dcf5f304da;hp=db6f42285f7354395017cad41f7ec6a7937d2ccc;hpb=c27b59370963c5fbe21844e0b9966c221209b707;p=Business-OnlinePayment-CardFortress.git diff --git a/lib/Business/OnlinePayment/CardFortress.pm b/lib/Business/OnlinePayment/CardFortress.pm index db6f422..1ba731e 100644 --- a/lib/Business/OnlinePayment/CardFortress.pm +++ b/lib/Business/OnlinePayment/CardFortress.pm @@ -92,7 +92,7 @@ sub submit { my $challenge = decode_base64($response{'card_challenge'}); #here is the hardest part to implement at each client side - my $rsa_priv = Crypt::OpenSSL::RSA->new_private_key($self->private_key); + my $rsa_priv = Crypt::OpenSSL::RSA->new_private_key($private_key); my $response = $rsa_priv->decrypt($challenge); #try the transaction again with the challenge response