No bug Orders remain as Pending Orders

  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 maand 2 dagen geleden #3388 door Dmitrijs Rekuns
Orders remain as Pending Orders werd gestart door Dmitrijs Rekuns
Hello!

I am testing the update from version 3.10.0 with Stripe 1.5.4 to version 5.2.3 with Stripe 5.0.5. The issue I have is that orders remain as pending. In Stripe dashboard I see that webhooks are delivered successfully. I enabled advanced logging and see this message in the log for every order - Stripe transaction has been processed already.

Here is the full example from the log:
Code:
2026-03-30T19:13:59+00:00    INFO    212.142.83.20    stripe    getProviderOrderParameters: {"line_items":[{"price_data":{"unit_amount":6044,"currency":"eur","product_data":{"name":"Order # 2600070959","description":"Klarna Payments HPP for Phoca Cart"}},"quantity":1}],"client_reference_id":"2600070959","mode":"payment","success_url":"https:\/\/dev2.somesite.com\/checkout\/payment?task=payment.response&processor=stripe&order=908111099325c1134de4248bdc2301f6","cancel_url":"https:\/\/dev2.somesite.com\/checkout\/payment?task=payment.cancel&processor=stripe&order=908111099325c1134de4248bdc2301f6","metadata":{"order_code":"2600070959"}} 2026-03-30T19:13:59+00:00    INFO    212.142.83.20    stripe    getPaymentProviderOrderInfo: Customer set with id > cus_UFFSEU4eIIrLvh 2026-03-30T19:13:59+00:00    INFO    212.142.83.20    stripe    getPaymentProviderOrderInfo: {"redirect_url":"https:\/\/checkout.stripe.com\/c\/pay\/cs_test_a1GODO292DyWezJsA3Z3HgnsWibMtTiJDScLwqzUxwPf4kQ0oxyLCpkmrO#fidnandhYHdWcXxpYCc%2FJ2FgY2RwaXEnKSdkdWxOYHwnPyd1blpxYHZxWnZUYVVKMzV1cnZuZktJTHY9VXJJVUBgNCcpJ2N3amhWYHdzYHcnP3F3cGApJ2dkZm5id2pwa2FGamlqdyc%2FJyZjY2NjY2MnKSdpZHxqcHFRfHVgJz8ndmxrYmlgWmxxYGgnKSdga2RnaWBVaWRmYG1qaWFgd3YnP3F3cGB4JSUl","transaction_id":"cs_test_a1GODO292DyWezJsA3Z3HgnsWibMtTiJDScLwqzUxwPf4kQ0oxyLCpkmrO"} 2026-03-30T19:14:20+00:00    INFO    3.18.12.63    stripe    Received WebHook Message from Stripe. 2026-03-30T19:14:20+00:00    INFO    3.18.12.63    stripe    Response: {"option":"com_ochsubscriptions","task":"payment.webhook","processor":"stripe"} 2026-03-30T19:14:20+00:00    INFO    3.18.12.63    stripe    Payment: {"id":"evt_3TGlGQKnqV0ZissC0DWKg55v","object":"event","api_version":"2026-03-25.dahlia","created":1774898059,"data":{"object":{"id":"pi_3TGlGQKnqV0ZissC0PVsbBGA","object":"payment_intent","amount":6044,"amount_capturable":0,"amount_details":{"shipping":{"amount":0,"from_postal_code":null,"to_postal_code":null},"tax":{"total_tax_amount":0},"tip":},"amount_received":6044,"application":null,"application_fee_amount":null,"automatic_payment_methods":null,"canceled_at":null,"cancellation_reason":null,"capture_method":"automatic_async","client_secret":"pi_3TGlGQKnqV0ZissC0PVsbBGA_secret_qxPBDdPCwBubLDpFDjpzwrT6m","confirmation_method":"automatic","created":1774898058,"currency":"eur","customer":"cus_UFFSEU4eIIrLvh","customer_account":null,"description":null,"excluded_payment_method_types":null,"last_payment_error":null,"latest_charge":"ch_3TGlGQKnqV0ZissC0tfveqtm","livemode":false,"metadata":,"next_action":null,"on_behalf_of":null,"payment_details":{"customer_reference":null,"order_reference":"cs_test_a1GODO292DyWezJsA3Z3HgnsWibMtTiJDScLwqzUxwPf4kQ0oxyLCpkmrO"},"payment_method":"pm_1TGlGPKnqV0ZissCmja94Oho","payment_method_configuration_details":null,"payment_method_options":{"card":{"installments":null,"mandate_options":null,"network":null,"request_three_d_secure":"automatic"}},"payment_method_types":["card"],"processing":null,"receipt_email":null,"review":null,"setup_future_usage":null,"shipping":null,"source":null,"statement_descriptor":null,"statement_descriptor_suffix":null,"status":"succeeded","transfer_data":null,"transfer_group":null}},"livemode":false,"pending_webhooks":7,"request":{"id":null,"idempotency_key":"9d528ba8-b203-4952-9dac-e08dcc500912"},"type":"payment_intent.succeeded"} 2026-03-30T19:14:20+00:00    WARNING    3.18.12.63    stripe    Stripe transaction has been processed already.


Kind regards,
Dmitrijs
Discussie gesloten.
Lees meer
1 maand 2 dagen geleden #3389 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Orders remain as Pending Orders
Hi Dmitrijs,

a lot has changed between these versions, especially on the Stripe side itself.
Did you create the 6 (!) webhooks in Stripe (previously it was only 4)

onlinecommunityhub.nl/documentation/ochs...ptions#stripe-plugin
Discussie gesloten.
  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 maand 2 dagen geleden #3390 door Dmitrijs Rekuns
Beantwoord door Dmitrijs Rekuns in topic Orders remain as Pending Orders
Hm, only 4 ☺️ What are 2 more what I need to add?
Discussie gesloten.
  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 maand 2 dagen geleden #3391 door Dmitrijs Rekuns
Beantwoord door Dmitrijs Rekuns in topic Orders remain as Pending Orders
Sorry, I see in the docs! Let me test once again 😀
Discussie gesloten.
Lees meer
1 maand 2 dagen geleden #3392 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Orders remain as Pending Orders
from documentation link in previous post:
Events to send (6) :

payment_intent.succeeded
payment_intent.canceled
checkout.session.async_payment_succeeded
checkout.session.async_payment_failed
checkout.session.expired
checkout.session.completed
Discussie gesloten.
  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 maand 3 dagen geleden #3393 door Dmitrijs Rekuns
Beantwoord door Dmitrijs Rekuns in topic Orders remain as Pending Orders
Now it works! Thank you for your help.
Discussie gesloten.
Lees meer
1 maand 3 dagen geleden #3394 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Orders remain as Pending Orders
Thanks for reporting back and good to hear that it works with the correct configuration setting in Stripe.

closing this topic, if you run into another question feel free to open a new topic.
regards,
Ruud.
Discussie gesloten.