VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: MissMary on May 12, 2016, 22:07:19 PM

Title: Paypal - Warning no accepted currencies defined
Post by: MissMary on May 12, 2016, 22:07:19 PM
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
Title: Re: Paypal - Warning no accepted currencies defined
Post by: jenkinhill on May 12, 2016, 23:36:11 PM
What is set for Payment Currency in Paypal plugin config?
Title: Re: Paypal - Warning no accepted currencies defined
Post by: MissMary on May 13, 2016, 00:02:39 AM
Not sure I understand...

Under Configuration , checkout settings I have PayPal
Under Plugins I do have VM Payment Paypal activated...VM Payment - Paypal
Title: Re: Paypal - Warning no accepted currencies defined
Post by: jenkinhill on May 13, 2016, 11:54:40 AM
On the Configuration for the Paypal plugin.
Title: Re: Paypal - Warning no accepted currencies defined
Post by: MissMary on May 13, 2016, 15:36:28 PM
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.
Title: Re: Paypal - Warning no accepted currencies defined
Post by: GJC Web Design on May 13, 2016, 22:29:07 PM
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?