#chakeeb-setupIntent-paymentMethod

1 messages · Page 1 of 1 (latest)

mystic flare
#

Do you have the id of a SetupIntent that you've seen this for?

green nexus
#

in the dashboard, I can see the pm id but it's returned as null. (just testing)

mystic flare
#

Can you provide the id of the payment intent and the setup intent?

green nexus
#

seti_1JZdU4INydTZ1nYeElTcCfU6

mystic flare
#

Thank you!

#

And can you print out the full object you get back from confirmSetupIntent and send it to us here?

#

Can you update to v0.2.1 of the RN SDK and try that again?

green nexus
#

this a new test card:

#

{"clientSecret": "seti_1JZdnrINydTZ1nYeExU8V5g5_secret_KE5zYofTiIi8x6QqESFpIkYcYE3dWQs", "created": "1631634251000.0", "description": null, "id": "seti_1JZdnrINydTZ1nYeExU8V5g5", "lastSetupError": null, "livemode": false, "paymentMethodId": "pm_1JZdnrINydTZ1nYePMcrllmI", "paymentMethodTypes": ["Card"], "status": "Succeeded", "usage": "OffSession"}

#

looks like it's showing here

mystic flare
#

Interesting. So is that just working now and it wasn't before?

green nexus
#

i was trying to get it before confirmation.

mystic flare
#

Ah gotcha. The PaymentMethod won't exist until confirmSetupIntent is called

green nexus
#

i thought once you setup the intent it's there. thanks man

#

one more thing if you may:

#

i saw somewhere in the docs but i can't find it now that when you setup the intent you can pass {confirm: true, attach: true or something} do you know about this?

proven mirage
#

I don't know anything specifically in our docs with confirm: true, attach: true, but let me know if you can find it!