You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Bilgin Ibryam <bi...@iguanait.com> on 2008/06/06 00:26:39 UTC

Re: Paypal payment method and currencies

Quoting Raj Saini <ra...@gmail.com>:

> Hi,
>
> I am facing a problem while integrating Paypal payment method. My
> store currency settings are in GBP and every thing is fine. Paypal
> integration is also working correctly except the currency. When I
> login into Paypal, it shows me the prices in dollars instead of GBP.
> In my sandbox account, the default currency for seller as well buyer
> currency is GPB.


Hi Raj,

You have to add one more parameter to PayPalEvents.java called  
"currency_code".
For more details check this  
https://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/howto_checkout-outside#methodone

I think we also should add this parameter to OFBiz PayPalEvents.java.
By default it could be the OrderHeader currency or a value from  
payment.properties
WDYT?

Bilgin


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Re: Paypal payment method and currencies

Posted by Ashish Vijaywargiya <vi...@gmail.com>.
+1

On Fri, Jun 6, 2008 at 3:50 AM, Bilgin Ibryam <bi...@iguanait.com> wrote:

> On Fri, 2008-06-06 at 09:53 +0530, Raj Saini wrote:
> > If other agrees, should I create a Jira and submit the patch?
> Yes, go for it!
>
>

Re: Paypal payment method and currencies

Posted by Bilgin Ibryam <bi...@iguanait.com>.
On Fri, 2008-06-06 at 09:53 +0530, Raj Saini wrote:
> If other agrees, should I create a Jira and submit the patch?
Yes, go for it!


Re: Paypal payment method and currencies

Posted by Raj Saini <ra...@gmail.com>.
Hi Bilgin,

Thanks for the tip.

I think we should have by default to make it for other currencies.
Picking up it from the OrderHeader looks more logical.

If other agrees, should I create a Jira and submit the patch?

Thanks,

Raj

On Fri, Jun 6, 2008 at 3:56 AM, Bilgin Ibryam <bi...@iguanait.com> wrote:
> Quoting Raj Saini <ra...@gmail.com>:
>
>> Hi,
>>
>> I am facing a problem while integrating Paypal payment method. My
>> store currency settings are in GBP and every thing is fine. Paypal
>> integration is also working correctly except the currency. When I
>> login into Paypal, it shows me the prices in dollars instead of GBP.
>> In my sandbox account, the default currency for seller as well buyer
>> currency is GPB.
>
>
> Hi Raj,
>
> You have to add one more parameter to PayPalEvents.java called
> "currency_code".
> For more details check this
> https://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/howto_checkout-outside#methodone
>
> I think we also should add this parameter to OFBiz PayPalEvents.java.
> By default it could be the OrderHeader currency or a value from
> payment.properties
> WDYT?
>
> Bilgin
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>