• Resolved tbo460

    (@thibotus01)


    Hi,

    One customer paid a manual created order. We didn’t receive a notification and in Woocommerce it’s still “Pending payment” status.

    We checked in Stripe dashboard, the payment is there waiting to be captured.

    I also checked in Webhooks sent and it has been sent correctly: https://gyazo.com/d515bbe8d3a0dec24eace00d37e727ab

    What’s going on?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi,

    What’s going on?

    I need more information in order to try and answer that question.

    • What payment method was this for?
    • A charge.succeeded webhook event would not be sent for a payment that’s awaiting capture. Can you please clarify?
    • What do the order notes say on the order details page?

    Kind Regards,

    Thread Starter tbo460

    (@thibotus01)

    It was credit card.

    Upon checking further customer did 2 payments because first one didn’t work properly (page just reloaded) but authroization was made in Stripe dashboard.

    For this first payment the error returned in stripe dashboard was: “

    “message”: “You cannot provide a new payment method to a PaymentIntent when it has a status of requires_capture. You should either capture the remaining funds, or cancel this PaymentIntent and try again with a new PaymentIntent.”
    “type”: “invalid_request_error””

    Customer sent us an email and that’s where we saw the 2 payments but not reflecting in Woocommerce. I checked the meta fields of the order and the first payment ID was showing, but it was not visible in the order notes or on top of the page.

    I ended up refunded the first payment which was then reflecting in Woocommerce order, and capture the second one manually.

    Thread Starter tbo460

    (@thibotus01)

    Also you can see: “An uncaptured payment for….” triggered a charge.suceed event

    https://gyazo.com/9f6cbe7058eae0cfb0e6f2866a8a0ff2

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @thibotus01

    Also you can see: “An uncaptured payment for….” triggered a?charge.suceed?event

    Stripe doesn’t trigger the charge.succeeded webhook until the payment succeeds.

    https://docs.stripe.com/api/events/types#event_types-charge.succeeded

    I’d recommend checking your WooCommerce > Status > Logs page and seeing if there is a fatal-errors log file.

    Kind Regars

    Thread Starter tbo460

    (@thibotus01)

    Not seeing anything in logs. I believe this was a one time off bug. I’ll monitor. Thank you for your quick replies.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Payment made but not updated in Woocommerce’ is closed to new replies.