- lskjvbhAsked 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.
- victorAnswered on November 19, 2015 at 08:14 AM
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.
- lskjvbhAnswered on November 19, 2015 at 08:50 AMIt 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?
- CharlieAnswered on November 19, 2015 at 10:20 AM
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.