#nitesh0001_82405

1 messages · Page 1 of 1 (latest)

austere viperBOT
hybrid wyvern
#

hello! did you have a question?

plucky shadow
#

Yes

#

Sometimes in card add response i am getting this json response:

#

{"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"}}

#

While sometimes getting special characters in it

#

{%22setupIntent%22:{%22id%22:%22seti_1Nt2lOAXyAi3ow1C21ls3eIb%22,%22object%22:%22setup_intent%22,%22automatic_payment_methods%22:null,%22cancellation_reason%22:null,%22client_secret%22:%22seti_1Nt2lOAXyAi3ow1C21ls3eIb_secret_OgPaDedlXWX7vZ22TcrQwOlELVeGM73%22,%22created%22:1695363774,%22description%22:null,%22last_setup_error%22:null,%22livemode%22:true,%22next_action%22:null,%22payment_method%22:%22pm_1Nt2lfAXyAi3ow1C7qX70R11%22,%22payment_method_configuration_details%22:null,%22payment_method_types%22:[%22card%22],%22status%22:%22succeeded%22,%22usage%22:%22off_session%22}}

#

Why am I getting this %22 in response ?

#

I am afraid if I get any other characters in string in future then?

hybrid wyvern
#

in what context does this happen, what API call are you making, using which library and what code, etc?

plucky shadow
#

I am using stripe library only

#

and this response stripe sends me

#

when i add any card

hybrid wyvern
#

sorry, can you be more specific? there are at least 10 Stripe libraries, you need to be much more specific and clear in your answer.