Paymattic - form_payment_success Hook Returns Pending Status for Successful Stripe Payments
I'm encountering an issue with the wppayform/form_payment_success hook after updating the Paymattic plugin beyond version 4.4.2.
Issue Details:
When using a normal Stripe test card (e.g., 4242 4242 4242 4242), the $submission->payment_status returns pending, even though the payment is successfully completed.
However, when using a 3D Secure test card (e.g., 4000 0000 0000 3220), the $submission->payment_status correctly returns paid.
This issue did not exist in version 4.4.2, where both card types returned paid as expected.
I have tested this again using the latest plugin version 4.6.12, and the issue still persists.
It appears that in the newer versions, the form_payment_success hook is being triggered before the payment status is fully updated for non-3D Secure payments.
Could you please confirm if this behavior is intentional? If so, what is the recommended hook or method to reliably detect successful payments across all card types in the current version?
Hi Dhana kumaranΒ , please submit a support ticket from here: https://wpmanageninja.com/support-tickets/
Our support agents will contact you and provide you with a quick solution.