The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
|
Emails sent, form entered in dB, even though transaction cancelled - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Emails sent, form entered in dB, even though transaction cancelled (/showthread.php?tid=900) |
Emails sent, form entered in dB, even though transaction cancelled - filch - Oct 27th, 2010 Ben, Have just completed a Paypal form and am seeing some oddities. First, the form has a drop down menu that has three options. However, even though I may choose option two or three in the form, in the database, it is always the first option that is selected. However, the emails that are sent out are correct?? Second, even though a transaction may be canceled, it still gets entered into the database. This should not happen ... should it? Dave RE: Emails sent, form entered in dB, even though transaction cancelled - Ben - Oct 28th, 2010 Hey Dave, How's it going? Quote:First, the form has a drop down menu that has three options. However, even though I may choose option two or three in the form, in the database, it is always the first option that is selected Hmm... sounds like maybe the values in the dropdown don't make the values in the Field Option Group for the field... Maybe double check that first (let me know if you need some pointers on this - it's not the most intuitive thing in the world!). Quote:Second, even though a transaction may be canceled, it still gets entered into the database. This should not happen ... should it? That depends. When using the API, all submissions will get added to the database, but only those that get marked as "finalized" will actually appear in the Form Tools user interface. Do you see them all in the UI? If so, look over the PHP for your form pages and check that you're not passing the: "finalize" => true parameter to the ft_api_process_form() function anywhere. For PayPal forms, the only time a submission is finalized is in the ipn.php file. Hope this helps a bit - Ben RE: Emails sent, form entered in dB, even though transaction cancelled - filch - Oct 28th, 2010 (Oct 28th, 2010, 5:29 PM)Ben Wrote: Hey Dave, Humm .. I think that is it as I have the following in my form at the top: Code: <?php So you are saying, because this is a Paypal form, the " "finalize" => true" should be deleted ... correct? Does it say this anywhere in the tutorial and I am just blind and did not see it? As far as the other item, are you referring to view options/groups? Dave |