Integrate payment button with form

Hello i want to integrate following payment button html in form when someone clicks submit it should redirect them to payment button and then after payment button they should get the "Thank you your form has been successfully submitted.
Payment button code:

Website id: 834511

Is it possible to do?

Hey there,

That is probably not possible with our contact forms. I would actually recommend a third party tool that allows this. Maybe the payment provider you are using does have such a feature?