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

Revolut account should be a phone number #3728

Closed
trigger67 opened this issue Dec 2, 2019 · 3 comments · Fixed by #3777
Closed

Revolut account should be a phone number #3728

trigger67 opened this issue Dec 2, 2019 · 3 comments · Fixed by #3777

Comments

@trigger67
Copy link

Description

I traded with people who had an email instead of a phone number in their revolut account.

I tested to create a new Revolut account in bisq. In the field "Phone number" I was able to put an email.

Version

1.2.3

Steps to reproduce

Account => Add a new account => Revolut => Put an email

Expected behaviour

When entering an email instead of a phone number, I should see an error message when trying to save.
Maybe limit the field to numbers, parenthesis and the + sign

Actual behaviour

Email is accepted

Device or machine

Windows 10

@julianknutsen
Copy link
Contributor

Thanks for filing this. Some info from #general for the dev who picks this up:

I did a quick audit and it looks like when creating a Revolut account, the form says phone #, but the input is not validated so it could be a phone or email. The "Trade information" screen also has logic to show email or phone number depending on how it interprets the field. Not straight forward... Relevant comment in code:

    private static String getTitle(String accountId) {
        // From 0.9.4 on we only allow phone nr. as with emails we got too many disputes as users used an email which was
        // not registered at Revolut. It seems that phone numbers need to be registered at least we have no reports from
        // arbitrators with such cases. Thought email is still supported for backward compatibility.
        // We might still get emails from users who have registered when email was supported
        return accountId.contains("@") ? Res.get("payment.revolut.email") : Res.get("payment.revolut.phoneNr");
    }

@ripcurlx ripcurlx added the in:gui label Dec 6, 2019
@ripcurlx
Copy link
Contributor

ripcurlx commented Dec 6, 2019

I think we should only allow phone numbers when an Revolut account is created to get rid of unnecessary arbitration cases. I think @beingindot is already working on this? Shall I assign you?

@beingindot
Copy link
Contributor

yes @ripcurlx. pls assign to me.

beingindot added a commit to beingindot/bisq that referenced this issue Dec 12, 2019
For issue bisq-network#3728
	Till now we used to accept email or phone number
	Now we are accepting only phone number in input though
	for display we will provide backward compatibility.

	Added list of countries accepted from official revolut website
	https://www.revolut.com/en-US/help/getting-started/verifying-identity/what-countries-are-supported

	Based on the country selected, we will validate the given
	phone number input.
beingindot added a commit to beingindot/bisq that referenced this issue Dec 12, 2019
For issue bisq-network#3728
	Till now we used to accept email or phone number
	Now we are accepting only phone number in input though
	for display we will provide backward compatibility.

	Added list of countries accepted from official revolut website
	https://www.revolut.com/en-US/help/getting-started/verifying-identity/what-countries-are-supported

	Based on the country selected, we will validate the given
	phone number input.
@ripcurlx ripcurlx added this to the v1.2.5 milestone Dec 12, 2019
beingindot added a commit to beingindot/bisq that referenced this issue Dec 13, 2019
For issue bisq-network#3728
	Till now we used to accept email or phone number
	Now we are accepting only phone number in input though
	for display we will provide backward compatibility.

	Added list of countries accepted from official revolut website
	https://www.revolut.com/en-US/help/getting-started/verifying-identity/what-countries-are-supported

	Based on the country selected, we will validate the given
	phone number input.
beingindot added a commit to beingindot/bisq that referenced this issue Dec 17, 2019
For issue bisq-network#3728
	Till now we used to accept email or phone number
	Now we are accepting only phone number in input though
	for display we will provide backward compatibility.

	Added list of countries accepted from official revolut website
	https://www.revolut.com/en-US/help/getting-started/verifying-identity/what-countries-are-supported

	Based on the country selected, we will validate the given
	phone number input.
@ripcurlx ripcurlx removed this from the v1.2.5 milestone Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants