I have several file download orders from anonymous users that were processed by PayPal but never cleared the shopping cart phase into an actual order. (I think I've resolved this issue)

If I simply change the order status from "Shopping Cart" to "Pending", the shopping cart is moved into the Orders tab, but the license is not granted.

When I go to admin/commerce/licenses

I don't see any option to grant file licenses manually. Did I miss a setting in configuration somewhere?

admin/commerce/licenses/add loads the same screen as ../../licenses

I will definitely need the option to grant file licenses manually, particularly since I need to honor past purchases from our D6/Ubercart iteration.

Comments

svn7svn’s picture

if I try the instructions given here - https://www.drupal.org/comment/reply/1899328#comment-form

I have the following problems -

Importing the rule based on the exported code on page above I get the flowing error message

"Integrity check for the imported configuration failed. Error message: Unknown action commerce_file_license_issue_order.."

If I try to create the rule through the "Add new rule"

Events -
After updating an existing commerce order
After saving a new commerce order

Conditions -
None

Actions -
I see no option for "Commerce File License > Issue licenses for files in the order"

I only have "Commerce License > Activate licenses of the provided order"

Part 2 -

When I try to modify my orders view, after "Add a field to your view: Bulk operations: Commerce Order"

I don't see the option to select "Retroactively grant file licenses" under "Selected bulk operations"

svn7svn’s picture

bump...

torgosPizza’s picture

I know that with Commerce File 2.x the licenses are not per-file, they are per product. So as long as your users have access to the correct Product Ids (which you'll want to map with Migrate, presumably) then the files your users have access to should, in theory, be updated whenever you add or edit the Commerce File field in the product.

You can verify that the {commerce_license} table uses uid and product_id; there are no fid or anything like that which would indicate a per-file license.

This also explains why you can't find the component in Rules - it has been deprecated in Commerce File 2.x for this per-product system, which IMO is much more flexible.

Hope this helps.

svn7svn’s picture

I found a workaround based on using Rules. It's still not as good as just having a simple "add license" link on the licenses page though.

thx for your reply!

DamienMcKenna’s picture

Version: 7.x-2.0-beta3 » 7.x-2.x-dev