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

Customer.Get() usando Customer.email en lugar de Customer.id #20

Open
larottao opened this issue Oct 6, 2022 · 0 comments
Open

Customer.Get() usando Customer.email en lugar de Customer.id #20

larottao opened this issue Oct 6, 2022 · 0 comments

Comments

@larottao
Copy link

larottao commented Oct 6, 2022

Buenas tardes

Tomando como referencia este esquema:

SearchParams search = new SearchParams();
search.Limit = 100;
search.offset = 0;

        OpenpayAPI openpayAPI = new OpenpayAPI(Constants.API_KEY_LLAVE_PRIVADA, Constants.MERCHANT_ID);
        List<Customer> customers = openpayAPI.CustomerService.List(search);

Será posible implementar Customer.Get() pero utilizando el e-mail registrado para el Customer?

Obtener el List() y luego buscar por e-mail es demasiado tardado, y genera una carga innecesaria para el servicio de OpenPay

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

No branches or pull requests

1 participant