#nitesh0001_82405
1 messages · Page 1 of 1 (latest)
Can you be more specific with your question?
I am getting this response while adding card in stripe account
{"setupIntent":{"id":"seti_1NsjT0AXyAi3ow1CWeunYKAM","object":"setup_intent","automatic_payment_methods":null,"cancellation_reason":null,"client_secret":"seti_1NsjT0AXyAi3ow1CWeunYKAM_secret_Og5eZAmrVBIpVWAZ4MV1dxhoNpOUTUp","created":1695289598,"description":null,"last_setup_error":null,"livemode":true,"next_action":null,"payment_method":"pm_1NsjTmAXyAi3ow1CQdZNInun","payment_method_types":["card"],"status":"succeeded","usage":"off_session"}}
How can I decode it in JSON? It is not converting
php
no it's not in json
I want to get status value from it
when I use json parse tool online... it's not parsing it
Are you using our official client library?
yes
Oh then you should just be able to save the result of confirming a setupintent to a variable and access the status param by doing something like this $intent->status
What error do you get when you try that
It is resolved.. thanks