Closed (fixed)
Project:
Ubercart CCK currency
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Oct 2009 at 09:50 UTC
Updated:
16 Nov 2009 at 09:30 UTC
Jump to comment: Most recent
I've done all the steps in the readme but nothing is changing. I'm using paypal with ubercart, i've also applied the paypal patch to uc_paypal.module.
I go to http://www.hugebit.com/uc_cck_currency/field_mc_euro but nothing ever changes, even after i add the product to my cart.
please help.
thanks
Comments
Comment #1
amitaibu1) Do you have cck 2.5 or higher installed?
2) How did you setup the cck field (maybe you can post here a screenshot) ? I'll need some more info...
Comment #2
karnac commentedyes, cck 2.5, this is all a fresh install of drupal, ubercart and cck.
I've also enabled user permissions to use currency module and field_uc_euro
what is supposed to happen?
Comment #3
amitaibuDid you enter a price in the product's CCK field? If the field is empty, then the default price is used.
Comment #4
karnac commentedyes of course i did.
Comment #5
karnac commentedi figured it out. in your readme step 2 says to label as uc_yen but then step 5 uses mc_yen, that should be uc_yen. i was copying and pasting from step 5 not even paying attention. all is working now. thanks!
Comment #6
amitaibuGreat. Thanks for the bug report.
Comment #7
karnac commentedok so now the problem is that when the order gets passed to paypal it is still using USD, but the amount is now changed to the amount of the other currency.
Comment #8
amitaibuIs uc_paypal.module patched with #607708: Allow defining currency code per order (I saw you wrote you did, just making sure it's still there).
Comment #9
karnac commentedyes its there but i notice that your patch is based off of version 1.5.2.17 of uc_paypal.module, both the stable and dev ubercart package comes with 1.5.2.18
Comment #10
karnac commentedi just tried using the 1.5.2.17 version from ubercart 6.x-2.0-rc7, repatched, uploaded entire uc_paypal folder, but still sends USD to paypal.
Comment #11
amitaibuLet's try to debug your system. In function uc_paypal_wps_form(), add
drupal_set_message($order->currency_code)Comment #12
karnac commentednot sure where to add it so i put it at the end of the function above return $form;, not sure what im supposed to be looking for but its still sending USD
Comment #13
karnac commentedjust to make sure I'm supposed to have the CCK currency price handler enabled and the default disabled?
Comment #14
amitaibu@kanelauck,
1) Let's start by updating the patch from #607708: Allow defining currency code per order -- Something was wrong in the first patch.
2) If you want you can give me a temp user/ pass to your site, and I'll check the settings.
Comment #15
karnac commentedhell yes. that new patch fixed it. thank you, that is so badass.
Comment #16
amitaibuThanks :) I've also fixed the README.txt