I want to create a form on my page to get information this is easily done and the problem.
I want to 'POST' information to my own php-page, creating a new id and saving the information to my database. And then this page should redirect to the external page via 'POST' with id, price and so on.
The external page is a page to pay, so the customer should get this external site and should be able to use it like a normal page(maybe target="_blank").
Customer provides information such as item to buy, purchase amount, shipping address etc.
Information will be saved into the database and will need to generate a new customer id.
Page redirects to external payment page, sending id, price, payment information via 'POST'.
My problem is, how to redirect to the external page but sending custom information via 'POST'.