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

Setting up defailt exchange provider #5979

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TChukwuleta
Copy link
Contributor

Resolves #5653, allowing admin to setup default exchange provider

@NicolasDorier
Copy link
Member

It will need a few changes and go after #5976, but I can take it from here.

I think we will need to talk to @dstrukt. This UX is simple, but lacking flexibility as it only allows to change the recommended exchange for the default currency.

On one side, maybe we don't really care about the lack of flexibility. An admin changing this setting will probably change it once in his life, as all his merchants should use the same default currency.

On the other side, it doesn't allow an admin to change the recommended exchanges for other currencies.

@TChukwuleta
Copy link
Contributor Author

I think the flexibility would be good one to have.

I have a follow up question, if an admin has merchants in different countries (say Nigeria and Ghana), how would the currencies be managed if the intentions is for all the merchants to use the same default currency

@NicolasDorier
Copy link
Member

NicolasDorier commented May 15, 2024

@pavlenex @dstrukt we will need some guidance here

So from #5976, it is possible to take whatever exchange is recommended for the selected currency. (rather than forcing the same exchange for all currencies)

This PR aims at allowing the admin to setup the recommended exchange for the default currency.

The good side is that this is simple to understand.

The bad side is that it doesn't allow the customization of recommended exchange for non default currency.

I am tempted to keep it simple like this PR, as our original goal is to allow local admin to streamline the experience for their local merchant. (ie, for the default currency)

Note this PR may need some adjustement to work, but we need to know the path to take.

@NicolasDorier NicolasDorier added this to the 2.0.0 milestone May 15, 2024
@dstrukt
Copy link
Member

dstrukt commented May 16, 2024

Discussed on today's design call. Not sure if @dennisreimann is going to implement the additional dropdown solution we discussed, so will leave it to him add any additional context, or if @dennisreimann is planning to leave it to @TChukwuleta, regardless, thought I'd provide an update.

@TChukwuleta
Copy link
Contributor Author

Thanks @dstrukt

Copy link
Member

@dennisreimann dennisreimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK. Ideally we'd also combine this with the rate provider recommendations, e.g. Kraken for EUR — but I think this is more complex and would involve some more JS.

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

Successfully merging this pull request may close these issues.

Server admin can set up default rate provider and default currency for stores on the server
4 participants