5 replies [Last post]
yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Was this information Helpful?

Hi, I feel like I set up my product correctly for people to pay to download a file... but after their order is placed, the product is not added to their files tab in their account profile.

http://www.ubercart.org/faq/4787
talks about this situation (i think).

Do I need to set something in the site configuration >> conditional actions?

What exactly? I think I need an example.. like

add a predicate
pick a title like "make file available"
pick a trigger, in this case: order status gets updated
save predicate

in conditions group:
AND is fine.
pick check the order balance
add condition: check an order's products
order has any of these products
pick the sku of the file download product

save changes

set actions:
pick for available actions: update the order status
add action
change title to set order status to complete
set order status: completed
save changes

... hmmm wait, is this already there in the form f the "renew purchased files" ?

I'm confused... Smiling

yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Re: how set up conditional actions for 2.x for file download and
yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
related: http://drupal.org/no
yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Re: related: http://drupal.org/no

Ryan figured it out. A solution is in the link to the issue in my previous post. I had to set up a CA, and in the CA, use the argument for the order status to be the "updated" status and not the original one. Smiling

weavegeek's picture
Offline
Joined: 03/11/2010
Juice: 53
File email not sent to anonymous user

Yesct: Thanks for doing so much legwork on this and sharing your findings. Your blip.tv video was a great help, and got everything working for logged-in users.

For anonymous users, however, the "file download" email still isn't getting sent. It seems that the trigger for "E-mail for granted files" isn't getting called for anonymous users.

Anyone have any ideas on why this might be so, and (even better) a proposed fix?

Anonymous User
-----------------------
Credit card charged: $17.38
Updated order status on full payment.
Moved from payment received to completed.
Renew purchased files
Updated order status upon checkout completion with full payment.
Renew purchased files
User can now download the file ANDEAN_PEBBLE_WEAVE_by_LaverneWaddington.pdf.
Order created through website.

Logged-in User
-----------------------
Credit card charged: $17.38
order status on full payment.
move from payment received to completed
Renew purchased files
User can now download the file ANDEAN_PEBBLE_WEAVE_by_LaverneWaddington.pdf.
Notified customer that a file was granted.

Updated order status upon checkout completion with full payment.
Renew purchased files
User can now download the file ANDEAN_PEBBLE_WEAVE_by_LaverneWaddington.pdf.
Order created through website.

j0rd's picture
Offline
Getting busy with the Ubercode.
Joined: 07/16/2008
Juice: 453
Re: how set up conditional actions for 2.x for file download and

I've explained some issues related to Ubercart, Anonymous Checkout & UC File purchases here:

http://drupal.org/node/1227076

--
Drupal Commerce & Ubercart Theme Development