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

amitaibu’s picture

1) 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...

karnac’s picture

yes, 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?

amitaibu’s picture

Did you enter a price in the product's CCK field? If the field is empty, then the default price is used.

karnac’s picture

yes of course i did.

karnac’s picture

i 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!

amitaibu’s picture

Title: Nothing changing » README.txt uses wrong link
Assigned: karnac » amitaibu
Category: support » bug

Great. Thanks for the bug report.

karnac’s picture

ok 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.

amitaibu’s picture

Is 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).

karnac’s picture

yes 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

karnac’s picture

i 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.

amitaibu’s picture

Let's try to debug your system. In function uc_paypal_wps_form(), add drupal_set_message($order->currency_code)

karnac’s picture

not 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

karnac’s picture

just to make sure I'm supposed to have the CCK currency price handler enabled and the default disabled?

amitaibu’s picture

@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.

karnac’s picture

hell yes. that new patch fixed it. thank you, that is so badass.

amitaibu’s picture

Status: Active » Fixed

Thanks :) I've also fixed the README.txt

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.