Commit Graph

200 Commits

Author SHA1 Message Date
Pieter Poorthuis f43c3bac6c Simplified plugin configuration, improved error messages 2018-03-19 14:55:39 +01:00
Pieter Poorthuis daf46c7a5f Update for v2.1.18 2018-03-16 12:39:19 +01:00
Damian Bzdon d2351ea220 iframre redirect 2018-03-15 14:17:44 +01:00
Damian Bzdon f3f82944b8 issue 126 - Magento marketplace compatibility 2018-03-14 09:58:20 +01:00
Damian Bzdon 849890d660 configuration page 2018-03-13 11:34:30 +01:00
Damian Bzdon 76b82f8c7f expired invoice - wrong redirect 2018-03-13 11:32:10 +01:00
Damian Bzdon 23db274908 failure page configurations 2018-03-13 11:31:29 +01:00
Damian Bzdon c97216582a failure page configurations 2018-03-13 11:31:22 +01:00
Damian Bzdon ed00d715d8 add api key 2018-03-12 14:24:08 +01:00
Damian Bzdon 18c6f7b300 checkForRequest - this function is not used anywhere 2018-03-12 14:23:52 +01:00
Rafał Drożdżal 673bc5ad5f Non-debug logging fix 2018-03-08 10:46:25 +01:00
Rafał Drożdżal 33928948eb display "Invoice price must be at least" error 2018-03-07 12:16:14 +01:00
Rafał Drożdżal 51ee0cda2c Added missing methods in the Magento version below 1.9: _isSameCurrency, getStatusStatuses, addStatusfilter. 2018-02-26 11:47:26 +01:00
Rafał Drożdżal 2f9b734a46 IPN creates after payment a second invoice in database instead of update invoice 2018-02-22 13:58:24 +01:00
Gopinath 592fd53cc3 Order status issue 2017-01-24 17:37:58 +05:30
P.H. Poorthuis 957c84e171 Switched from user currency to magento shop currency to prevent fraud messages 2016-12-12 14:09:20 +01:00
Chris Kleeschulte 4dfa531842 Added check for orderId. 2016-09-07 17:55:12 -04:00
Chris Kleeschulte d6f71f8cc9 Removed unneeded comment. 2016-09-07 10:34:03 -04:00
Chris Kleeschulte 9c1ed7fdbe Unified order creation to the same place as redirected check out.
- Redirected check out and iframe checkout share the same order creation logic.
- The order will be created during saveOrder call to backend. 
- The difference between the two will be injection of client-side javascript during payment type selection. 
	- if BitPay/Bitcoin, client-side JS will be inserted into page to swap the out the next step after order save is complete
	- in all cases, Magento will create the invoice and pass the client a redirect_url
	- the iframe invoice will receive the redirect url and build an iframe with the src being the bitpay url. 
	- the redirected check out will not have any new client side JS, so the next step will be to redirect from Magento.
2016-09-06 18:07:17 -04:00
Chris Kleeschulte d0a5152770 Iframe invoice will create order
- For merchants using an iframe BitPay invoice (set "Redirect Checkout"
  to "No")
  - Before this change:
    - When a user confirms the payment method, the BitPay invoice will
      be displayed and the Magento order will not yet be created.
    - The Magento order is only created if the user pays the invoice,
      leaves the checkout browser window open, and BitPay is able to see
the user's transaction and send the IPN successfully to the Magento
server.
    - The problem is when the customer sends a bitcoin transaction, but
      their transaction isn't relayed because the fee is too low or the
network is under high load.
    - Under this condition, the customer has paid, yet they have no
      order with the merchant. The merchant has a hard time serving
their customer under these conditions.
  After this change:
    - When the user confirms their payment method, the BitPay invoice
      will NOT be displayed until the user clicks "Place Order".
    - This will guarantee that an order is created BEFORE the customer
      is able to pay the BitPay invoice.
    - This will allow the merchant to self-serve their customer by being
      able to find their customer in their dashboard and issue a refund
or apply the transaction.
2016-07-09 17:52:46 -04:00
Chris Kleeschulte e7811a71c5 Repaired redirected checkout BitPay invoice amount calculation
- If shopping cart user's currency is not the same as the Magento configured base currency and the type of BitPay invoice is a redirected checkout (non iFrame), then the $amount (invoice amount) passed to Bitcoin.php authorize() will be in the base currency and not the user's currency. A BitPay invoice is then created based on the user's currency and the amount, which is wrong.

- The Bitcoin.php authorize function now recomputes the amount in the event that the amount is not correct.


- Updated the README and GUIDE to show latest Magento version checked.
2016-05-27 16:02:48 -04:00
spofa 75184d74c2 add getLogeFile function
add getLogeFile function
2016-03-08 22:42:16 +08:00
Sam Bohler a70999249d Fixes #98: Pulls currency code from instead of 2015-08-26 15:04:38 -04:00
Sam Bohler 55d3f0fbe5 Versioning for 2.1.9 2015-07-16 06:13:34 -04:00
James Hawkins 1d12be67e9 Cleaning up error checking
First checking for a valid order, then checking for a valid order id
2015-07-14 09:18:19 -05:00
James Hawkins 84e7977238 Storing object in variable 2015-07-14 09:06:13 -05:00
James Hawkins 12ca4c371f Storing objects in variables
Moving to null and empty string checks
2015-07-14 09:04:39 -05:00
James Hawkins 09696e9049 Update IpnController.php
Fixing additional php 5.4 error
2015-07-13 16:27:30 -05:00
James Hawkins cc72b71545 Creating is_empty function
PHP 5.4 does not allow objects in the empty() function.
2015-07-13 10:34:25 -05:00
System Administrator d649fdd7ca Versioning for 2.1.8 2015-07-08 14:47:35 -04:00
Alex Leitner 14fb6302c0 Fixes #90: Direct Checkout now an option BitPay magento plugin 2015-07-08 14:25:50 -04:00
Alex Leitner a25d5320ba Fixes #81: Customer info now logged for invoice 2015-06-29 13:41:33 -04:00
Sam Bohler f2a6b69314 Versioning for v2.1.7 2015-06-24 09:00:44 -04:00
Alex Leitner b247fbcfee Fixes #82: IPN handler now does not override manually updated order statuses 2015-06-22 16:35:29 -04:00
Sam Bohler 204cbec02f Pegged bitpay/php-client to commit 9027ce67e4b28516ff1ebd1046bdd15c37a7a59f
Fixes IPN issues
Versioning for 2.1.6
2015-06-10 08:08:34 -04:00
Sam Bohler 9421861046 Versioning for 2.1.5 2015-06-09 11:27:25 -04:00
Alex Leitner and Sam Bohler bd45f405a5 Fixes #79 - Stores correct timestamps for invoices and IPNS
Bumped version to 2.1.4
2015-06-09 11:23:12 -04:00
Sam Bohler 43ebfece71 Fixes packaging script and removes dependency on Symfony 2015-06-08 12:24:34 -04:00
Rich Morgan 0d68f1da17 Update TransactionSpeed.php 2015-05-18 21:10:20 -04:00
Rich Morgan 27909375b5 Updated copyright year 2015-05-18 21:10:10 -04:00
Rich Morgan 58b9734bcf Updated copyright year 2015-05-18 21:09:55 -04:00
Rich Morgan 4b6094b738 Updated copyright year 2015-05-18 21:09:41 -04:00
Rich Morgan aebfd96eff Updated copyright year 2015-05-18 21:09:22 -04:00
Rich Morgan fb03e71d0f Updated copyright year 2015-05-18 21:09:06 -04:00
Rich Morgan 1a45aa80d2 Updated copyright year 2015-05-18 21:08:47 -04:00
Rich Morgan 1415831dfa Updated copyright year 2015-05-18 21:08:17 -04:00
Rich Morgan ac6116ad3a Updated copyright year 2015-05-18 21:07:56 -04:00
Rich Morgan 6f11bed9d8 Updated copyright year 2015-05-18 21:07:33 -04:00
Rich Morgan 18a0d932a6 Updated copyright year 2015-05-18 21:06:46 -04:00
Rich Morgan 040354b8e1 Updated copyright year 2015-05-18 21:05:19 -04:00