Comments (8)
Hi @williamokano and @topogigiovanni!
We believe that this issue is solved, so we're closing it, and if you guys still need to discuss it further, please feel free to reopen it 😉
from pagarme-php.
Hih @williamokano! Do you still have something in mind for this issue?
from pagarme-php.
HI @devdrops I don't. Since I have to count has many payables by fetching the transaction (which will have to make 2 requests, making the performance for this action pretty bad. I think that is for the best if we drop this feature and start a new one, but, instead of fetching all the payables for some given transaction, create a new method with the possibility to pass the count
and the page
argument and let the user handle how to fetch those data.
from pagarme-php.
Hello everyone, sorry for the intrusion, but it would make sense to give TransactionHandler the ability to query your Payables (doc) so you don't need the Paging Parameters ? In this case, we would not have the restriction of 10 results, but from what I've noticed, it skips some of the list result patterns (which contains page and count).
Thank you guys.
from pagarme-php.
Hi @topogigiovanni.
Have you tried the elastic search advanced query? I think that might solve our problem hehehe.
from pagarme-php.
It's a good alternative, sure, but I thought I'd create a shortcut to this feature. In my project I am using this feature a lot.
Anyway thanks for the attention @williamokano
Cheers.
from pagarme-php.
What kind of query you need in the TransactionHandler? I am using this feature a lot too, since I have to keep track of the payables in order to build some custom bulk anticipations. But in my case, I just need to query the payables for some specific given transaction. The query for transaction_id works, but I don't actually know how many payables I don't know exactly how many payables the given transaction has, I have to keep scraping all the pages.
I suggested the elasticsearch since it's a good alternative for me, I thought it might solve your problem too :)
from pagarme-php.
In fact it would only be for a match to the existing method in the API (link). Of course, elasticsearch works very well, but by looking closely at the PHP SDK I've missed the coverage of this feature, given the importance of the Payable entity.
Thanks again @williamokano , elasticsearch is really amazing and your solution will work perfectly for me. :)
from pagarme-php.
Related Issues (20)
- Dúvida! [ERROR TYPE: action_forbidden. PARAMETER: . MESSAGE: Sem ambiente configurado para este tipo de transação.] HOT 4
- Erro crítico ao cadastrar recebedor Pagarme HOT 1
- API 5.0 com erro de API Key Inválida HOT 1
- ERRO encryption_key inválida
- Error "Its not allowed to use split_rules"
- Question: PaymentMethod Pix HOT 1
- Pagamento com cartão de débito
- boleto_url incorreto HOT 2
- validation_error | billing | "value" is required HOT 5
- Timeout API HOT 1
- Retornar Recebiveis por periodo
- Melih HOT 1
- Como gerar o card hash na V4? HOT 2
- Duvida: Consulta de recebíveis de um recebedor
- Duvida: Para realizar a venda de produtos digitais, preciço mandar endereço? HOT 1
- Carregamento da biblioteca no CakePhp HOT 1
- Esta é uma biblioteca da equipe do pagar.me? HOT 1
- ERROR TYPE: action_forbidden. PARAMETER: . MESSAGE: api_key inválida HOT 2
- Como gerar PIX com essa SDK? HOT 2
- Pagar.me
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagarme-php.