I have been trying to use uc_fee to add a setup fee for laser engraving of my products. I am using ubecart with drupal 6.13. The fee appears as a line item just after the shipping cost. After this the customer selects the payment method which, in my case, is just Paypal but the fee is not shown this screen and not in paypal once you log in. Is there a way around this issue?

Comments

aju3169’s picture

Assigned: aju3169 » Unassigned
gooddesignusa’s picture

Has this issue been fixed? This module is exactly what I need.

aju3169’s picture

No nothing has been done. I really would like this issue resolved. I can't use this module which would otherwise be perfect if it passed on the fee to paypal in any way.

pharoz’s picture

Same here. I'm gonna try and see if I can figure this out...

aju3169’s picture

Any progress pharoz??

mrfelton’s picture

In the Ubercart payment gateway settings page it says

PayPal cart submission method:
- Submit the whole order as a single line item.
- Submit an itemized order showing each product and description.
*You must use a single line item on your site if you have any fees or discounts besides shipping and tax.

Are you using a single line item?

mrfelton’s picture

Status: Active » Postponed (maintainer needs more info)
aju3169’s picture

As you suggested, I have been trying to submit the whole order as a single line item. Actually, it was the first thing I tried 2 months ago but it didn't work. Prior to submitting to Paypal and after reviewing the cart - the fee is not included in the total cost at all. I believe, someone else has reported this issue. I'm guessing these two issues are related and could point you in the right direction for a bug-fix.
Thanks for making some time to look at this - I can't wait to see it all working. It is the last piece in the puzzle for my website due to launch in about a week.

mrfelton’s picture

Please download beta2, which I released earlier on today and try again. There were some problems with JavaScript which have now been resolved ant it was working well for me today when I was testing. Please report back here after testing.

aju3169’s picture

StatusFileSize
new80.37 KB
new80.37 KB

I just installed the latest update, checked the module was correctly loaded (right version etc), ran update.php, cleared all cache and web browser cache. Still not working. I have attached the screen shots.

aju3169’s picture

StatusFileSize
new91.61 KB

Sorry other screenshot attached

aju3169’s picture

Obviously not working yet for me

mrfelton’s picture

Any chance you can give me an admin login to the site so that I can check your various settings?

aju3169’s picture

Sorry I can't give you the admin login because the web page is in production and running as a local host on my computer. Hosting on a server will happen sometime next week. However, I can give you a screen shot of the modules that are installed on my web page as well a screen shot of the settings that I use for the Ubercart Fee module.

aju3169’s picture

StatusFileSize
new61.94 KB
new76.63 KB
new51 KB
new73.72 KB
new40.22 KB
new121.05 KB

As promised attached is the pdf file with a list of my installed modules and screen shots of the fee module settings.

aju3169’s picture

I fixed the problem. I had to reset the conditional action to apply the fee. All is now good.

mrfelton’s picture

Status: Postponed (maintainer needs more info) » Fixed

My next suggestion was going to be to check your conditional action! Glad you got it fixed.

aju3169’s picture

Status: Fixed » Needs work

Unfortunately, resetting the conditional action also removed the conditions that I needed to check - ie the product has the laser engraving attribute set to one of 4 options which require laser engraving and therefore a fee. So now a laser engraving fee is applied regardless of whether laser engraving is selected. If I put the conditions back in, then the fee doesn't get passed on all the way (only appears in the line items). I am back to where I was at the start of this reported problem. But at least I know where the problem is coming from - the conditional actions. I managed to get the fee to work by only checking for 1 option - no laser engraving and then negating this so that the fee is not applied. Maybe this module only works when can only 1 condition is checked. I was trying to check for any of 4 conditions (with an OR)

You can confirm this in your testing by doing the following. Make a product with 1 attribute and with say 5 options. Check to see if option 2 or option 3 or option 4 or option 5 are selected and then apply a 1 off fee. See if this fee line item goes all the way to cart-link and then to paypal. Then try checking for just option 1 and negate.

lonehorseend’s picture

It is not an issue with this module or PayPal. It's Ubercart, itself. I know because I was using the "Test Gateway" to simulate an normal credit card when it happened.

If you look here: http://www.ubercart.org/forum/support/8505/conditional_action_attribute

According to the bottom part of the thread, checking attributes in Conditional actions doesn't work the way us humans think it should work. Meaning check if a product contains an attribute doesn't mean check if the attribute is selected for a product. What you have to do is go into the product's adjustments tab and create an unique SKU for each option. Once you have created your unique SKUs then you go into your conditional actions and select "Check an order's products" which allows you to do conditions based on SKUs. The system checks for that SKU and viola, the fee goes all the way through the check out process and comes out on the other side.

mrfelton’s picture

Status: Needs work » Closed (duplicate)

@aju3169: I think this is actually due to a bug in ubercart itself. Please try my patch from #710318: Attribute trigger and fees module?! which should address this issue.

Rob T’s picture

Thanks for this tip/reminder. Who knows how long I would have been spinning my wheels with a similar issue.