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

Adicionar validação para boleto #1

Open
mariovalney opened this issue Jun 8, 2020 · 0 comments
Open

Adicionar validação para boleto #1

mariovalney opened this issue Jun 8, 2020 · 0 comments

Comments

@mariovalney
Copy link
Owner

mariovalney commented Jun 8, 2020

A Braspag tem esses campos como obrigatórios:

  • Rua
  • Número
  • CEP
  • Bairro
  • Cidade
  • Estado
  • País
  • Documento
  • Tipo de Documento

Documentação: https://braspag.github.io/manual/braspag-pagador#requisi%C3%A7%C3%A3o39

Podemos fazer como já tem no Cartão de Crédito:

https://github.com/Vizir/woo-checkout-braspag/blob/master/modules/woocommerce/includes/braspag/models/requests/class-wc-checkout-braspag-request-payment-cc.php#L142

Os dados ficam em $this->Customer.

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