Skip to content

Impossibile recuperare lista Prodotti #307

Closed Answered by valmoz
AndreaDev01 asked this question in Q&A
Discussion options

You must be logged in to vote

Riporto la risposta per completezza.

Il problema era dovuto al fatto che la PHP SDK (come le altre) contiene diversi oggetti API, ciascuno dedicato ad un set di risorse specifico. Ciascun oggetto API deve essere inizializzato indipendentemente dagli altri.

Nel caso in questione, a differenza di altre API la ProductsAPI non era stata configurata correttamente, e per questo motivo non aveva a disposizione il token per effettuare le chiamate.

Un esempio di inizializzazione può essere osservato sulla repository della SDK.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@valmoz
Comment options

@AndreaDev01
Comment options

@valmoz
Comment options

@valmoz
Comment options

@AndreaDev01
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by valmoz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants