purchases forever pending on Android

Aperta
#31 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
android, typescript
Ambito
mobile, payments

Direzione di ricerca

Locate startOrder and its onQueryPurchasesResponse handling in the repository, then compare the callback's second parameter with the Android SDK documentation. Reproduce the purchase flow and confirm that the purchase no longer remains pending forever when the callback receives a purchases list containing it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

onQueryPurchasesResponse in startOrder treats 2nd parameter as 'pending' when it is a list of 'purchases' containing the purchase I'm making. So now I can see why this logic gets me stuck PENDING forever. I have hacked it to work for me. Comparing this with the SDK documentation, I don't see how it could possibly work.

Lingua principale
TypeScript
Stelle
35
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NativeScript/payments

Tutte le issue di NativeScript/payments

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.