#Hritik_9

1 messages · Page 1 of 1 (latest)

sweet sonnetBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

night halo
#

hello there!

honest kraken
#

I am trying to charge the amount that customer pays and want refund
but while creating charge i am getting error as
This Customer doesn't have any legacy saved payment details, but does have a Payment Method attached. Use a Payment Intent instead of creating a Charge:

night halo
#

do you have the requst ID req_xxx from the error?

honest kraken
#

No

night halo
#

can you get it please?

#

but overall it sounds like you are using /v1/charges to create a payment, which you should never do, that API is deprecated for several years.

honest kraken
#

Oh okayy

#

then how i can withdraw the paid amount from the stripe

night halo
#

not sure what that means, could you elaborate?

#

where do you want to move money from and where are you moving it to?