#Koa-retrieve-pi-connected-account

1 messages · Page 1 of 1 (latest)

sterile forum
hazy storm
#

still error

sterile forum
#

Can you paste the request ID in the error screenshot please? req_xxx

hazy storm
#

com.stripe.exception.InvalidRequestException: No such payment_intent: 'pi_3K552HQkFg8PiFA61XvekcsV'; code: resource_missing; request-id: req_QvXFssSOVUtoXj

sterile forum
#

Taking a look

#

Are you still having problems?

hazy storm
#

yes

sterile forum
#

Aha, I just noticed that you're also calling to cancel the Payment Intent

#

You'll need to pass the stripeAccount parameter there, too

hazy storm
#

ooooo

#

okay

#

it worked but can I ask this thing now

sterile forum
#

Can you share the request ID again please?

hazy storm
#

com.stripe.exception.InvalidRequestException: You cannot perform this action on PaymentIntents created by Checkout. (Hint: The feature you are trying to use is deprecated.); request-id: req_wfkWoppaKZHTZk

sterile forum
#

Are you trying to refund?

hazy storm
#

no im trying to cancel

sterile forum
#

Well you can't cancel that Payment Intent as it's been processed. You can only cancel a PI that has been authorised

hazy storm
#

how can I provide info that transaction needs to be confirmed or something like that?

sterile forum
#

A PaymentIntent can only be canceled when it has one of the following statuses: requires_payment_method, requires_capture, requires_confirmation, or requires_action—a PaymentIntent can’t be canceled while it’s actively processing or after it has succeeded.

hazy storm
sterile forum
hazy storm
#

but i need form too

#

for direct charges

sterile forum
hazy storm
#

That's it

#

greate

sterile forum
#

But this is for auth and capture, which may not be suitable for your business:

Place a hold on a card to reserve funds now, but capture them only after you complete a service. For example, a hotel may authorize a payment in full prior to a guest’s arrival, then move the money when the guest checks out.

When a payment is authorized, the bank guarantees the amount and holds it on the customer’s card for up to 7 days, or 2 days for in-person payments using Terminal.

Failure to capture the payment by this time cancels the authorization and releases the funds. When this happens, the PaymentIntent status transitions to canceled.

hazy storm
#

you are great support, thanks

sterile forum
#

Sure, np!