JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Why is the Purchase Order not sending POST messagesAsked by ergunersan on June 08, 2015 at 10:31 AM
We are trying to implement a local payment method and in order to do so, we created a test blank form, included a Purchase Order, created 2 test products with test prices, set the form to send the POST information in the Advance tab of the form options. We also set the Custom URL Thank You page to redirect to one to our page which will make the connection to the local payment method. Then we embedded the form in another page via iframe.
However, after we tested, no POST information was sent in the URL, the only thing we get is http://ad-ssl.com/istanbultouristpasssanalpos/ which is exactly as we set it in the Custom URL Thank You page settings.
We also tried with a form using PayPal and we didn't get any POST information in the URL.
What's wrong or missing?
This is because there's not specific PHP script in this address http://ad-ssl.com/istanbultouristpasssanalpos/. Have you tried following this guide: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page. You'll need to create a PHP script page where you will need to fetch the data from the source link.
To get the data from your purchase Order details, you'll need to get the field name of the form. You need to inspect the page source when viewing the form.
You can try using Webhook instead if you're having problems on getting the field names, here's a guide on that: http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm. And here's an example that you can refer: http://www.jotform.com/help/248-Webhook-Samples.
Regarding using Paypal, please take note that your form will be redirected to a Paypal payment gateway to have a secure transaction. To learn more about the available payment integration that we have, please check this guide: http://www.jotform.com/help/323-Mastering-Payment-Form-Integrations-with-JotForm. The reason why we suggest that you use our payment integration is that we do not allow creating plain form fields that collects sensitive information, like log in credentials, bank details and credit card information. The forms created here does not capture or store these kind of information, we do not process payments that is why we have integrations.
If you need to ask payment from your users, what I can recommend is redirect them to a payment gateway after clicking submit.
I hope that helps.
we own the data according to your response to the previous question, we moved to our payment page. After you make the payment to us from our own web site took the place of payment, and we'll pass on it or mean it didn't happen.
I'm sorry, but I'm unable to understand fully the last reply that you have. As I've mentioned earlier, we do not process payments, we have payment processors integrated with our system, information is just being passed directly to them. Example of this is the Paypal API document here: https://developer.paypal.com/docs/classic/products/.
For the Purchase Order field, it just gives you a way to display your product listing in a more organized way, but it does not collect or process payments.