Commit Graph

93 Commits

Author SHA1 Message Date
serhack
db265e5dee Update monero_payments.php 2017-08-14 10:52:26 +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
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
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
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
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
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
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
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
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
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
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
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
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
8e7c720d9d No message 2017-07-26 14:57:48 +02:00
serhack
be681e7212 Update monero_payments.php 2017-07-24 17:20:46 +02:00
cryptochangements34
ddd8838275 Update to use server authentication
Also makes some changes to text
2017-07-23 21:14:59 -05:00
cryptochangements34
f67eb9afbd Updates this to work with updated library class 2017-07-17 16:28:09 -05:00
cryptochangements34
bf46a1e735 Adds support for integrated addresses
Replaces old "regular address + legacy payment id" system with integrated addresses to make payments much simpler for the buyer.
2017-07-16 23:44:15 -05:00
cryptochangements34
0048b81809 Revises "Paying with Monero" Message 2017-07-16 23:29:16 -05:00
cryptochangements34
f0b6391aa0 Translates some commenting from Italien to English
Translates some of serhack's comments to English so that they can be read by others easier.
2017-07-16 23:27:20 -05:00
serhack
773cc34fa5 Update monero_payments.php 2017-07-16 11:15:43 +02:00
serhack
20def42a65 Update monero_payments.php 2017-07-16 10:55:00 +02:00
serhack
adafe2485f Update monero_payments.php 2017-07-16 08:09:36 +02:00
serhack
b5c8845f75 Update monero_payments.php 2017-07-15 22:25:46 +02:00
serhack
d9a9807b13 Update monero_payments.php 2017-07-15 22:02:33 +02:00
serhack
8947695a2d Update monero_payments.php 2017-07-15 20:02:36 +02:00
serhack
1d5b9bcf67 Update monero_payments.php 2017-07-15 15:56:14 +02:00
serhack
7f9fabbfa7 Update monero_payments.php 2017-07-15 13:32:34 +02:00
serhack
9f1ae715ac Update monero_payments.php 2017-07-15 10:09:48 +02:00
serhack
f828710d37 Update monero_payments.php 2017-07-14 18:13:00 +02:00
serhack
63398d630a Some code style 2017-07-13 15:04:55 +02:00
serhack
1484285e44 Update and rename monero/gateway.php to monero/include/monero_payments.php 2017-07-13 14:40:09 +02:00