Geoffrey K Taylor and GitHub
88aa64b560
fix: session expiration extended to 2 weeks ( #551 )
2021-09-08 14:57:23 -04:00
Koen Poelhekke and GitHub
5fe732dcc6
Replace deprecated function nonce_user_logged_out ( #547 )
...
* Use maybe_update_nonce_user_logged_out instead of deprecated nonce_user_logged_out function
* Use tab spacing
2021-09-08 02:06:22 -04:00
79c6035ade
Checkout mutation: Add or Update order metas ( #484 )
...
* Checkout mutation: Add or Update order metas
* Checkout mutation: Update order metas
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2021-06-14 14:56:43 -04:00
Jacob Arriola and Geoff Taylor
b4a158b4e3
Add timestamp to gracefully remove stale transactions
...
There are instances where a stale transaction stays around do to an error in the mutation. As a result, the recursive update_transaction_queue method will continue to run over and over, causing an inifinte loop and potentially crashing the server.
This attempts to add a timestamp once the transaction is validated when checking via the timestamp and will remove it from the queue.
2021-06-14 12:17:13 -04:00
Jacob Arriola and Geoff Taylor
3bdcb095b7
Transaction object is missing session_data
...
The session data (snapshot) is a property of the session_handler, not of the existing instance. As a result, the snapshot was always returning null.
2021-06-14 12:17:13 -04:00
Jacob Arriola and Geoff Taylor
e1689502a4
Transactions: get customer id from correct location
...
The customer id is stored in the the session_handler instance. As a result the same transient was getting set for all users, which was causing errors when a hanging transaction was left.
2021-06-14 12:17:13 -04:00
Geoff Taylor
effd712f16
Coding standards met
2021-02-22 19:42:54 -05:00
Geoff Taylor
c75a295e0b
functional test "CartTransactionQueueCest" added.
2021-02-22 19:42:54 -05:00
Geoff Taylor
01680f5c60
Transaction queue now stored in a transient
2021-02-22 19:41:23 -05:00
Geoff Taylor
b8d913ee8d
Docker/Codeception CI configuration updated.
2021-01-22 11:36:50 -05:00
Geoff Taylor
b7a14f95a1
Session Handler upgraded.
2020-10-01 01:45:26 -04:00
Geoff Taylor
bd4f35e4a8
"Testing Integration" + "WPCS" workflows created and passed.
2020-02-20 12:35:42 -05:00
Renato Alves and Geoff Taylor
c8865a832a
Code improvements to the mutations (removing unused classes, fixing textdomain, etc)
2020-02-19 17:29:16 -05:00
Geoff Taylor
506868c30a
syntax error fixed
2020-01-10 15:30:03 -05:00
Geoff Taylor
25b55dfa36
session handler updated
2020-01-10 14:37:40 -05:00
Geoff Taylor
0de3aa59da
syntax error fixed
2020-01-10 14:23:09 -05:00
Geoff Taylor
54454b2c53
Session handler updated
2020-01-10 13:37:40 -05:00
Geoff Taylor
0ca8a22e16
transaction queue callback cleaned up
2019-12-23 22:04:55 -05:00
Geoff Taylor
0556e4fa89
transaction queue optimized
2019-12-23 21:19:27 -05:00
Geoff Taylor
6e9a82e8e3
sleep interval updated
2019-12-23 21:07:27 -05:00
Geoff Taylor
8f99b2a7ed
syntax error fixed.
2019-12-23 21:02:53 -05:00
Geoff Taylor
abb2eab5ca
transaction managment implemented
2019-12-23 20:54:28 -05:00
Geoff Taylor
e40c78f9c2
initial commit
2019-11-25 20:01:35 -05:00
Geoff Taylor
4d65a36e7c
bug fixed in "QL_Session_Handler".
2019-11-25 17:02:50 -05:00
Geoff Taylor
5bba503cd7
More changes to the "QL_Session_Handler"
2019-11-24 23:54:50 -05:00
Geoff Taylor
bcd5e60ce1
Error handling added for session token validation.
2019-11-20 23:16:23 -05:00
Geoff Taylor
8a4f671ca2
"QL_Session_Handler" heavily refactored
2019-11-18 16:18:13 -05:00
Geoff Taylor
22deb98fe9
Namespaces refactored.
2019-10-25 19:13:36 -04:00
Geoff Taylor
afeac37d56
NewCustomerCheckingOutCept updated.
2019-08-27 11:57:52 -04:00
Geoff Taylor
70f10dca0c
fixed bug concerning guest sessions.
2019-07-15 17:12:30 -04:00
Geoff Taylor
ab469a350e
QL Session Handler implemented
2019-06-20 14:14:13 -04:00
Geoff Taylor
eda18b50a1
QL_Session_Handler implemented but not tested.
2019-06-19 13:06:42 -04:00