#chakeeb-setupIntent-paymentMethod
1 messages · Page 1 of 1 (latest)
in the dashboard, I can see the pm id but it's returned as null. (just testing)
Can you provide the id of the payment intent and the setup intent?
seti_1JZdU4INydTZ1nYeElTcCfU6
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?
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
Interesting. So is that just working now and it wasn't before?
i was trying to get it before confirmation.
Ah gotcha. The PaymentMethod won't exist until confirmSetupIntent is called
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?
I don't know anything specifically in our docs with confirm: true, attach: true, but let me know if you can find it!