This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Novo método para retornar os hrefs após gerar uma Order (Checkout Moip)#280
Open
mtsalcova wants to merge 2 commits intowirecardBrasil:developfrom
Open
Novo método para retornar os hrefs após gerar uma Order (Checkout Moip)#280mtsalcova wants to merge 2 commits intowirecardBrasil:developfrom
mtsalcova wants to merge 2 commits intowirecardBrasil:developfrom
Conversation
Author
|
Sua solução funciona, só não vou utiliza-la porque quero manter o uso da SDK original. Caso alguem esteja na mesma situação, basta pegar o objeto (order) e transforma-lo em um json e depois em um array (🤯) Fiz desta forma:
OBS: Sim, isso esta MUITO feio. Mas foi a melhor forma que encontrei para não alterar a SDK. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Olá Pessoal,
Estou integrando o Moip em um projeto aqui que será Checkout Moip, com isso, após eu ter criado a order, não consegui acessar a propriedade
payCheckout->redirectHrefpra mim redirecionar o usuário.Com isso acabei pesquisando e encontrei o método
getLinks()em uma issue aqui no github, porém também não consegui acessar pois está privada.Enfim, essa foi a solução que eu encontrei, caso já exista algo similar a isso, poderia me informar por favor? rsrs
Valeu pessoal!!