Hi @shubham1129,
Thank you for reaching out! I’ve detailed the exact workflow for you below.
The Submission Workflow
Priority 1: wpforms_stripe_process_complete Think of this as the “Payment Validation” stage. This hook fires the moment Stripe confirms the credit card transaction was successful. Because this happens before the entry is fully committed to your WordPress database, it is the ideal place to handle transaction-specific details.
- Best for: Adding custom metadata to a Stripe charge.
- Source File:
/wp-content/plugins/wpforms-lite/src/Integrations/Stripe/Process.php
Priority 2: wpforms_process_complete This is the “Final Completion” stage. It fires at the very end of the entire form submission process. By this point, the entry has been saved, an Entry ID has been generated, and all payment data is finalized.
- Best for: Actions that depend on the existence of an Entry ID, such as registering a new user.
- Source File:
wp-content/plugins/wpforms-lite/includes/class-process.php
Documentation Links
Knowing this order should help you place your customizations exactly where they need to be.
Let me know if you need any more help with WPForms Lite.
Hi @shubham1129,
We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
Hello @rsouzaam ,
Okay, This will help me regarding my development and customisation. Thank you for detailed explanation of workflow and process.
Hi @shubham1129,
You’re very welcome!
It looks like you’ve marked this post as resolved. If you’d like more help with using WPForms Lite, please feel free to reach out.
Thanks!