Digital goods serial key provider error after 7.02 upgrade

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Wed Mar 25, 2009 11:09 am

Apprently there is a bug after the 7.02 upgrade if you are using a custom serial key provider.

The serial key provider never gets called if you select the download policy to be ' Activate on Full Payment'. If it is set on any other options - ie 'Activate Immediately' or 'Manual Activation', the serial keys generate just fine.

Is anyone else using the custom serial key provider to sell digital goods?

DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Tue Apr 07, 2009 10:26 pm

Is anyone else using a custom serial key generator?

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by Logan Rhodehamel » Mon Apr 13, 2009 9:55 am

Do you still have the source for the custom serial provider? I am wondering if it needs to be recompiled... I think the interface for serial good provider was updated to provide you with some additional information in the serial key requests.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Mon Apr 13, 2009 11:23 pm

I have the source for our custom serial key provider - can you please let me know what parameter changes were made?

The problem I am experiencing is that the provider is never getting called when a product is sold with a monetary value.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by Logan Rhodehamel » Tue Apr 14, 2009 9:42 am

The ISerialKeyProvider interface has two new methods defined. If your custom serial key provider inherits directly from ISerialKeyProvider, then you have to update your references to the new version of CommerceBuilder.DLL and update your custom provider. You should alter your serial key provider so that it inherits from SerialKeyProviderBase instead. That would be the only required change, unless you wanted to take advantage of the new information being passed in (OrderItemDigitalGood).

If your custom provider already inherits from SerialKeyProviderBase, then this is probably not the issue.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Wed Apr 15, 2009 8:52 am

We are inheriting from the SerialKeyProviderBase.

I can manually acquire a serial key from the digital goods page when viewing an order. The custom serial key provider is not getting called when the purchase is made - but this problem only occurs for products that have a value greater than zero. I know that my custom serial provider is compiled and functioning correctly because for zero priced products, the serial key generates fine during checkout.

The problem is in the checkout code - something changed between version 7.1 and 7.2. The code for the checkout is compiled into the DLL so I cannot see what is going wrong.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by Logan Rhodehamel » Wed Apr 15, 2009 9:42 am

You will have to provide some more detail then... Start with the digital good. What are the activation and fullfillment modes set to? And what method of payment (payment method and payment gateway) is being used?
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Fri Apr 17, 2009 9:25 am

Activation Mode is set to 'Activate on Full Payment'.

The fulfillment mode is set to 'Automatic'.

The payment gateway is Paypal Payflow Pro, tested with mastercard, visa, etc.

After the order is placed, I can view the order, select digital goods and click on 'Acquire' to get a working serial number -- so I know the serial provider is working fine. Also, if I set the Activation mode to 'Activate Immediately', the serial number generates fine at checkout. The problem is definitely somewhere in the checkout payment process.

DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Mon Apr 20, 2009 10:02 pm

I confirmed it again by recompiling my serial provider to remove all the code and simply return a single numeric result.

When the payment gateway is Payflow Pro, activation Mode is set to 'Activate on Full Payment', and the fulfillment mode is set to 'Automatic', then the serial provider does not get called.

DS1
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Mon Jan 21, 2008 2:22 pm

Re: Digital goods serial key provider error after 7.02 upgrade

Post by DS1 » Thu Apr 23, 2009 3:48 pm

Logan,

Are you experiencing the same issue?

Post Reply