VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: EAltea on July 30, 2013, 18:46:42 PM

Title: VM2 get bad total & currency in PayPal
Post by: EAltea on July 30, 2013, 18:46:42 PM
hi everybody,
I have J2.5, VM2, PayPal Express (€ principal, $), multilenguage site and multi currency shop (€ & $) where the vendor currency is €.
In the shop I have everithing ok but I can't solved a problem with my currencies when I want to pay it in PayPal and the emails received is wrong.
Example:
a) in my cart I have one product 1€. I go to paypal and I pay 1€. This is correct.
b) in my cart I have the same product 1€. I change the currency to $ and in my cart I have a product to 1.30$. Till here it's ok. Now, I go to pay it in PayPal and there I get for pay 1€.
c) the same situation like a) but I want to pay with Bank transfer. I get the shop process corectly but in the emails I receive 1$ (the emails get my simbol of currency but the prices and the total is like when I choose €).
I have 1 week with this, can someone help me, please?
Thanks
Title: Re: VM2 get bad total & currency in PayPal
Post by: sadrem on July 30, 2013, 19:31:57 PM
Hi,
The problem is in paypal payment plugin . It's send only one currency that You have defined . See in Vm payment configuration "Payment Currency"
It's possible to fix the code so it will send to paypal currency from cart but You will need some php skills to do it.
Regards
Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on July 30, 2013, 19:46:26 PM
Is there somebody which know to solved this in my php, please?
Title: Re: VM2 get bad total & currency in PayPal
Post by: sadrem on July 30, 2013, 20:03:45 PM
Joomla version ?
Vm version
Do You use standart paypal plugin or thirdparty?
Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on July 30, 2013, 20:36:08 PM
I use:
Joomla! 2.5.7 Stable
VM 2.0.16
PayPal plugins standard
Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on August 01, 2013, 23:57:08 PM
Hello everybody. I am still with the same problem. I attached a image where you can see verry clear my problem:

Total: $5.20
Total in Payment Currency: 4,00 €.

If I go to pay in PayPal, I get to pay 4€.

I NEED TO PAY IN SELECTED CURRENCY BY USER.

I still beleive that is not something imposible, may be a simple bug.
No HERO for this VM problem?


[attachment cleanup by admin]
Title: Re: VM2 get bad total & currency in PayPal
Post by: Maxim Pishnyak on August 02, 2013, 10:07:10 AM
Quote from: sadrem on July 30, 2013, 19:31:57 PM
... in paypal payment plugin . It's send only one currency that You have defined . See in Vm payment configuration "Payment Currency"
Title: Re: VM2 get bad total & currency in PayPal
Post by: Milbo on August 02, 2013, 11:28:44 AM
It would need a main currency and an array of accepted currencies. The question is why he wants to use different currencies with paypal, which makes usually only trouble anyway. VM uses always the configured currency, but displays it in the user selected currency. Sounds good for me.
Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on August 02, 2013, 14:58:09 PM
Hi Milbo. I am not sure if I understand you.

You say: "The question is why he wants to use different currencies with paypal, which makes usually only trouble anyway"
What tipe of problem?
My opinion is that  in a multi currency shop we have, for example, € and $ I am sure that is not just for displays the prices in one of 2 shop currency and one client must to can choose his payment currency. This is not just for PayPal, is generally. One client from USA want to pay in $ and another client from EU in €. Specialy in PayPal, because the client use payment without PayPal account,  whit his card (Visa, mastercard...) and if I have my card setting from my bank in €, how can I pay in $? I can't. The client don't buy in this case and we lose money.
I can't beleive that VM staff can't include this options in PayPal Standard plug. And no "hero" to solve this. All the answers from "heroes" is relative or send out to another posts where NO SOLUTION. Just bla-bla-bla.
Title: Re: VM2 get bad total & currency in PayPal
Post by: sadrem on August 02, 2013, 15:02:33 PM
As I told You if You want solution hire a programmer , pay him and You will get the solution.
Vm standard doesn't have such functionality.
Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on August 02, 2013, 15:42:24 PM
Sorry, I don't think to pay for something that must to be free in VM.
I prefer to change the sistem to prestashop, magento or other which don't see to make extra money for basicaly function.
Sadrem ,this is not for you, is for VM guru, hero, extra hero and supervm-s heroes.
Thank, anyway.
Title: Re: VM2 get bad total & currency in PayPal
Post by: Maxim Pishnyak on August 02, 2013, 17:38:50 PM
Is it not possible to create TWO paypal methods and choose specific currency for each, EAltea?
Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on August 02, 2013, 22:39:34 PM
Hi Maxim.
Yes, it's posible, but we need 8-10 currency. The problem is that in the cart we will have 8-10 payments method (PayPal) + 3 others. And this is not nicely, is not profesional. The idealy is when the client choose his currency, the PayPal get this currency. So, no solution, for the moment.
I see that the paypal standard plugin is created (or signed) for "alatak" and she can't give a real solution of his plugin. Strange, no?
Title: Re: VM2 get bad total & currency in PayPal
Post by: Maxim Pishnyak on August 02, 2013, 22:51:22 PM
Quote from: EAltea on August 02, 2013, 22:39:34 PM
Yes, it's posible, but we need 8-10 currency.
And you web shop is not multilingual?

Did you study other Paypal related 3rd party VM extensions?

Also you could play with assigning shopper group i.e. assigning payment method.
Title: Re: VM2 get bad total & currency in PayPal
Post by: Milbo on August 02, 2013, 23:01:41 PM
Quote from: EAltea on August 02, 2013, 14:58:09 PM
My opinion is ..... and if I have my card setting from my bank in €, how can I pay in $? I can't. The client don't buy in this case and we lose money.

yepp, exactly, your opinion. We use paypal, the people pay in euro, but they dont notice it, they see it directly in dollars. I dont understand the problem. Most payment providers handle that directly themself. Okey you may offer your own exchange rate. But it is not really necessary with paypal, which accepts imho only 5 currencies anyway. A perfect system for this would use the dynamic exchange rate, calculate the shop exchange rate by fee (fix + percentage). Ideally you need a possibility to map all currencies  to another currency if they are displayable, but not useable for a payment method. Additionally to that you need that for any paymentmethod. The way in vm is that you use always the shop main currency, except the payment method provides it and you choose another. Like paypal already does. Just that you know, you are the first coming up with this and for me it looks more like a misunderstanding.

First misunderstanding is what paypal can do for you.
Second, as Maxim already wrote, create more than one paymentmethod.

Quote from: EAltea on August 02, 2013, 15:42:24 PM
Sorry, I don't think to pay for something that must to be free in VM.

Why do you think it must be free in VM? VM itself is already free. Here is the offer to find out exactly what you need. Often it can be solved just by configuration. The better you explain your problem, the more likely it will be solved next version or we can consider it for the next plugins. There will come a lot paypal plugins next months. But I dont know if this special request is in fact a basic request by paypal, that is the question.

Quote from: EAltea on August 02, 2013, 15:42:24 PM
I prefer to change the sistem to prestashop, magento or other which don't see to make extra money for basicaly function.
Sadrem ,this is not for you, is for VM guru, hero, extra hero and supervm-s heroes.
Thank, anyway.

Why the agression, what we did to you? You have a request for a very specific problem. No one solves specific problems for free. If you think it is too expensive to pay 100-200 bugs to someone who solves the problems for you quickn dirty, but it is cheaper to choose Prestashop or Magento,.... ehrm, no more comments.
Title: Re: VM2 get bad total & currency in PayPal
Post by: sadrem on August 03, 2013, 08:27:16 AM
QuoteWhy the agression, what we did to you?

???
Title: Re: VM2 get bad total & currency in PayPal
Post by: lindapowers on August 04, 2013, 14:39:39 PM
Quote from: EAltea on August 02, 2013, 15:42:24 PM
Sorry, I don't think to pay for something that must to be free in VM.
I prefer to change the sistem to prestashop, magento or other which don't see to make extra money for basicaly function.
Sadrem ,this is not for you, is for VM guru, hero, extra hero and supervm-s heroes.
Thank, anyway.

You don't need to be a guru, or hero, you just need a brain. Need something specific, hire a programmer, you dont wan't to pay a single euro? good luck building websites then.

Cause yes everything should be free in this world and people should work for free with the only motivation of helping people like you which just ask, demand and complain.

GL
Title: (SOLVED) Re: VM2 get bad total & currency in PayPal
Post by: EAltea on August 06, 2013, 21:26:48 PM
Hi for all,
maybe it's imposible for me to explain exactly what I need and this create a misunderstanding. Sorry, my english is not perfect but I intent to explain again in a diferent form:
Some members which contest me in this post named my questions "agression". So, I intent to explain again my problem:
I have a Joomla 2.5 site, VM2 shop and PayPal Express for method of payment (Without account in PayPal and the cards accepted for each country and currency).
My shop is multilanguage, so:
One language can not limited a buyers in territory. So, the payment method can't be separate for language.
My shop is multicurrency, so:
- From USA it's easy to pay in dollars, from Germany in Euro, from Australia in Australian dollar. But one USA citizen can be in some moment from his life in Europe or Australia. His card is configured for payments in his bank currency.

- My idea is: if one buyer have his card in €, this buyer must to have the posibility to pay in may shop in €. The same for 19 currency which is disponible in PayPal.
- I think that nobody ask in his bank to change or get more currency in his card.

The question is that I receive mesage from some members of this forum and is posible to get this function if I pay from 70$ to 500$. Why? This function of PayPal plugin is a business for some people?
Finaly, Milbo, I don't understand why you name my questions "agression"? The agression is when a VM user must to pay 70$-500$ for change exactly 3 "codes".
I supose that is a "business" for somebody because, in 12 hours I find the solution and I have this function working now. And I haven't any speciality in programation. If I can do this, any "hero" from this forum can do the same, maybe in 2 minute.
One think is to sell extended plugins and another think is the practice which I find here.
Title: Re: VM2 get bad total & currency in PayPal
Post by: Jörgen on August 07, 2013, 07:58:59 AM
Hi EAltea

Great that You have found a solution, why don´t You share this with the rest of the community ?

It seems like You want help for free, but not prepared to give anything back  :(

regards

Jörgen @ Kreativ Fotografi
Title: Re: VM2 get bad total & currency in PayPal
Post by: Milbo on August 08, 2013, 14:08:34 PM
Quote from: EAltea on August 06, 2013, 21:26:48 PM
- I think that nobody ask in his bank to change or get more currency in his card.

As I already explained. I think you do not really understand paypal. This is not necessary and just creating confusion.

Quote from: EAltea on August 06, 2013, 21:26:48 PM
Finaly, Milbo, I don't understand why you name my questions "agression"?

LOL. Maybe you do not understand what is meant with feeling responsible for something. We feel responsible for the project. So if you say "that must to be free in VM", you attack any developer who feel responsible for it. If you start to add things like " to change the sistem", then you even enforcing the rant with a threat. Lol and you wonder that almost anyone feels that you are agressive.

Quote from: EAltea on August 06, 2013, 21:26:48 PM
The agression is when a VM user must to pay 70$-500$ for change exactly 3 "codes".
I supose that is a "business" for somebody because, in 12 hours I find the solution and I have this function working now. And I haven't any speciality in programation. If I can do this, any "hero" from this forum can do the same, maybe in 2 minute.

No, exactly not in 2 minutes. I took already the community more than 30 minutes just to answer you. But 200 euro would have been the price for the whole community. Added to the core. So you had to hack the core and for every update you have to add it again.

and I am sorry, if you think you are not more worth than 200€/12 = 16.67 € per hour, then it is your attitude. of course if you do not have the money.... it is opensource change it. But for most people it is cheaper to pay 200 euro, to spare the 12 hours and to use the 12 hours for your real work.

Btw that you do not share your solution shows that you are really not community person and therefore the community wont help you anylonger. Community means to share. We shared VirtueMart with you and what did you share with us?
Ranting and Threatening. Oha. and be aware this will stay for a very long time here, even in years people will be able to read your attitude.
Title: Re: VM2 get bad total & currency in PayPal
Post by: Milbo on August 09, 2013, 13:25:30 PM
BTW, EAltea.

Our paypal plugin has a built in solution for that. But you use a plugin bought from another 3rd party. Why you did not the first logical thing and ask him, why you asked us?

Compared to the car industry, that is like being angry that your mercedes has no mp3 player in it, but you are using not the orginal mercedes stereo and then going to Mercedes, telling them their car is shit, because the radio you bought from another company is not doing what you want lol.

Can it be true? Unbelievable, really.

Title: Re: VM2 get bad total & currency in PayPal
Post by: EAltea on August 13, 2013, 20:18:02 PM
The PayPal plugin from VM is not a VM plugins? It's 3th party? The copyright is signed "Alatak" so I think is correct if I send my changes of code to him and if Alatak want she want published.
If is not VM plugins, receive my apologize, specialy for Milbo who don't want to understand that in a international shop the buyer must can to pay his orders in his card currency. For this reason PayPal and another payment sistems added more than one currency.
Anyway, If I use VM in my shop, i think that is normal to find solution in VM.
After this discutions, I don't agree the position of some members and for me, Joomla+Vm is #1.
Regards
Title: Re: VM2 get bad total & currency in PayPal
Post by: Milbo on August 16, 2013, 14:23:23 PM
I am not sure if I understood you, but you wrote
"PayPal Express (€ principal, $)"

Maybe alatak added the paypal express already to the core, but I am not aware of it. The paypal in vm has an option for the currency.