News:

Looking for documentation? Take a look on our wiki

Main Menu

Paypal - Warning no accepted currencies defined

Started by MissMary, May 12, 2016, 22:07:19 PM

Previous topic - Next topic

MissMary

On Payment I get the warning no accepted currencies defined????? I am using VM 3.0.16 and Joomla 3.5.1

Under Currencies on setup I have Payment Currency set up as US Dollar
Under Email I have set up as Payment Currency.

I do not see any where else I am suppose to define currency,

Thanks you in advance for help, Mary

jenkinhill

What is set for Payment Currency in Paypal plugin config?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

MissMary

Not sure I understand...

Under Configuration , checkout settings I have PayPal
Under Plugins I do have VM Payment Paypal activated...VM Payment - Paypal

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

MissMary

Yes, I have filled in this field, but in my case it is US Dollars. One of the first things I checked. I can't find any fields or boxes that I have not filled in.

But still getting that notification.

GJC Web Design

QuoteOn Payment I get the warning no accepted currencies defined

where is this shown?

screen shot or url will help -- step by step to reproduce..
I have never seen this message -- and when u do report something like this .. tell us the EXACT message incl. the case

the message comes from the currencies.php

if(!isset($currencies[$vendorId])){
$db = JFactory::getDbo();
$q = 'SELECT `vendor_accepted_currencies`, `vendor_currency` FROM `#__virtuemart_vendors` WHERE `virtuemart_vendor_id`=' . $vendorId;
$db->setQuery($q);
$vendor_currency = $db->loadAssoc();
if (!$vendor_currency['vendor_accepted_currencies']) {
$vendor_currency['vendor_accepted_currencies'] = $vendor_currency['vendor_currency'];
vmWarn('No accepted currencies defined');
if(empty($vendor_currency['vendor_accepted_currencies'])) {
$uri = JFactory::getURI();
$link = $uri->root().'administrator/index.php?option=com_virtuemart&view=user&task=editshop';
vmWarn(vmText::sprintf('COM_VIRTUEMART_CONF_WARN_NO_CURRENCY_DEFINED','<a href="'.$link.'">'.$link.'</a>'));
$currencies[$vendorId] = false;
return $currencies[$vendorId];
}
}


and should redirect you to the shop admin currency dialog.. are u certain this is set and saved?

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation