Uc currency

Contrib type: 
Module
Status: 
Initial upload
Moderation: 
Awaiting moderation

Downloads

Compatibility: 
Ubercart 3.x

What is UC Currency
This UC Currency module provides multiple currency convertion feature for ubercart 3.

This module would help Drupal site admin/devs to configure the currency system for ubercart in minutes by using automatically converter or manual rate settings.

Current Features

  • Automatically convertion (rate from Yahoo Finance
  • Manually Rate Convertion
  • Currency switcher block
  • Unlimited Currency use
  • Easy Configurations

Requirements


PreviewAttachmentSize
uc_currency.zip32.05 KB
mittalpatel's picture
Offline
Joined: 06/11/2009
Juice: 12
Getting some errors

I tried to install and use this module but while adding the currencies on the configuration page, I am getting below errors:

Warning: Invalid argument supplied for foreach() in uc_currency_settings_form() (line 56 of C:\wamp\www\ubercarttest\sites\all\modules\contrib\uc_currency\uc_currency.admin.inc).
Notice: Undefined index: GBP in uc_currency_settings_form_submit() (line 110 of C:\wamp\www\ubercarttest\sites\all\modules\contrib\uc_currency\uc_currency.admin.inc).
Notice: Undefined index: CAD in uc_currency_settings_form_submit() (line 110 of C:\wamp\www\ubercarttest\sites\all\modules\contrib\uc_currency\uc_currency.admin.inc).
Notice: Undefined index: JPY in uc_currency_settings_form_submit() (line 110 of C:\wamp\www\ubercarttest\sites\all\modules\contrib\uc_currency\uc_currency.admin.inc).
Notice: Undefined index: EUR in uc_currency_settings_form_submit() (line 110 of C:\wamp\www\ubercarttest\sites\all\modules\contrib\uc_currency\uc_currency.admin.inc).
Warning: Invalid argument supplied for foreach() in uc_currency_settings_form() (line 56 of C:\wamp\www\ubercarttest\sites\all\modules\contrib\uc_currency\uc_currency.admin.inc).

I tried to add "GBP, CAD, JPY, EUR" in the Allowed Currencies field.

I think it's not adding these values properly to the database. Can you figure out what could be the issue here?

Thanks

steven-spencer's picture
Offline
Joined: 08/01/2012
Juice: 10
Error

I am experiencing a similar error

using Currency 7.x.-1.0

---------------
Notice: Undefined index: COP in uc_currency_settings_form_submit() (line 110 of /home8/unitedwo/public_html/sites/all/modules/uc_currency/uc_currency.admin.inc).
--------------

steven-spencer's picture
Offline
Joined: 08/01/2012
Juice: 10
Line 116

line 116 caused error.

variable_set('cuc_currency_convert', serialize($convert_currencies));

cuc_ prefix needs to be set to uc_

Jurgen8e's picture
Offline
Joined: 10/02/2008
Juice: 87
multi currency

Hi,

Does this module work with this correction?

No currency integrated in Ubercart 3? It wasn´t in Ubercart 1.
Plans for D8/U4?

steven-spencer's picture
Offline
Joined: 08/01/2012
Juice: 10
uc currency

After correcting that line the module works for me with currency API.

stoan's picture
Offline
Joined: 01/19/2013
Juice: 11
Only for display?

Hi

Does this module change the currency for customer's viewing purposes or is the newly selected currency used by also by the payment gateway?

e.g. if my site's default currency is ZAR and the user selects USD, will USD be used by the payment gateway as well?

Thanks

antsa's picture
Offline
Joined: 02/18/2013
Juice: 14
Re: Uc currency

I did the fix for the uc_currency.admin.inc -flile but I still get that same error...

I also can't locate any of the data I'm trying to input from my database