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

Como fazer parse das variáveis retornadas pelo WebHook? #47

Open
luidiva opened this issue Sep 16, 2020 · 1 comment
Open

Como fazer parse das variáveis retornadas pelo WebHook? #47

luidiva opened this issue Sep 16, 2020 · 1 comment

Comments

@luidiva
Copy link

luidiva commented Sep 16, 2020

Tudo bem?
Estou analisando a biblioteca e vi o retorno raw do webhook vem assim:

event=subscription.renewed
&data[id]=1757E1D7FD5E410A9C563024250015BF
&data[account_id]=70CA234077134ED0BF2E0E46B0EDC36F
&data[customer_name]=John%20Doe
&data[customer_email]=[email protected]

Eu nunca havia visto um formato de retorno igual a este, utilizando data[] no formato de um array?

Esse parse é obrigado a fazer manualmente ou existe uma forma de Parse automática? Estou fazendo em C# e PHP.

Obrigado.

@sergioogomes
Copy link

@luidiva Conseguiu pegar o retorno dos status ? se sim como ?

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

2 participants