What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
API question: How to get info if payment is incomplete or complete for forms/submitions in API?Asked by lskjvbh on November 19, 2015 at 05:14 AMI have integrated your PayPal payment tool on my JotForm. After the form substitution there is a notification icon "Incomplete payments" that shows if there are any incomplete payments (see screenshot).So my question is. How do you get this info? How may I get this flag (paid or unpaid) using your API? For example, when I do a GET request to "/user/submissions" as far as I can see there are currently no any properties in the response that indicate it, see a response for this endpoint "http://api.jotform.com/docs/#user-submissions". Or do you provide some special means to get it? Please explain that. How to get "paid/not paid" info in your API and how to filter requests by this parameter.
Paid submissions should have Payer Info and Payer Address under the "My Products" section. That's how you would know which ones are paid. After skimming through your form registrations though, I found out that there were no successful payments made through your form.
Please let us know if this helps.
It was a fake form.Now let's make it clear. Here is a real response from a real form submission, check out this link for a screenshot http://take.ms/gBRYf.First of all, "type: control_paypal" means PayPal tool. Ok. Second. It has "transactionid" key. Question: can I consider this key as a proof of payment? If yes, how do you suggest me to filter all paid submissions while making requests?
I tried it in my end using a sandbox account.
The transaction key shown in the API call is the same transaction key provided by Paypal to the merchant.
In my sandbox account, as the merchant, I was provided with the transaction key. It's the same one provided in the API call.
For incomplete payments that were completed, they won't have a transaction key when you call them using API. The only way to check if the user made a payment is to get the details and cross match it in your Paypal account's transaction history.
For additional concerns about API, we have a dedicated team that you can directly contact, please send them an email in this address email@example.com.