Paypal payment method and currencies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Paypal payment method and currencies

rajsaini
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.

I do not see any currency setting in the paypal settings. Any idea
what wrong I am doing.

Thanks,

Raj
Reply | Threaded
Open this post in threaded view
|

Re: Paypal payment method and currencies

Bilgin Ibryam
Quoting Raj Saini <[hidden email]>:

> 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.

Reply | Threaded
Open this post in threaded view
|

Re: Paypal payment method and currencies

rajsaini
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 <[hidden email]> wrote:

> Quoting Raj Saini <[hidden email]>:
>
>> 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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Paypal payment method and currencies

Bilgin Ibryam
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!

Reply | Threaded
Open this post in threaded view
|

Re: Paypal payment method and currencies

Ashish Vijaywargiya
+1

On Fri, Jun 6, 2008 at 3:50 AM, Bilgin Ibryam <[hidden email]> 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!
>
>