Contributions
PayflowPro FIX - For Milestone 1
This is a FIX for the PayflowPro contribution. I am not the developer of the original version and lay no claim to that code. However, that code was included to make for easier installation. I have simply included the needed functions (so that pfpro does not have to be compiled into php for use). I find this useful for individuals on shared boxes who cannot readily recompile php for payflow support. This was developed in a unix environment so I lay no claim to its ability to function under Windows.
Expand All / Collapse All
I went through a lot to figure out how to install payflow pro. The install file was ok, but now I think it is much better. Details how to make sure your path to the payflow files are exactly right.
This is a full package.
This is a fix for the security problem mentioned on the following forum post.
http://forums.oscommerce.com/lofiversion/index.php/t115335.html
If you are using PHP 4.3.7 or greater, this module will cause all of your order to be 100X greater than they actually are, due to a problem/feature in the number_format function. So if you user buys something that is $150.00 they will be charged $15,000.
This file is only a replacement of the payflowpro.php file that goes in /catalog/includes/modules/payment. Reference the thread at: http://forums.oscommerce.com/index.php?showtopic=79973&st=10&#entry386240 for more information.
The only update to this is inside the "install" file.
Added step 11: Make the file referenced in the "EXE" in step 10 as executable.
5/30/2004 1:04PM ### Wil Moore III - www.digitallysmooth.com
---===---===---===---===---===---===---===---===---===---===
Based on PayflowPro FIX - For Milestone 1
changed catalog/includes/functions/php_pfpro.php to respect
the PHP payflow functions if they exist.
Gets rid of this error message:
Fatal error: Cannot redeclare pfpro_process() in ...
Restructured the files within this package so that on a stock
OSC install, you can just copy the entire structure over and
not have to copy / paste into each directory one by one...
This should make it a very simple install process.
This version is ok to install whether you have the payflow
functions compiled into PHP or not...
---===---===---===---===---===---===---===---===---===---===
Fixed some bugs, in particular CSC vas not being passed correctly.
Added some features like remembering the card number after it was declined so one does not have to reenter everything if only one number was misspelled.
Note that this module works by calling the pfpro exectuable bot using the PHP payflow functions. This is good if you don't have those functions, it is bad if someone can use the ps command and see the parameteres you gave to the executable (passwords,etc). So make sure if using shared hosting that the ps command is not supported.
This is a FIX for the PayflowPro contribution. I am not the developer of the original version and lay no claim to that code. However, that code was included to make for easier installation. I have simply included the needed functions (so that pfpro does not have to be compiled into php for use). I find this useful for individuals on shared boxes who cannot readily recompile php for payflow support. This was developed in a unix environment so I lay no claim to its ability to function under Windows.
Note: Contributions are used at own risk.