Hi All
I am facing a problem with PayPal. I have configured my store to use GBP Currency and I can see all the price listed in GBP in the application but when I try to pay with Paypal at the very last step after login it take me to Paypal website and there currency get changed to Dollars. I have checked the patch and applied it but still I am facing the same problem. https://issues.apache.org/jira/browse/OFBIZ-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Please suggest Regards Gaurav |
check your paypal website settings
they override what ofbiz sends. kaliagaurav sent the following on 7/13/2010 2:26 AM: > > Hi All > > I am facing a problem with PayPal. I have configured my store to use GBP > Currency and I can see all the price listed in GBP in the application but > when I try to pay with Paypal at the very last step after login it take me > to Paypal website and there currency get changed to Dollars. > > I have checked the patch and applied it but still I am facing the same > problem. > > https://issues.apache.org/jira/browse/OFBIZ-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > Please suggest > > Regards > > Gaurav |
Thanks for the reply.
I will cross check my PayPal settings. regards Gaurav |
In reply to this post by BJ Freeman
Hi All
I have cross checked my paypal website setting, everything seems to be fine. I was not able to find any place stating Dollar. If any body haev any idea about setting currency type for paypal either in paypal account or in ofbiz settings. please let me know Regards Gaurav |
Hi Gaurav,
Which version of OFBiz are you using? There was a problem in the past and I think at that time currency was hard coded. In the current code currency sent to paypal is taken from the OrderHeader Entity. You can look into the PayplaEvents for more details. Thanks, Raj Currency is picked from the order header On 15/07/10 17:02, kaliagaurav wrote: > Hi All > > I have cross checked my paypal website setting, everything seems to be fine. > I was not able to find any place stating Dollar. > > If any body haev any idea about setting currency type for paypal either in > paypal account or in ofbiz settings. please let me know > > > Regards > > Gaurav > |
Hi Raj
I am using version 9.04 and I have applied patch to this class. https://issues.apache.org/jira/browse/OFBIZ-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel If I still need to make any other change then please let me know. Regards Gaurav |
Hi Gaurav,
Only other thing I think you will need is your store currency setting and this should work fine. Regards, Raj On 15/07/10 18:11, kaliagaurav wrote: > Hi Raj > > I am using version 9.04 and I have applied patch to this class. > > https://issues.apache.org/jira/browse/OFBIZ-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > If I still need to make any other change then please let me know. > > Regards > > Gaurav > |
Hi Raj
I will check that as well. But in my application i can see all the prices coming in GBP. it only changes when we get directed to paypal website. Thanks Gaurav |
You need to send a currencyUom to the paypal. This CurrencyUoM set into
the PaypalEvents class. In your code this defaults to USD. That is the reason in your application prices are in GBP and when it goes to Paypal it is converted to USD as that is the default for Paypal. Thanks, Raj On 15/07/10 18:42, kaliagaurav wrote: > Hi Raj > > I will check that as well. But in my application i can see all the prices > coming in GBP. it only changes when we get directed to paypal website. > > Thanks > > Gaurav > |
Hi Raj
If I am not wrong "currencyuom" get configured in general.properties. I have changed currency.uom.id.default=USD to currency.uom.id.default=GBP Is there any other place where I need to configure this. Please suggest Regards Gaurav |
Hi,
I'm trying to add a hardspace in the catalog name, the name that is visible on the front end. However, when I type the $nbsp; in the name it gets changed to $nbsp; which shows it as the literal string $nbsp; in the browser. I'm trying to make the name not wrap, as I rather have it breaking out of the box then breaking the entire layout (which is what happens now). TL;DR How to add a hard space in catalog name? Regards, David |
as we move to internationalize content that may not be the best way.
have you looked at CSS as way to accomplish this. create a style. David van der Staak sent the following on 7/15/2010 7:38 AM: > Hi, > > I'm trying to add a hardspace in the catalog name, the name that is > visible on the front end. However, when I type the $nbsp; in the name it > gets changed to$nbsp; which shows it as the literal string > $nbsp; in the browser. I'm trying to make the name not wrap, as I rather > have it breaking out of the box then breaking the entire layout (which > is what happens now). > > TL;DR How to add a hard space in catalog name? > > Regards, > > David > > |
In reply to this post by David van der Staak
Hi David,
shouldn't you use instead of $nbsp; ? -Bruno 2010/7/15 David van der Staak <[hidden email]> > Hi, > > I'm trying to add a hardspace in the catalog name, the name that is > visible on the front end. However, when I type the $nbsp; in the name it > gets changed to $nbsp; which shows it as the literal string > $nbsp; in the browser. I'm trying to make the name not wrap, as I rather > have it breaking out of the box then breaking the entire layout (which > is what happens now). > > TL;DR How to add a hard space in catalog name? > > Regards, > > David > > |
In reply to this post by Gaurav kalia
Hi All
I have checked the logs and in logs the currency getting passed to paypal is USD instead of GBP and there is some reference to baseCurrencyUomId as well. Please suggest regards Gaurav |
looking at the code paypal currency is gotten from the cart.
the cart gets it from general.properties "currency.uom.id.default" which defaults to USD if none is set. kaliagaurav sent the following on 7/19/2010 8:27 AM: > > Hi All > > I have checked the logs and in logs the currency getting passed to paypal is > USD instead of GBP and there is some reference to baseCurrencyUomId as well. > > Please suggest > > regards > Gaurav |
Hi BJ Freeman
I have also configured "GBP" in general.properties and i have configured CurrencyUom to "GBP" in store setting where it say "Localisation" but still not working :( Please suggest Thanks gaurav |
it helps if you include the complete thread
I don't know if you answered this yet. what branch/release of ofbiz are you using. if it is svn what version. kaliagaurav sent the following on 7/19/2010 8:53 AM: > > Hi BJ Freeman > > I have also configured "GBP" in general.properties and i have configured > CurrencyUom to "GBP" in store setting where it say "Localisation" but still > not working :( > > Please suggest > > Thanks > > gaurav |
In reply to this post by Gaurav kalia
Hi Gaurav,
You have to send the currency code parameter to paypal. Please verify if the patch is applied correctly. or you can hardcode like this temporarily in paypalevents.java - line:157, function: callPayPal. parameter.put("currency_code", "GBP"). Don't forget to do 'ant build'. good luck, -Aswath On Thu, Jul 15, 2010 at 7:35 PM, kaliagaurav <[hidden email]>wrote: > > Hi Raj > > If I am not wrong "currencyuom" get configured in general.properties. I > have > changed > > currency.uom.id.default=USD > > to > > currency.uom.id.default=GBP > > Is there any other place where I need to configure this. > > Please suggest > > Regards > Gaurav > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/PayPal-Currency-Issue-tp2287192p2290201.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Hi Aswath
I have applied this patch below https://issues.apache.org/jira/browse/OFBIZ-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel And I can confirm that those two lines are there in my code. But I have not build it. Just a doubt if I do "ant build" the configuration I have done will get over write or not. Because I have added few catalogs and products and created some stores as well. Please suggest Thanks Gaurav On Tuesday 20 July 2010 10:56 AM, aswath narayana [via OFBiz] wrote: Hi Gaurav, |
This is a java file change, hence you have to do 'ant build'. Then you do
'ant run'. This should be fine and will not override any of your catalogs and products. As usual, first, do this in your development machine, and then you can apply the change to test and prod machine. -Aswath On Tue, Jul 20, 2010 at 1:26 PM, kaliagaurav <[hidden email]>wrote: > > Hi Aswath > > I have applied this patch below > > > https://issues.apache.org/jira/browse/OFBIZ-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > And I can confirm that those two lines are there in my code. But I have > not build it. Just a doubt if I do "ant build" the configuration I have > done will get over write or not. > > Because I have added few catalogs and products and created some stores > as well. > > Please suggest > > Thanks > > Gaurav > > On Tuesday 20 July 2010 10:56 AM, aswath narayana [via OFBiz] wrote: > > Hi Gaurav, > > You have to send the currency code parameter to paypal. > > Please verify if the patch is applied correctly. > > or you can hardcode like this temporarily in paypalevents.java - > > line:157, > > function: callPayPal. > > parameter.put("currency_code", "GBP"). > > > > Don't forget to do 'ant build'. > > > > good luck, > > -Aswath > > > > On Thu, Jul 15, 2010 at 7:35 PM, kaliagaurav <[hidden email] > > </user/SendEmail.jtp?type=node&node=2294946&i=0>>wrote: > > > > > > > > Hi Raj > > > > > > If I am not wrong "currencyuom" get configured in general.properties. I > > > have > > > changed > > > > > > currency.uom.id.default=USD > > > > > > to > > > > > > currency.uom.id.default=GBP > > > > > > Is there any other place where I need to configure this. > > > > > > Please suggest > > > > > > Regards > > > Gaurav > > > -- > > > View this message in context: > > > > > > http://ofbiz.135035.n4.nabble.com/PayPal-Currency-Issue-tp2287192p2290201.html > > < > http://ofbiz.135035.n4.nabble.com/PayPal-Currency-Issue-tp2287192p2290201.html?by-user=t > > > > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > > > > ------------------------------------------------------------------------ > > View message @ > > > http://ofbiz.135035.n4.nabble.com/PayPal-Currency-Issue-tp2287192p2294946.html > > > > To unsubscribe from Re: PayPal Currency Issue, click here > > < (link removed) =>. > > > > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/PayPal-Currency-Issue-tp2287192p2295074.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |