Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Donate in UAH - PayPal error #15531

Closed
vm-raccoon opened this issue Jun 16, 2024 · 5 comments
Closed

Donate in UAH - PayPal error #15531

vm-raccoon opened this issue Jun 16, 2024 · 5 comments
Labels

Comments

@vm-raccoon
Copy link

vm-raccoon commented Jun 16, 2024

Exact URL of where the bug happened

https://lichess.org/patron/list?currency=UAH&freq=onetime&dest=me

Steps to reproduce the bug

  1. Open donate page
    donate page
  2. Choose currency UAH (or it was predefined)
  3. Try to donate
  4. Catch invisible error!

What did you expect to happen?

Opening paypal page for payment

What happened instead?

You can see error in DevTools - Console
DevTools - Console error

Error was happened because PayPal SDK not loaded
PayPal SDK not loaded

Loaded error instead PayPal SDK
Paypal SDK not loaded

Operating system

Windows 11

Browser and version (or alternate access method)

Chrome 125 (latest)

Additional information

No response

@vm-raccoon vm-raccoon added the bug label Jun 16, 2024
@SergioGlorias
Copy link
Contributor

SergioGlorias commented Jun 16, 2024

Note: UAH is not in the list of currencies available for payment with PayPal

val payPalCurrencies: Set[Currency] = Set(
"AUD",
"BRL",
"CAD",
// "CNY",
"CZK",
"DKK",
"EUR",
"HKD",
"HUF",
"ILS",
"JPY",
// "MYR",
"MXN",
"TWD",
"NZD",
"NOK",
"PHP",
"PLN",
"GBP",
"RUB",
"SGD",
"SEK",
"CHF",
"THB",
"USD"
).flatMap(anyCurrencyOption)

The button does not appear for this reason

@vm-raccoon
Copy link
Author

But why its possible to choose? And predefined on loading page, while its not in list...
UAH
Currency exists, may be chosen, but not working. Mheh...

@SergioGlorias
Copy link
Contributor

SergioGlorias commented Jun 16, 2024

oh is list in stripe

val stripeCurrencies: Set[Currency] = Set(
"USD",
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BWP",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"INR",
"ISK",
"JMD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KRW",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRO",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"STD",
"SZL",
"THB",
"TJS",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"UYU",
"UZS",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
).flatMap(anyCurrencyOption)

@SergioGlorias
Copy link
Contributor

I see error with stripe

@SergioGlorias
Copy link
Contributor

Screen.recording.2024-06-16.21.46.32.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants