Commit graph

88 commits

Author SHA1 Message Date
cryptochangements34
b9980bbdbf Bug fixes update
fixes small bugs with sql queries after payment verification, in getamountinfo() function, and with the instructions page.
2017-08-14 11:25:39 -05:00
serhack
0b02637507 Update monero_payments.php 2017-08-14 10:52:50 +02:00
serhack
db265e5dee Update monero_payments.php 2017-08-14 10:52:26 +02:00
serhack
acc9dd051d Merge pull request #17 from cryptochangements34/master
Revise getamountinfo() function
2017-08-14 08:47:33 +02:00
cryptochangements34
43a23800b7 Revise getamountinfo() function
Fixes typo along with other visual improvements such as converting atomic units to regular units
2017-08-13 16:53:11 -05:00
serhack
a39a959254 Update monero_payments.php 2017-08-13 20:26:51 +02:00
serhack
15fbd243a3 Merge pull request #16 from cryptochangements34/master
Allow merchant to set the % discount for using XMR
2017-08-13 20:25:44 +02:00
cryptochangements34
a63e05d48a Allow merchant to set the % discount for using XMR
This sets things back up so that the merchant can set the precise percentage that they want to use as a discount for paying with Monero like in commit f75790d908
2017-08-13 13:18:20 -05:00
serhack
3ff512aa80 Update monero_gateway.php 2017-08-13 15:26:02 +02:00
serhack
12c8d406ea Update monero_payments.php 2017-08-13 15:25:39 +02:00
serhack
673279491a Update monero_payments.php 2017-08-13 14:37:46 +02:00
serhack
801672ea85 Update monero_gateway.php 2017-08-13 14:37:01 +02:00
serhack
8a48521e8f Fix a typo 2017-08-12 07:56:00 +02:00
serhack
2ac2cbcab8 Update monero_payments.php 2017-08-11 18:25:02 +02:00
serhack
fe8e1f26bb Merge pull request #15 from cryptochangements34/master
Gives option to provide a discount for using XMR
2017-08-11 18:23:17 +02:00
cryptochangements34
f75790d908 Gives option to provide a discount for using XMR
Allows merchant to choose to provide a discount (in terms of percentage) for customers that choose to pay securely with Monero
2017-08-11 11:06:06 -05:00
serhack
979489850b Merge pull request #13 from cryptochangements34/master
Update to store exchange rate in MySQL database
2017-08-10 18:49:32 +02:00
cryptochangements34
fd1a053a78 Update to store exchange rate in MySQL database
Update to store exchange rate data server-side in the MySQL database used by wordpress. This replaces the old model of storing this data client-side in a cookie
2017-08-10 11:46:34 -05:00
serhack
5e0015897e Change my url 2017-08-10 17:09:23 +02:00
serhack
79033602e7 Merge pull request #10 from cryptochangements34/master
Update README + one quick bug fix
2017-08-10 16:12:27 +02:00
cryptochangements34
bff329b13e Fixes example
changes example port to 18082
2017-08-07 18:07:26 -05:00
cryptochangements34
5ea712afb5 Update to add instructions for using a remote node 2017-08-07 12:47:14 -05:00
cryptochangements34
7358d21b66 Quick typo fix
Adds the '!' operator in front of the if(isset($array_integrated_address)) expression so that the error message will only show up if it is NOT set
2017-08-07 12:17:51 -05:00
serhack
1f80f9c6dd Merge pull request #9 from cryptochangements34/master
Adjusts $xmr_live_price - $rate_cookie comparison
2017-08-06 15:31:18 +02:00
cryptochangements34
5d043b0150 Adjusts $xmr_live_price - $rate_cookie comparison
This adjusts the comparison in favor of the merchant
2017-08-05 12:12:57 -05:00
serhack
af89e2052e Merge pull request #8 from cryptochangements34/master
Store exchange rate as cookie
2017-08-05 19:12:38 +02:00
cryptochangements34
6f9075573f Fix cookie protection 2017-08-05 11:36:55 -05:00
cryptochangements34
a9478e4ae4 Store exchange rate as cookie
Stores exchange rate as a cookie (with protection against tampering), but will update if the price of monero changes by more than 1 fiat denomination. Also shows the message returned by verify_payment as a label.
2017-08-05 11:29:50 -05:00
serhack
e9009a0f15 Merge pull request #7 from cryptochangements34/master
Updates order status upon payment verification
2017-08-05 18:09:03 +02:00
cryptochangements34
0f4d5f76c4 Updates order status upon payment verification
Updates the order status within woocommerce to "Confirmed" so that it can be viewed by the sysadmin/merchant.
2017-08-04 22:23:27 -05:00
serhack
ee04f030a1 Merge pull request #6 from cryptochangements34/master
Update (bug fixes)
2017-08-04 14:19:07 +02:00
cryptochangements34
094b978f18 Update (bug fixes)
Fixes some bugs and also switches from get_bulk_payments to get_payments (because we are only getting one payment at a time, not grabbing them in bulk).
2017-08-03 23:50:59 -05:00
serhack
6110bfa94b Update monero_payments.php 2017-08-03 15:47:06 +02:00
serhack
3d0bfdce6d Merge pull request #5 from cryptochangements34/master
Update to store payment id as a cookie
2017-08-03 07:30:17 +02:00
cryptochangements34
bdf522e54a Update to store payment id as a cookie
This will generate a cookie containing the buyer's payment id that will expire after 45 minutes to avoid generating a new payment id/integrated address each time that the page is reloaded.
2017-08-02 17:42:01 -05:00
serhack
feb9b1d24f Update monero_payments.php 2017-08-02 21:14:20 +02:00
serhack
494f64c3ff Update monero_payments.php 2017-07-27 14:17:23 +02:00
serhack
26dd56cf80 Support GBP, CAD, INR 2017-07-27 13:59:38 +02:00
serhack
60c69d608b Create LICENSE 2017-07-27 13:24:49 +02:00
serhack
01e44cf97f Update monero_payments.php 2017-07-26 21:52:48 +02:00
serhack
7d85f6c836 Update monero_payments.php 2017-07-26 18:47:25 +02:00
serhack
49b6ff645e Update monero_payments.php 2017-07-26 16:13:31 +02:00
serhack
cd5dc2fdf7 Update monero_gateway.php 2017-07-26 16:12:27 +02:00
serhack
8e7c720d9d No message 2017-07-26 14:57:48 +02:00
serhack
492ce433e2 Update monero_gateway.php 2017-07-26 11:58:47 +02:00
serhack
be681e7212 Update monero_payments.php 2017-07-24 17:20:46 +02:00
serhack
58f4921731 Merge pull request #4 from cryptochangements34/master
Add server authentication, request an user or a password.
2017-07-24 08:50:55 +02:00
cryptochangements34
ddd8838275 Update to use server authentication
Also makes some changes to text
2017-07-23 21:14:59 -05:00
cryptochangements34
4dc7b7b286 Update library.php to use server authentication 2017-07-23 21:13:33 -05:00
cryptochangements34
4fdf314736 Update README.md
Makes examples consistent with each other
2017-07-23 21:12:24 -05:00