Commit Graph

87 Commits

Author SHA1 Message Date
Rich Morgan cc63905509 Update for invalid input stream from IPN post #74
* Performs check to ensure the file_get_contents() function is not disabled and attempts to enable.
* Prior to PHP 5.6, php://input couldn't be reliably re-read.  This patch reads it once and works with that data via the raw_post_data variable.
* https://github.com/bitpay/magento-plugin/issues/74
2014-11-18 18:16:17 -05:00
Joshua Estes 482027cde1 Version bump and rebuild since Magento Connect somehow wasn't giving the correct package when using the extension key given 2014-10-16 14:26:51 -04:00
Joshua Estes 8371f89125 Refactored and updated plugin to work with update API and to be able to
be packaged and distributed using more than just GitHub

Added a script to delete old extension, installing the new extension overrides the previous extension and the previous extensions does not function anymore, merchants should at least disable the previous plugin, the merchant will also need to also remove the extension from core_resource table

Updated to encrypt/decrypt keys to and from the database

Small bug fixes with the package script

Added instructions on how a previous merchant can upgrade to the new 2.x one
2014-10-14 10:37:19 -04:00
Vova Yatsyuk d01db1bb7e Third-party checkout extensions compatibility
Onepage checkout extensions may render review section when payment are not 
selected/available. In this case `$payment->getMethodInstance()` will throw an 
exception when `$payment->getMethod()` is empty.
2014-10-14 10:49:37 +03:00
Joshua Estes 6a4d367be0 Small update for merchants that are using custom extensions that may not have had a shipping address set 2014-08-06 11:59:12 -04:00
Joshua Estes 4260fbf437 Small update with so code is checking newest IPN first 2014-07-24 14:25:55 -04:00
Joshua Estes c3585bdb53 Small fix to code where log message was not correct 2014-07-24 14:18:04 -04:00
Joshua Estes 66c714d474 Small copy edit 2014-07-23 16:40:53 -04:00
Joshua Estes 766866066e Added a few tests for new code 2014-07-23 16:38:51 -04:00
Joshua Estes ff0801199b A little refactoring 2014-07-23 13:25:41 -04:00
Joshua Estes 80c8eebe98 Made a few updates and made it so code would not be duplicated 2014-07-23 13:11:47 -04:00
Joshua Estes 8a46046553 Updated the config.xml to remove the debug cronjob schedule 2014-07-23 12:18:33 -04:00
Joshua Estes 952827f255 Updated so there is a command line task that can be used to cancel magento orders that have expired IPNs 2014-07-23 12:07:32 -04:00
Joshua Estes f4ddb824a4 cleaned up those pesky characters 2014-07-23 11:16:12 -04:00
Joshua Estes ea8e340a53 Merge conflict resolved 2014-07-23 11:12:54 -04:00
Joshua Estes 6826b12f84 Still work in progress 2014-07-22 16:41:28 -04:00
Joshua Estes 16731c0509 Converted tabs to spaces and removed extra spaces at end of lines 2014-07-22 11:49:04 -04:00
Joshua Estes 832441a04d Refactored and tests added 2014-07-21 13:23:16 -04:00
Joshua Estes 3231c844a5 Added some more logging for debugging issues 2014-07-18 10:54:43 -04:00
Joshua Estes 2c2a779ec6 Centralized where the bitpay.log file is set 2014-07-18 10:42:57 -04:00
Joshua Estes f465499c8f Fixes some of the issues where debugging code was pushed up 2014-07-08 15:04:52 -04:00
Joshua Estes afc19301b3 This should fix the few issues that are left 2014-07-08 15:00:35 -04:00
Joshua Estes d5e583a78e More small mistakes found 2014-07-08 14:17:43 -04:00
Joshua Estes 814e379b13 Surprised I missed that 2014-07-08 14:12:27 -04:00
Joshua Estes 6d74126db3 Merge remote-tracking branch 'upstream/master'
* upstream/master:
  Updated spelling as this was causing a 500 error
2014-07-08 13:03:24 -04:00
Joshua Estes a2e7e2845e A little more refactoring making the code easier to manage. 2014-07-08 12:37:03 -04:00
Joshua Estes 6a03f95b68 Updated so that it will only flow into the control statement if there is a balance due, there was a complete IPN which means that the order has completed and paid for in the Bitpay system 2014-07-08 12:36:09 -04:00
Joshua Estes 3517894c88 Refacotred the code to make it easier to debug and troubleshoot 2014-07-08 12:04:14 -04:00
Joshua Estes 63030f65c1 Updated some comments 2014-07-08 12:03:38 -04:00
Joshua Estes 5116aa345a Added a few comments and updated some spelling issues 2014-07-08 11:41:20 -04:00
Joshua Estes 5878376e8f Updated spelling as this was causing a 500 error 2014-07-07 11:17:11 -04:00
Joshua Estes 56241403f2 Added license to all files 2014-07-07 10:21:17 -04:00
Joshua Estes d28d32caf9 A few more things I missed the first go around 2014-07-02 13:26:35 -04:00
Joshua Estes f3c309c696 Updated a few things that I didn't notice the first pass 2014-07-02 13:18:03 -04:00
Joshua Estes cf391ba630 Working on some code clean up, this is the first iteration and just includes code formatting 2014-07-02 13:15:41 -04:00
Joshua Estes 1d3cc1c1b4 This might take care of the issue of double paying 2014-07-01 17:01:18 -04:00
Joshua Estes 0a4fd03d69 Updated the log levels for some of the bitpay.log file 2014-07-01 11:19:50 -04:00
Joshua Estes 9688f94437 Small bug fix where it was complaining that was not defined and added a comment on where this error is displayed 2014-06-30 15:23:29 -04:00
Rich Morgan 89136ebb0a Added duplicate paid/confirmed/complete checks
Also added extra error handling
2014-06-24 23:42:05 -04:00
Rich Morgan 1667dfde1a Added duplicate paid/confirmed/complete checks
Also added logging in case of duplicate IPNs to inform the merchant in the event they needed to capture that information.
2014-06-24 23:32:07 -04:00
Rich Morgan e727371880 Updated logo in admin panel 2014-05-19 14:53:11 -04:00
Rich Morgan 6f06424c2b Removed extra error handler calls 2014-05-16 01:29:33 -04:00
Rich Morgan 6d90c9784c Removed extra error handler calls 2014-05-16 01:27:49 -04:00
Rich Morgan 58e1854a5d Removed extra error handler calls 2014-05-16 01:23:40 -04:00
Rich Morgan 85e41b5b96 Formatting, help comments and new IPN complete opt
- Added new user-configurable IPN complete handling option for those merchants wishing to set an order as complete automatically and still provides for existing merchants who need the order to remain in a processing state
- Improved overall look of the plugin control panel by adding logo & link to our site
- Added helpful comments for Transaction Speed and new IPN complete option handling
- Formatted XML to standardized spacing with the other plugin files
2014-03-27 14:26:44 -04:00
Rich Morgan 1c7b970b88 Cleaned code and added order complete admin opt
- Added missing function scope for code cleanliness & form
- Added support for new admin option for marking an order complete when complete IPN received
2014-03-27 14:20:01 -04:00
Rich Morgan ec453baf1a Fix for multiple new order emails bug 2014-03-21 11:41:03 -04:00
Rich Morgan 5e498edf43 Add call to send email & bool option for shipment
This change explicitly calls sendNewOrderEmail() to notify customers when their payment is completed.  Also, added new boolean parameter to give the merchant the option to turn on programmatic shipment creation instead of just commenting this out completely.
2014-03-18 11:10:45 -04:00
Rich Morgan 0420a11299 Fixed shipment order locking issue 2014-03-17 11:32:05 -04:00
Rich Morgan 6692a73107 Fix for order not marked complete issue 2014-03-13 16:16:09 -04:00