Is there a way to track a form submission without the form component on the page?

Is there a way to track a form submission without the form component on the page?

I have a website where users fill in their information and when the user submits,
it triggers the form submission action for Matomo. So far, the “submit” has been tracked with the following code:

_paq.push(['FormAnalytics::trackFormSubmit', document.getElementById('formId')]);

But from now on, when the submit button is clicked, user information is sent to temporary storage on the backend and the user is redirected to a payment page. If and only if the payment is approved, I’d like to trigger a form submission action for Matomo however I don’t have the form component on the payment page. How could I trigger the submit form action from a page where the form is not present?

Thanks!