impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
344 stars 191 forks source link

Add Moroccan currency #381

Closed DevinWalker closed 8 years ago

DevinWalker commented 8 years ago

Request for a new currency

Requested here: https://wordpress.org/support/topic/help-648?replies=1

mathetos commented 8 years ago

Moroccan MAD is not supported by PayPal: https://developer.paypal.com/docs/classic/mass-pay/integration-guide/currency_codes/

This means that regardless of what our reports and the front-end form would say, they would not be accepting payments in MAD, but whatever format their PayPal account defaults to. I don't think we should add any currencies that aren't supported by PayPal out of the box.

DevinWalker commented 8 years ago

That's pretty restrictive though. Do all the other currencies we include support PayPal? They could, in theory use Offline Payments (plausible in some countries) or purchase a future gateway that does support that currency (like a lot of the Africa specific ones we have been asked to build).

mathetos commented 8 years ago

Yes, I just mean the currencies we support natively in the Core plugin. The Gateway's can add their own currencies that they support beyond what PayPal has. I just think it could make for a very frustrating donor and organization experience to expect a currency then look at your bank statement and see currencies convertion fees or other unexpected activity because it wasn't clear that you were ACTUALLY donating in British Pounds instead of Moroccan MAD.

mathetos commented 8 years ago

I dug into this just a little. Looks like our currencies are exactly the supported PayPal currencies in alphabetical order, except for the last four:

currency-chooser

When you set one of those four currencies as your currency in Give (I set it to Indian Rupees), and try to process a payment using PayPal Standard you get this response when submitting the form:

paypal-wrong-currency

p.s. That looks like a typo from PayPal -- it should say "This recipient ONLY accepts payments denominated in USD..." Naturally, if PayPal doesn't offer the ability to accept money in Indian Rupees then the recipient can't change that and the donor will continue to get that error message above.

I also just made a donation via PayPal using a U.S. credit card which was converted automatically into CAD (Canadian dollars). That process was seamless and easy. Note that PayPal supports both USD and CAD, this is why they are able to facilitate the currency conversion process and streamline that so well. This would NOT be the case with those 4 additional currencies in the screenshot above.

Things to consider with currencies

Suggestions for how to resolve this

currencies-add-separator

DevinWalker commented 8 years ago

Seeing as we're in a bit of discussion around this ticket I'm going to bump this from 1.3.2 milestone

ibndawood commented 8 years ago

@mathetos - This is what I think :

Those are my $0.2

DevinWalker commented 8 years ago

Thanks for your 2 cents @ibndawood - I agree with you on all points.

mathetos commented 8 years ago

@ibndawood I like the idea that the gateway should "check if the existing currency is supported and make a warning to the user". That alone would address pretty much all of my concerns. I just want to make sure that the GIve user and the donor have a positive experience with Give, and the screenshots I provided above are not what I'd hope our users to experience.

@DevinWalker Should we change this issue to "Add Alert for currencies currently not supported by installed Gateways"?

DevinWalker commented 8 years ago

@mathetos before you do that let me research what it will take to achieve that.

ibndawood commented 8 years ago

This is what happened when I activated Paypal with INR.

image

DevinWalker commented 8 years ago

Interesting... thanks for the screenshot. We'll have to be sure that it's compatible with the future per-form gateway add-on.

mathetos commented 8 years ago

I love that. That would help a ton.