Nova rota de usuário pelo e-mail#191
Merged
yuri-chaves-woocommerce-vindi merged 240 commits intovindi:masterfrom Mar 21, 2025
Merged
Nova rota de usuário pelo e-mail#191yuri-chaves-woocommerce-vindi merged 240 commits intovindi:masterfrom
yuri-chaves-woocommerce-vindi merged 240 commits intovindi:masterfrom
Conversation
…com as novas versões do PHP 8.3 e do WC 8.5.2
…remainder na condiçao quando o resto menor ou igual ao preço total, antes tinha um else e esse else foi removido para que o code climate pare com a issue
…era remainder - fullprice agora é apenas fullprice
… duplicação do desconto e na aplicação incorreta do desconto percentual em produtos simples.
…alizar estado da assinatura
…ment e na rota updateSubscription
…reensão do código
yuri-chaves-woocommerce-vindi
approved these changes
Mar 19, 2025
7c47a8c
into
vindi:master
1 of 3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que mudou
Adicionadas novas validações no plugin para identificar usuários no sistema Vindi. Agora, além das validações por ID e código, foi implementada uma validação por e-mail como último recurso.
Motivação
O cliente estava enfrentando problemas ao identificar usuários registrados na Vindi durante o processo de compra. O erro "parâmetro inválido" ocorria devido à ausência do
vindi_customer_idno banco de dados, impossibilitando a validação padrão.Solução proposta
Como testar
postmeta.vindi_customer_iddo usuário a ser testado.WC-USER-{ID}).