Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
f465499
Fixes some of the issues where debugging code was pushed up
Jul 8, 2014
d222132
Merge pull request #60 from JoshuaEstes/master
ionux Jul 8, 2014
38d67c6
Removed coveralls build target
Jul 11, 2014
854ef32
Removed coveralls config file
Jul 11, 2014
20bed00
Removed coveralls config from gitattributes file
Jul 11, 2014
d03ed33
Removed coveralls from readme
Jul 11, 2014
24cbba9
Merge pull request #61 from JoshuaEstes/master
JoshuaEstes Jul 11, 2014
e87bcb8
Updated build script to be more standardized
Jul 15, 2014
31055f7
Updated readme file
Jul 15, 2014
f9b8003
Merge pull request #62 from JoshuaEstes/UpdatedBuild
JoshuaEstes Jul 15, 2014
bb5d5bc
Add CHANGELOG, update README
Jul 16, 2014
730b665
Merge pull request #63 from cstevens88/master
JoshuaEstes Jul 16, 2014
b4b571d
Add contribution information
Jul 16, 2014
0fa6f6a
Merge pull request #64 from cstevens88/master
JoshuaEstes Jul 16, 2014
ef7ea99
Look at that
Jul 17, 2014
02e4828
Working on added tests to the project
Jul 17, 2014
0d7ba17
A few minor updates and fixes
Jul 17, 2014
2b1ce93
Not using this, removing
Jul 17, 2014
c0bf495
Not using this either
Jul 17, 2014
41baf4d
Minor tweaks
Jul 17, 2014
2c2a779
Centralized where the bitpay.log file is set
JoshuaEstes Jul 18, 2014
3231c84
Added some more logging for debugging issues
JoshuaEstes Jul 18, 2014
4e5d874
Pretty sure that doesn't need to be there
JoshuaEstes Jul 18, 2014
2593183
Updated so tests are in the root directory
Jul 21, 2014
0b4d62e
Updated test to make sure it only takes valid currencies
Jul 21, 2014
8d30dfc
Marked other tests as incomplete
Jul 21, 2014
ec8f146
Merge pull request #65 from JoshuaEstes/WorkingOnTesting
JoshuaEstes Jul 21, 2014
3ffcf27
Merge remote-tracking branch 'upstream/master' into AddingHelper
Jul 21, 2014
832441a
Refactored and tests added
Jul 21, 2014
16731c0
Converted tabs to spaces and removed extra spaces at end of lines
Jul 22, 2014
6826b12
Still work in progress
Jul 22, 2014
44a2a55
Merge pull request #66 from JoshuaEstes/AddingHelper
JoshuaEstes Jul 23, 2014
ea8e340
Merge conflict resolved
Jul 23, 2014
f4ddb82
cleaned up those pesky characters
Jul 23, 2014
952827f
Updated so there is a command line task that can be used to cancel ma…
Jul 23, 2014
8a46046
Updated the config.xml to remove the debug cronjob schedule
Jul 23, 2014
80c8eeb
Made a few updates and made it so code would not be duplicated
Jul 23, 2014
ff08011
A little refactoring
Jul 23, 2014
b77959a
Updated the CLI script to only display functionality it supports and …
Jul 23, 2014
49f4c36
made a few updates for testing this stuff
Jul 23, 2014
7d90aea
Updated the build script to make unit tests work a little better with…
Jul 23, 2014
7668660
Added a few tests for new code
Jul 23, 2014
66c714d
Small copy edit
Jul 23, 2014
bc0b4c8
Fixed formatting issue
Jul 23, 2014
c3585bd
Small fix to code where log message was not correct
Jul 24, 2014
4260fbf
Small update with so code is checking newest IPN first
Jul 24, 2014
4735d29
Merge pull request #68 from JoshuaEstes/CronJob
JoshuaEstes Jul 24, 2014
6a4d367
Small update for merchants that are using custom extensions that may …
Aug 6, 2014
6ec146a
Merge pull request #69 from JoshuaEstes/IgnoreAddress
ionux Aug 6, 2014
bf5eb2d
Security Patch
Oct 10, 2014
4944d4f
Merge pull request #71 from sambohler/master
JoshuaEstes Oct 10, 2014
d01db1b
Third-party checkout extensions compatibility
vovayatsyuk Oct 14, 2014
075e6f1
Merge pull request #72 from vovayatsyuk/patch-1
JoshuaEstes Oct 14, 2014
8371f89
Refactored and updated plugin to work with update API and to be able to
Sep 26, 2014
48f6076
Merge pull request #70 from JoshuaEstes/2.x
JoshuaEstes Oct 15, 2014
482027c
Version bump and rebuild since Magento Connect somehow wasn't giving …
Oct 16, 2014
cc63905
Update for invalid input stream from IPN post #74
ionux Nov 18, 2014
2237c7d
Merge pull request #75 from ionux/master
ionux Nov 19, 2014
1a315a6
Updates for release 2.1.0
JoshuaEstes Nov 24, 2014
3e68f55
Sanitizes the label sent with the Pairing Code to BitPay
Dec 9, 2014
fef2c56
Merge pull request #87 from sambohler/master
ionux Dec 9, 2014
b753942
Updated version for tagging, lib version, typos
Dec 11, 2014
e7184b7
Merge pull request #88 from sambohler/master
ionux Dec 11, 2014
09d6e3f
Revert package identifier
Dec 11, 2014
0c27a62
Merge pull request #1 from bitpay/master
ionux Dec 16, 2014
9f8c842
Added more error handling and debug logging
ionux Dec 16, 2014
99deff4
Formatting
ionux Dec 16, 2014
0007eb3
Rewrite to be more usable and helpful
ionux Dec 16, 2014
cfe6e13
Removed hardcoded debugging values
ionux Dec 17, 2014
44534b5
Rename delete to delete.sh
ionux Dec 17, 2014
7e5e84b
Formatting and adding more information
ionux Dec 17, 2014
e70b0fa
Cleaned up unused code
ionux Dec 17, 2014
0ce0cfe
Fixed incorrect target parameter
ionux Dec 17, 2014
14d0351
Fixed incorrect target parameter
ionux Dec 17, 2014
b40d1a6
Removed unnecessary context switching
ionux Dec 17, 2014
78e3ab0
Removed unnecessary context switching
ionux Dec 17, 2014
739d702
Removed unnecessary context switching
ionux Dec 17, 2014
f35c0e0
Removed unnecessary context switching
ionux Dec 17, 2014
f5dc25f
Escaped single quotes
ionux Dec 17, 2014
b4dc639
Removed unnecessary context switching
ionux Dec 17, 2014
65a68c8
Updated information in comments
ionux Dec 17, 2014
b9bc6c3
Added extra error handling and debugging
ionux Dec 17, 2014
2bf5911
Removed accidental newlines
ionux Dec 17, 2014
f950bf0
Added extra error handling and debugging
ionux Dec 17, 2014
cf8bcc5
Updated to use defined constants
ionux Dec 17, 2014
7c72010
Fixed missing scope
ionux Dec 17, 2014
1ccd5b6
Updated to use defined constants
ionux Dec 17, 2014
f2323c6
Ucwords Formatting Fix
ionux Dec 17, 2014
a6b2bac
Added extra error handling and debugging
ionux Dec 17, 2014
01afabb
Updated to use defined constants
ionux Dec 17, 2014
369aff6
Added missing parenthesis
ionux Dec 17, 2014
1feedfe
Added missing parenthesis
ionux Dec 17, 2014
409eb02
Added extra error handling and debugging
ionux Dec 17, 2014
c29c10c
Added extra error handling and debugging
ionux Dec 17, 2014
89a9807
Added extra error handling and debugging
ionux Dec 17, 2014
701fc2e
Added extra error handling and debugging
ionux Dec 17, 2014
faaf542
Added extra error handling and debugging
ionux Dec 19, 2014
4e32b0e
Added extra error handling and debugging
ionux Dec 30, 2014
9d9215c
Update CHANGELOG
ionux Dec 30, 2014
8ce288d
Check to see if new order email was sent
ionux Dec 30, 2014
6ba2157
Update CHANGELOG
ionux Dec 30, 2014
1226a52
Formatting
ionux Dec 30, 2014
8ec543d
Removed logging code causing exceptions to be
ionux Jan 5, 2015
cea8306
Added namespace backslash
ionux Jan 5, 2015
f796e0a
Added namespace backslash
ionux Jan 5, 2015
5c37d24
Added namespace backslash
ionux Jan 5, 2015
b212550
Added namespace backslash
ionux Jan 5, 2015
74ec83f
Added namespace backslash
ionux Jan 5, 2015
5caa1c3
Added namespace backslash
ionux Jan 5, 2015
ff4ab04
Added namespace backslash
ionux Jan 5, 2015
4f1f20d
Added namespace backslash
ionux Jan 5, 2015
34c4a48
Added namespace backslash
ionux Jan 5, 2015
d2f2d86
Added namespace backslash
ionux Jan 5, 2015
33f6d8b
Added namespace backslash
ionux Jan 5, 2015
a07c007
Added namespace backslash
ionux Jan 5, 2015
4b71f46
Added namespace backslash
ionux Jan 5, 2015
667357b
Removed bad function call to non-object
ionux Jan 8, 2015
e9f4c9f
More informative error message
ionux Jan 8, 2015
5f95611
Added missing parenthesis & updated error msgs
ionux Jan 8, 2015
154679c
Added CDATA wrapping for all comments.
ionux Jan 8, 2015
789b24b
Fixed invalid parameter check.
ionux Jan 8, 2015
9a96cd9
Added namespace backslash
ionux Jan 8, 2015
dad4e6a
Added namespace backslash
ionux Jan 8, 2015
9ae3f05
Added error handling and debugging
ionux Jan 8, 2015
d7d0cd5
Added error handling and debugging
ionux Jan 8, 2015
8b5ea76
Added error handling and debugging
ionux Jan 8, 2015
f216606
Added namespace backslash
ionux Jan 8, 2015
231e948
Added namespace backslash
ionux Jan 8, 2015
c452db1
Formatting
ionux Jan 8, 2015
7aea57b
Removed template file check
ionux Jan 12, 2015
31e2436
Merge pull request #91 from ionux/master
ionux Jan 12, 2015
5b60c5f
Updated version number for latest release
ionux Jan 12, 2015
f9db608
Merge pull request #2 from bitpay/master
ionux Feb 20, 2015
9f060ce
Create GUIDE.md
ionux Feb 20, 2015
d4889df
Removed install/config info and added to GUIDE
ionux Feb 21, 2015
e9a6517
Merge pull request #92 from ionux/master
ionux Feb 21, 2015
393a1f2
Removed PHP 5.3 build option
ionux Mar 12, 2015
b49ed79
Updated copyright year
ionux May 19, 2015
040354b
Updated copyright year
ionux May 19, 2015
18a0d93
Updated copyright year
ionux May 19, 2015
6f11bed
Updated copyright year
ionux May 19, 2015
ac6116a
Updated copyright year
ionux May 19, 2015
1415831
Updated copyright year
ionux May 19, 2015
1a45aa8
Updated copyright year
ionux May 19, 2015
fb03e71
Updated copyright year
ionux May 19, 2015
aebfd96
Updated copyright year
ionux May 19, 2015
4b6094b
Updated copyright year
ionux May 19, 2015
58b9734
Updated copyright year
ionux May 19, 2015
2790937
Updated copyright year
ionux May 19, 2015
0d68f1d
Update TransactionSpeed.php
ionux May 19, 2015
43ebfec
Fixes packaging script and removes dependency on Symfony
Jun 8, 2015
bd45f40
Fixes #79 - Stores correct timestamps for invoices and IPNS
bitpay-integrations Jun 4, 2015
9421861
Versioning for 2.1.5
Jun 9, 2015
204cbec
Pegged bitpay/php-client to commit 9027ce67e4b28516ff1ebd1046bdd15c37…
Jun 10, 2015
f693089
Fixes #78: MagentoStorage::load returns KeyInterface instance or thro…
Jun 19, 2015
b247fbc
Fixes #82: IPN handler now does not override manually updated order s…
Jun 18, 2015
f2a6b69
Versioning for v2.1.7
Jun 24, 2015
a25d532
Fixes #81: Customer info now logged for invoice
Jun 26, 2015
14fb630
Fixes #90: Direct Checkout now an option BitPay magento plugin
Jul 8, 2015
d649fdd
Versioning for 2.1.8
Jul 8, 2015
cc72b71
Creating is_empty function
jamesWithPM Jul 13, 2015
5e1137a
Merge pull request #1 from jamesWithPM/fixing-php5.4-fatal-error
jamesWithPM Jul 13, 2015
09696e9
Update IpnController.php
jamesWithPM Jul 13, 2015
12ca4c3
Storing objects in variables
jamesWithPM Jul 14, 2015
84e7977
Storing object in variable
jamesWithPM Jul 14, 2015
1d12be6
Cleaning up error checking
jamesWithPM Jul 14, 2015
b5041cf
Merge pull request #95 from jamesWithPM/master
Jul 16, 2015
55d3f0f
Versioning for 2.1.9
Jul 16, 2015
a709992
Fixes #98: Pulls currency code from instead of
Aug 26, 2015
4817c3f
Merge pull request #99 from bitpay/bug/orderCurrencyCode
philosodad Aug 28, 2015
5f494f3
bump package version
Aug 28, 2015
3f9b796
Update README.md
kleetus Nov 6, 2015
4c4ff88
Update README.md
kleetus Nov 18, 2015
fcd44e0
Update GUIDE.md
kleetus Nov 18, 2015
e991500
Update Support Link
jameswalpole Feb 19, 2016
52d42c4
Merge pull request #101 from jameswalpole/patch-1
kleetus Feb 19, 2016
75184d7
add getLogeFile function
spofa Mar 8, 2016
2738aa4
Merge pull request #102 from spofa/master
kleetus Mar 16, 2016
e7811a7
Repaired redirected checkout BitPay invoice amount calculation
May 27, 2016
69565a2
Bumped package script hard-coded version.
May 27, 2016
98403f4
Merge pull request #104 from kleetus/master
kleetus May 30, 2016
d0a5152
Iframe invoice will create order
Jul 9, 2016
ca74728
Helper scripts
Jul 10, 2016
ccdbd88
Merge pull request #105 from kleetus/master
kleetus Jul 10, 2016
0480016
Added changelog entries.
Jul 18, 2016
9c1ed7f
Unified order creation to the same place as redirected check out.
Sep 6, 2016
d6f71f8
Removed unneeded comment.
Sep 7, 2016
c80ecb8
Merge pull request #106 from kleetus/bug/invoiceCreationTime
kleetus Sep 7, 2016
4dfa531
Added check for orderId.
Sep 7, 2016
957c84e
Switched from user currency to magento shop currency to prevent fraud…
Dec 12, 2016
33d11c9
Merge pull request #107 from pieterpoorthuis/master
Dec 12, 2016
d281a34
Delete release.txt
Dec 15, 2016
5d93670
Updated GUIDE & README
Dec 15, 2016
8193bdf
Update CHANGELOG
Dec 15, 2016
592fd53
Order status issue
gopinathinnoppl Jan 24, 2017
a99f45b
Merge pull request #108 from innoppl-developers/master
Jan 24, 2017
2f9b734
IPN creates after payment a second invoice in database instead of upd…
Feb 22, 2018
9a33a88
Merge pull request #130 from rafaldr91/master
Feb 22, 2018
51ee0cd
Added missing methods in the Magento version below 1.9: _isSameCurren…
Feb 26, 2018
f8486a1
Merge pull request #131 from rafaldr91/master
Feb 26, 2018
3392894
display "Invoice price must be at least" error
Mar 7, 2018
4dfb59a
Merge pull request #132 from rafaldr91/master
Mar 7, 2018
673bc5a
Non-debug logging fix
Mar 8, 2018
600a647
Merge pull request #133 from rafaldr91/master
Mar 8, 2018
18c6f7b
checkForRequest - this function is not used anywhere
damianbz321 Mar 12, 2018
ed00d71
add api key
damianbz321 Mar 12, 2018
be4f5f7
Merge pull request #134 from damianbz321/master
Mar 12, 2018
c972165
failure page configurations
damianbz321 Mar 13, 2018
23db274
failure page configurations
damianbz321 Mar 13, 2018
76b82f8
expired invoice - wrong redirect
damianbz321 Mar 13, 2018
849890d
configuration page
damianbz321 Mar 13, 2018
6f8a6b6
Merge pull request #136 from damianbz321/master
Mar 13, 2018
f3f8294
issue 126 - Magento marketplace compatibility
damianbz321 Mar 14, 2018
adbcabb
Merge pull request #137 from damianbz321/master
Mar 14, 2018
d2351ea
iframre redirect
damianbz321 Mar 15, 2018
a0a1681
Merge pull request #138 from damianbz321/master
Mar 15, 2018
daf46c7
Update for v2.1.18
Mar 16, 2018
b2d2fe9
Updated package info for Magento marketplace compatibility
Mar 16, 2018
f43c3ba
Simplified plugin configuration, improved error messages
Mar 19, 2018
c6e69e0
Update for v2.1.19
Apr 9, 2018
f16cc16
Updated link to Magento Marketplace
Apr 10, 2018
c54c521
Update Magento connect procedure
Apr 25, 2018
d8f4a04
fix issue 141
damianbz321 May 10, 2018
8caed77
Merge pull request #146 from damianbz321/master
May 14, 2018
8b4680d
issue 142
damianbz321 May 18, 2018
c6c08c5
issue 143
damianbz321 May 18, 2018
281e70b
issue 144
damianbz321 May 18, 2018
eaa90f9
Merge pull request #147 from damianbz321/master
May 23, 2018
4114c21
issue 145 - disable OFAC sanctioned countries
damianbz321 May 24, 2018
964d06f
Merge pull request #149 from damianbz321/master
May 24, 2018
6a37190
issue 150 stop populating buyer fields (except buyerEmail)
damianbz321 May 25, 2018
5b368ef
Merge pull request #151 from damianbz321/master
May 25, 2018
cb886b8
issue 148
damianbz321 May 28, 2018
de0d707
issue 150
damianbz321 Jun 4, 2018
9d68486
fix issues 148, 150
damianbz321 Jun 7, 2018
05eeff2
Merge branch 'master' into master
Jun 7, 2018
f8dab1e
Merge pull request #152 from damianbz321/master
Jun 7, 2018
9b96fd5
Stop adding buyer address info to BitPay invoice
Jun 7, 2018
a973c69
fix invoices
damianbz321 Jun 12, 2018
2d830b0
Merge pull request #153 from damianbz321/master
Jun 14, 2018
9feef77
Send order confirmation when paid IPN comes in
Jun 14, 2018
8c6c7c0
Added logging to IpnController
Jun 14, 2018
c5d6563
Update for v2.1.20
Jun 14, 2018
ff76048
Version bump to 2.1.20
Jun 14, 2018
036b237
Fixes #154 - fix modman with miss files
alex-magebinary Aug 28, 2018
9594ac6
Merge pull request #155 from Magebinary/master
Aug 28, 2018
cee7301
timestamp fix
damianbz321 Nov 13, 2018
2e4a92d
update isactive
damianbz321 Nov 13, 2018
60fd249
update isactive
damianbz321 Nov 13, 2018
cb0e934
Merge pull request #157 from damianbz321/master
danescsvn Nov 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# The MIT License (MIT)
#
# Copyright (c) 2011-2014 BitPay, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

# These files/directories are not included when making
# an archive of this repository.
/build export-ignore
/scripts export-ignore
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
build.xml export-ignore
composer.json export-ignore
modman export-ignore
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# The MIT License (MIT)
#
# Copyright (c) 2011-2014 BitPay
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

*.swp
lib/bitpay/bp_config.php
/bin/
/build/cache/
/build/dist/
/build/docs/
/build/logs/
/build/magento/
/vendor/
composer.lock
composer.phar
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# The MIT License (MIT)
#
# Copyright (c) 2011-2015 BitPay
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
language: php
php:
- 5.6
- 5.5
- 5.4
- hhvm
install:
- composer install
#script: ./bin/phing -verbose -propertyfile build/travis.properties build-travis
script: phpunit -c build/
cache:
directories:
- bin/
- build/cache/
- build/magento/
- vendor/
matrix:
fast_finish: true
allow_failures:
- php: hhvm
76 changes: 76 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
2.1.19 (2018-04-09)
Simplified BitPay Magento configuration screen
Updated PHP library to v2.2.20 (supporting BitPay's API after May 1st 2018)
Support for Magento Marketplace: https://marketplace.magento.com/bitpay-bitpay-core.html


2.1.18 (2018-03-16)
Fixed dependencies in composer.json (#127)
Fixed landing page after failure or expired payment (#124, #123, #117, #120)
Fixed missing apikeys configuration in system.xml (#122)
Fixed IPN creating 2nd invoice instead of updating invoice (#121)
Fixed non-debug logging (#115)
Fixed checkout page text (#112)

2.1.17
Added missing methods in the Magento version below 1.9: _isSameCurrency, getStatusStatuses, addStatusfilter.
2.1.16
Fixed creating after payment a second invoice in database instead of update invoice issue
2.1.14
Use Magento shop base currency to create a BitPay invoice (instead of the shopper's selected currency)
2.1.13
Redirected check out and iframe checkout share the same order creation logic.
The order will be created during saveOrder call to backend.
2.1.12
iFrame order will create order
2.1.11
Repaired redirected checkout invoice amount calculation
2.1.10
Fixed currency issue

2.1.9
Fixed code incompatible with PHP 5.4

2.1.8
Customer info now logged for invoice
Added direct checkout feature

2.1.7
MagentoStorage::load returns KeyInterface instance or throws an exception.
IPN handler now does not override manually updated order statuses

2.1.6
Pegged bitpay/php-client to commit 9027ce67e4b28516ff1ebd1046bdd15c37a7a59f
Fixes IPN issues

2.1.5
Updated bitpay/php-client to 2.2.4

2.1.4
Removed Symfony dependency
Fixed timestamp logging in database

2.1.2
Added extra error handling and fixed debugging
Re-added new order email notifications
Updated README documentation for accuracy
Re-wrote delete.sh shell script to autodetect Magento directory and
be more helpful when cleaning an old BitPay plugin from the server

2.1.1
Bug fix sanitizing labels for token pairing
Replaced GMP only requirement with GMP or BC Math requirement

2.1.0
Bug fix with IPNs not working when debug mode is enabled
Updated BitPay PHP SDK
Added a release checklist

2.0.1
Small bug fix in how package script

2.0.0
Initial release of the new Magento Extension that supports BitPay's new
cryptographically secure API. You can read more about the new API on the
blog at
http://blog.bitpay.com/2014/09/18/announcing-the-new-bitpay-api.html
70 changes: 70 additions & 0 deletions GUIDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Using the BitPay plugin for Magento

## Prerequisites
You must have a BitPay merchant account to use this plugin. It's free to [sign-up for a BitPay merchant account](https://bitpay.com/start).


## Server Requirements

* Last Cart Version Tested: 1.9.3.8
* [Magento CE](http://magento.com/resources/system-requirements) 1.9.0.1 or higher. Older versions might work, however this plugin has been validated to work against the 1.9.0.1 Community Edition release.
* [GMP](http://us2.php.net/gmp) or [BC Math](http://us2.php.net/manual/en/book.bc.php) PHP extensions. GMP is preferred for performance reasons but you may have to install this as most servers do not come with it installed by default. BC Math is commonly installed however and the plugin will fall back to this method if GMP is not found.
* [OpenSSL](http://us2.php.net/openssl) Must be compiled with PHP and is used for certain cryptographic operations.
* [PHP](http://us2.php.net/downloads.php) 5.4 or higher. This plugin will not work on PHP 5.3 and below.

## Installation

**From the Magento Market Place**

* Goto [https://marketplace.magento.com/bitpay-bitpay-core.html](https://marketplace.magento.com/bitpay-bitpay-core.html) and click the *Add to Cart* link.
* Select your shopping cart, click *Checkout* and then *Place order*
* Click *Install* and copy the access key of the latest version of the BitPay bitcoin acceptance plugin

Once you have the key, log into you Magento Store's Admin Panel and navigate to **System > Magento Connect > Magento Connect Manager**.

**NOTE:** It may ask you to log in again using the same credentials that you use to log into the Admin Panel.

All you need to do is paste the extension key and click on the *Install* button.

**WARNING:** It is good practice to backup your database before installing extensions. Please make sure you Create Backups.


**From the Releases Page:**

Visit the [Releases](https://github.com/bitpay/magento-plugin/releases) page of this repository and download the latest version. Once this is done, you can just unzip the contents and use any method you want to put them on your server. The contents will mirror the Magento directory structure.

**WARNING:** It is good practice to backup your database before installing extensions. Please make sure you Create Backups.

## Configuration

Configuration can be done using the Administrator section of your Megento store. Once Logged in, you will find the configuration settings under **System > Configuration > Sales > Payment Methods**.

![BitPay Magento Settings](https://raw.githubusercontent.com/bitpay/magento-plugin/master/docs/MagentoSettings.png "BitPay Megento Settings")

Here your will need to create a [pairing code](https://bitpay.com/api-tokens) using your BitPay merchant account. Once you have a Pairing Code, put the code in the Pairing Code field. This will take care of the rest for you.

**NOTE:** Pairing Codes are only valid for a short period of time. If it expires before you get to use it, you can always create a new one an use the new one.

**NOTE:** You will only need to do this once since each time you do this, the extension will generate public and private keys that are used to identify you when using the API.

You are also able to configure how BitPay's IPN (Instant Payment Notifications) changes the order in your Magento store.

![BitPay Invoice Settings](https://raw.githubusercontent.com/bitpay/magento-plugin/master/docs/MagentoInvoiceSettings.png "BitPay Invoice Settings")


## Usage

Once enabled, your customers will be given the option to pay with Bitcoins. Once they checkout they are redirected to a full screen BitPay invoice to pay for the order.

As a merchant, the orders in your Magento store can be treated as any other order. You may need to adjust the Invoice Settings depending on your order fulfillment.

## When Upgrading From Plugin Version 1.x to 2.x:

**Very Important:** You must complete remove any previous versions of the Bitpay Magento plugin before installing this new updated version. The plugin has been completely re-written to work with BitPay's new cryptographically secure RESTful API and will conflict with any previous plugin versions which use the old API. To help you remove the old plugin files from your system, we have created a convenient shell script for Unix/Linux/Mac OS systems which will scan your webserver for these older files and delete them. You may also remove these files by hand of course and the complete list of the files can be found in the source of the script for your convenience. You can download this delete script here: [scripts/delete.sh](https://github.com/bitpay/magento-plugin/blob/master/scripts/delete.sh).

To use this script, simply download to your server and execute the script from a shell. You may have to mark the script executable before first use.

```sh
chmod +x delete.sh
./delete.sh
```
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2011-2018 BitPay, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading