Commit Graph

206 Commits

Author SHA1 Message Date
piotrgild
52c4981207 Created btcpay namespace (#2) 2018-10-29 18:14:02 +01:00
Andrew Camilleri
04101c5eb3 change network to a free text instead of options 2018-08-07 15:24:58 +02:00
Pieter Poorthuis
c5d6563742 Update for v2.1.20 2018-06-14 15:31:40 +02:00
Pieter Poorthuis
8c6c7c02fe Added logging to IpnController 2018-06-14 15:27:30 +02:00
Pieter Poorthuis
9feef77c9b
Send order confirmation when paid IPN comes in
Only send order confirmation when paid IPN comes in. Make sure to send the order confirmation only once.
2018-06-14 14:19:53 +02:00
Pieter Poorthuis
2d830b0438
Merge pull request #153 from damianbz321/master
fix invoices
2018-06-14 13:54:45 +02:00
Damian Bzdon
a973c6943a fix invoices 2018-06-12 15:12:22 +02:00
Pieter Poorthuis
9b96fd5581
Stop adding buyer address info to BitPay invoice 2018-06-07 15:54:13 +02:00
Pieter Poorthuis
05eeff288b
Merge branch 'master' into master 2018-06-07 11:05:41 +02:00
Damian Bzdon
9d684867c1 fix issues 148, 150 2018-06-07 10:50:19 +02:00
Damian Bzdon
de0d707ee4 issue 150 2018-06-04 15:32:23 +02:00
Damian Bzdon
cb886b8f09 issue 148 2018-05-28 14:37:52 +02:00
Pieter Poorthuis
5b368ef3d4
Merge pull request #151 from damianbz321/master
issue 150 stop populating buyer fields (except buyerEmail)
2018-05-25 10:39:25 +02:00
Damian Bzdon
6a37190156 issue 150 stop populating buyer fields (except buyerEmail) 2018-05-25 10:29:54 +02:00
Pieter Poorthuis
964d06fcf8
Merge pull request #149 from damianbz321/master
issue 145 - disable OFAC sanctioned countries
2018-05-24 14:41:14 +02:00
Damian Bzdon
4114c21999 issue 145 - disable OFAC sanctioned countries 2018-05-24 12:51:37 +02:00
Pieter Poorthuis
eaa90f96a6
Merge pull request #147 from damianbz321/master
issues 142,143,144
2018-05-23 14:27:09 +02:00
Damian Bzdon
281e70b975 issue 144 2018-05-18 12:24:22 +02:00
Damian Bzdon
c6c08c5cd7 issue 143 2018-05-18 12:24:14 +02:00
Damian Bzdon
8b4680d91f issue 142 2018-05-18 12:24:03 +02:00
Pieter Poorthuis
8caed778fd
Merge pull request #146 from damianbz321/master
fix issue 141
2018-05-14 11:55:26 +02:00
Damian Bzdon
d8f4a04c1e fix issue 141 2018-05-10 12:01:49 +02:00
Pieter Poorthuis
c6e69e05e4 Update for v2.1.19 2018-04-09 16:42:34 +02:00
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
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