Is it possible to construct a form using php, fill in the values, and then send it, along with the user, to the form, so that the user doesn't have to actually submit the form?
What I'm trying to do is streamline a paypal implementation on a site that offers classified ads. The user enters the ad, clicks a radio with the subscription length for the ad, and then submits the form. The PHP page receives the form, inserts the data into the database, and then [what i'm trying to figure out how to do] forwards the user to the paypal page so they can pay for their subscription.
This is commonly done by presenting a form with the paypal button, when the user clicks it, it submits the form to paypal. I'm trying to remove this step, to just forward the user to the paypal site, and making php submit the form.
this way the user doesn't get the opportunity to forget to click on the paypal button. I tried doing a header:location and filling in the form in a GET, but paypal wouldn't accept it.
Any suggestions?
Thanks!
Frizzo 😕