#Sinduri-payment-intent

1 messages · Page 1 of 1 (latest)

signal trail
#

👋 Happy to help

#

No, it depends. Charges object is only present if the payment method is completed (failed or successful)

barren jewel
#

Can you mention which intent status among the below contain the charge object
requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded

signal trail
#

Could you share the use case of looking at Charge object?

barren jewel
#

We are integrating multiple payment methods to show at Stripe checkout in our WooCommerce plugin https://stripe.com/docs/payments/dashboard-payment-methods.

So we need to update the WooCommerce order status based on the charge object parameters such as paid, capture. That's why we ensuring the charge object present or not based on various payment intent status

half stump
#

there could be a charge in any of those statuses

#

That's why we ensuring the charge object present or not based on various payment intent status
that's wrong

#

just look at the status field of the PaymentIntent. succeeded or requires_capture mean the customer was charged

barren jewel
#

what about the status processing?

half stump