Payment with flex token example gives INVALID_DATA error
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
Direzione di ricerca
Start by running Samples/Payments/Payments/payment-with-flex-token.js and payment-with-flex-token-create-permanent-tms-token.js as described in the issue, then inspect how each example builds the Flex token payment request. Trace the tokenInformation.jti handling and verify the examples no longer return INVALID_DATA for that field.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When I run the flex token payment example i.e.
node Samples/Payments/Payments/payment-with-flex-token.js
I get the following error in the response:
\"Declined - One or more fields in the request contains invalid data\",\"details\":[{\"field\":\"tokenInformation.jti\",\"reason\":\"INVALID_DATA\"
As these examples are supposed to be self-contained I expected this to work. Does anyone know what the issue is? I did try adding the jti value which you can obtain from the decoded JWT token but this didn't fix the issue.
Also note that the exact same problem applies to the payment-with-flex-token-create-permanent-tms-token.js example.
- Lingua principale
- JavaScript
- Stelle
- 43
- Fork
- 66
- Merge medio
- 1g 8h
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CyberSource/cybersource-rest-samples-node
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
Can't resolve 'ApiClient'Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
CyberSource/cybersource-rest-samples-node#72 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
CyberSource/cybersource-rest-samples-node#58 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
Tutte le issue di CyberSource/cybersource-rest-samples-node
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
pbakaus/impeccable#1055 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: EUROTV NEWSApertachannels:add check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno