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

Improve Payutc login #53

Open
abrasseu opened this issue Dec 6, 2020 · 0 comments
Open

Improve Payutc login #53

abrasseu opened this issue Dec 6, 2020 · 0 comments

Comments

@abrasseu
Copy link
Contributor

abrasseu commented Dec 6, 2020

Currently, to login and add an item to Payutc, the API gets credentials from its settings:

PAYUTC = {
    # Application key login OK
    'app_key': env.str("PAYUTC_APP_KEY"),
    # User login NOT OK
    'mail': env.str("PAYUTC_MAIL", validate=[Email()]),
    'password': env.str("PAYUTC_PASSWORD"),
}

It should login the current user to Payutc instead and not a admin user from the config.
We should also add a Sync to Payment Service button on the UI.

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

No branches or pull requests

1 participant