The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
PayPal Integration Again!!! - 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: PayPal Integration Again!!! (/showthread.php?tid=875)



PayPal Integration Again!!! - filch - Oct 3rd, 2010

Hey Ben,

Hope you can help me with this.

I have been working on integrating a rather large form into PayPal. Now, this form has some form fields generated with jquery but should still work. The form set up fine in formtools. When I first started hooking it up to PayPal, it was fine and would pass the info back to the success.php file (taken from your tutorial). However, formtools was not receiving any of the form submission. I realized there was a path error to the ipn.php file. I fixed that and it did then try to submit to formtools. For some reason, out of nowhere, PayPal's interface changed. It was simply a flat page with the info on it. It suddenly went to a whole new interface with a summary box on the left and log in andpayment info on the right. Bottom line is that it no longer passed any form info back to success.php and while a new entry id was created in formtools, all the fields were empty.

I would appreciate your input on this as it must go live on Monday. I can also send you the location info.

Dave


RE: PayPal Integration Again!!! - filch - Oct 3rd, 2010

Ben,

Most of my issues came down to the fact that I was using two servers for this site. This is because ( and I had asked about this in a previous post ) the main site is on a Windows server, which really makes it much more difficult for formtools. So, I have used a second server to manage the forms and was splitting up some of the pages for this form over two servers i.e. the success.php and ipn.php pages were on the windows server. This caused some real path issues so I moved all of the related form files to the linux box and now, the ipn.php seems to be doing it's job and updating the formtools database.

However, one problem remains. No info is showing on the success page and I really do want it to. Better user experience and all that. Now, it was functioning until this new interface on Paypal started showing up instead of the old one so I am wondering if some of the $_POST variable names have changed. Any suggestions?

Dave


RE: PayPal Integration Again!!! - Ben - Oct 3rd, 2010

Hi Dave,

So the interface change - was that something on PayPal's end? I got an email from them recently saying that they had revised their taking payments pages, but I personally haven't seen any changes yet.

For the success page, could you just add this to find out what information is being posted back?

PHP Code:
<?php
print_r
($_POST);
?>

That would let you see for sure.

- Ben


RE: PayPal Integration Again!!! - filch - Oct 3rd, 2010

Ben,

I will try this in a bit and get back to you.

Dave

(Oct 3rd, 2010, 8:57 AM)Ben Wrote: Hi Dave,

So the interface change - was that something on PayPal's end? I got an email from them recently saying that they had revised their taking payments pages, but I personally haven't seen any changes yet.

For the success page, could you just add this to find out what information is being posted back?

PHP Code:
<?php
print_r
($_POST);
?>

That would let you see for sure.

- Ben