Page 1 of 1

Digital goods serial key provider error after 7.02 upgrade

Posted: Wed Mar 25, 2009 11:09 am
by DS1
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?

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Tue Apr 07, 2009 10:26 pm
by DS1
Is anyone else using a custom serial key generator?

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Mon Apr 13, 2009 9:55 am
by Logan Rhodehamel
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.

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Mon Apr 13, 2009 11:23 pm
by DS1
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.

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Tue Apr 14, 2009 9:42 am
by Logan Rhodehamel
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.

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Wed Apr 15, 2009 8:52 am
by DS1
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.

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Wed Apr 15, 2009 9:42 am
by Logan Rhodehamel
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?

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Fri Apr 17, 2009 9:25 am
by DS1
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.

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Mon Apr 20, 2009 10:02 pm
by DS1
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.

Re: Digital goods serial key provider error after 7.02 upgrade

Posted: Thu Apr 23, 2009 3:48 pm
by DS1
Logan,

Are you experiencing the same issue?