You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We must only attempt to create and confirm an intent for orders with a pending/failed status.
We could check that $order->needs_payment() before processing a payment for this.
There could also be other variables to consider for preventing this behavior, like webhooks processing a payment or changing the order status, or caching that doesn't reflect the actual status of the order.
Acceptance criteria
Spike: Identify the scenarios where we may mistakenly process a payment.
Provide fixes for them, or create separate issues if it's more convenient for handling each scenario.
We have a logic around this in verify_intent_after_checkout() for the legacy PE integration. It may or may not be relevant when using a deferred intent.
Hi,
This issue has gone 150 days (5 months) without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest version, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.
Problem
We must only attempt to create and confirm an intent for orders with a pending/failed status.
We could check that
$order->needs_payment()
before processing a payment for this.There could also be other variables to consider for preventing this behavior, like webhooks processing a payment or changing the order status, or caching that doesn't reflect the actual status of the order.
Acceptance criteria
Context
The text was updated successfully, but these errors were encountered: