I've setup a product and a form where the product is linked (went trough all steps) but when i submit the form nothing happens.
The form creates a CPT that needs to be paid for to post, but the cpt just gets posted without any sign of the product page or payment or checkout.
I've tested these woocommerce pages separately and everything works.
I see you set the following form to buy the specific product:
=> hidden link
With above form, I see you set the post status to publish, but actually you should try to set post status to either draft or pending review instead of publish and when user will successfully make the payment the post status will be switched to published - right?
For now, I've set the post status to pending review, you may want to also change it to draft:
=> hidden link
Do you see now when you make the successful payment, the post status switches to published and works as expected?