#Surya-Mani

1 messages · Page 1 of 1 (latest)

turbid ploverBOT
fallen ibex
#

hi, what is the question exactly?

cedar hinge
#

I need to display the payment method. which API is used for get the payment method?

cedar hinge
#

ok

cedar hinge
#

the payment methods are get by only customer id or subscription id

fallen ibex
#

not sure what you mean.

cedar hinge
#

if i retrieve the payment method of one user how should i get the method by using subscription ID am i right?

fallen ibex
#

sorry I can't understand you.

cedar hinge
#

How should i get payment method

fallen ibex
#

sorry, you make no sense.

#

do you have some code that you've tried and have a question about?

cedar hinge
#

i need to get name of the the user, card details and expiry date

fallen ibex
cedar hinge
#

in this image , one part is named as payment method

#

did you see that?

fallen ibex
#

Yes.

cedar hinge
#

i also do the same one

#

so i need to get the user name , card detail and expiry date of that card

#

did you understand my requirement?

fallen ibex
#

yes, and I gave you an answer.

#

have you tried it out? what happened when you tried to write some code to implement this?

cedar hinge
#

wait i will recheck it once

#

i will use the API but it not recommend the object to get the details

fallen ibex
#

that code makes no sense

#

I'm sorry but I don't understand how you took the answer I gave and wrote that code. This is nothing to do with PaymentSettings, that is entirely unrelated.

cedar hinge
#

what is the error in that code

fallen ibex
#

there's no error, but it doesn't get a PaymentMethod or anything like it.

cedar hinge
#

yes

fallen ibex
cedar hinge
#

ok how will i do that

#

can explain me plz

fallen ibex
#

I'm not sure what I can add to what I already explained to you.