• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

RhinoGroup
#1 Posted : Friday, August 19, 2016 10:28:00 AM(UTC)
RhinoGroup

Rank: Member

Joined: 7/31/2013(UTC)
Posts: 15

We're getting this error in the log during order processing for a cart on BV Commerce 2015.2.1.1206:

Failed to decode CC. You may need to generate a new encryption key. Exception details: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input) at BVSoftware.Cryptography.KeyManager.ParseKeysFromJson() in c:\BVCommerce\2015.2.1.1206\source\BVSoftware.Cryptography\KeyManager.cs:line 44 at BVSoftware.Cryptography.KeyManager..ctor(String keyLocation, String masterKeyLocation, String loadedKeys) in c:\BVCommerce\2015.2.1.1206\source\BVSoftware.Cryptography\KeyManager.cs:line 26 at BVSoftware.Bvc5.Core.Utilities.Cryptography.PciEncryption.Decode(String encrypted, Int64 keyId, String salt) in C:\BVCommerce\2015.2.1.1206\source\BVSoftware.Bvc5.Core\Utilities\Cryptography\PciEncryption.vb:line 28 at BVSoftware.Bvc5.Core.Orders.OrderPayment.Mapper.ConvertDataRow(DataRow& dr) in C:\BVCommerce\2015.2.1.1206\source\BVSoftware.Bvc5.Core\Orders\OrderPayment.vb:line 355

The site was moved to a new server and uses Authorize.Net. We re-generated the encryption keys, then checked old orders to ensure we could see payment data.

We're also seeing this warning during the same process:
[Charge] Warning for order number 3928: Authorize.Net Processing Error: This transaction cannot be accepted. [AVS - AVS not applicable for this transaction]


Not sure what else to check.

Edited by user Friday, August 19, 2016 10:35:16 AM(UTC)  | Reason: Not specified

Aaron
#2 Posted : Friday, August 19, 2016 1:16:09 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: RhinoGroup Go to Quoted Post
We're getting this error in the log during order processing for a cart on BV Commerce 2015.2.1.1206:

Failed to decode CC. You may need to generate a new encryption key.
...
The site was moved to a new server and uses Authorize.Net. We re-generated the encryption keys, then checked old orders to ensure we could see payment data.

We're also seeing this warning during the same process:
[Charge] Warning for order number 3928: Authorize.Net Processing Error: This transaction cannot be accepted.


It sounds like you may need to re-enter the Authorize.Net transaction. My guess is that with the key change the application can no longer decode the encrypted transaction key setting.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
RhinoGroup
#3 Posted : Friday, August 19, 2016 1:45:36 PM(UTC)
RhinoGroup

Rank: Member

Joined: 7/31/2013(UTC)
Posts: 15

Aaron, that's exactly what was wrong. After updating the transaction key, the payments processed fine.

Thank you!
Aaron
#4 Posted : Friday, August 19, 2016 3:01:59 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Great! Glad I could help.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012