#DeadlyData-400

1 messages · Page 1 of 1 (latest)

half verge
#

Hi there, can you share the request ID for the error?

#

And can you share you Android code snippet?

brittle mica
#

reqestid: req_QBx5WnbAhxVeNm

#

screen shot from my android code, and server

half verge
#

Sorry, server is busy!

#

Looking!

#

Can you log out your req.body on your server and send a new request?

brittle mica
#

request body { currency: 'usd', items: [ { id: 'photo_subscription' } ] }

tiny pivot
#

👋 bismark has to head out, but i'm hopping in

#

and what do you get when you log itemMap in your fetchPaymentIntent function?

brittle mica
#

amount=13.0, id=photo_subscription}

#

i tried putting a hardcoded value for amount just to test it

#

and its still not working

#

This is what i am sending to the server

#

this is whats displayed when i log it in android

#

I/paymap: {currency=usd, items=[{amount=13.0, id=photo_subscription}]}

tiny pivot
#

Can you show me where you're logging req.body on your server?

brittle mica
tiny pivot
#

Hmm... are you just logging payMap in fetchPaymentIntent? Do you get the same thing when you log requestBody?

brittle mica
#

thsi is what i get

#

when i log request body

#

request body {
currency: 'usd',
items: [ { amount: 13, id: 'photo_subscription' } ]

#

from the server

#

so it doesnt make sense

#

when i log it on android i get this

brittle mica
#

wait.

#

i think ik what it maybe

tiny pivot
#

so you think you know what it is?

brittle mica
#

Okay, so i think i fixed, that error. But now i am getting another one

#

I already have accept cards enabled on my dashboard

tiny pivot
#

What was the error?

#

And do you have a Payment Intent ID I can look at?

tiny pivot
#

@brittle mica Just checking in - do you have an ID I can look at?