Commit Graph
1045 Commits
Author SHA1 Message Date
Florian BischoffandGitHub 5a751a2674 fix: respect woocommerce tax display settings in cart (#567)
* fix: respect woocommerce tax display settings

* fix: whitespace linting err
2021-10-15 15:05:11 -04:00
Oskar ModigandGitHub e844a39ef9 make order processing methods static (#566) 2021-10-15 15:04:10 -04:00
Geoff Taylor 68861970e3 chore: CHANGELOG.md updated again v0.10.4 2021-09-08 16:34:54 -04:00
Geoff Taylor 847901dc84 chore: Versions numbers and CHANGELOG.md updated 2021-09-08 16:27:50 -04:00
Geoffrey K TaylorandGitHub 88aa64b560 fix: session expiration extended to 2 weeks (#551) 2021-09-08 14:57:23 -04:00
Koen PoelhekkeandGitHub 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
John ForteandGitHub 2ae289006c feature: customer call returns session token for guest users (#541)
* fix: customer call returns session for guest users

* feat: add if the user is a guest based on id variable
2021-09-08 02:05:14 -04:00
Deepak MittalandGitHub b0fb2a2e28 Fix raw pricing returning null (#544)
$prices['price'] doesn't exist as $prices variable has already been overwritten inside the switch case. This causes pricing to return null for all pricing fields (regular, sale, price) which are formatted as RAW.
2021-09-08 02:02:25 -04:00
Brian JohnsonandGitHub 69ee73b9d5 Fix: pass expected checkout validation WP_Error instance (#531) 2021-09-01 19:08:33 -04:00
Reza BabaeiandGitHub 3386946d85 Update Quick Install in README.md (#538) 2021-08-13 12:29:17 -04:00
Geoff Taylor ff6af675ae chore: CHANGELOG and version numbers updated. v0.10.3 2021-08-11 14:39:20 -04:00
a7714d0cd2 Updates to be compatible with WPGraphQL v1.6.1 (#537)
* fix: Huge refactor across schema and unit tests

* - add shipping_method loader in class-core-schema-filters.php

* - Update class-wc-db-loader.php to respect the new SHIPPING_METHOD loader with a `load_shipping_method_from_id()` function

* - Convert Shipping_Method_Connection_Resolver to extend AbstractConnectionResolver

* - Replace resolver for Shipping Methods connection. Remove use of `resolveNode` and replace the resolver with the new connection class `get_connection()` call

* chore: Factory class refactored.

* - update the function that registers Product Types to the Schema to use the value from the `get_enabled_product_types()` as the Type name and the key as the fieldName

* chore: PaymentGatewayQueriesTest refactored.

* chore: WPCS compliance met

* chore: Syntax error fixed.

Co-authored-by: Jason Bahl <jasonbahl@mac.com>
2021-08-11 14:26:09 -04:00
Geoff Taylor 4451c32f7e Merge branch 'develop' of github.com:wp-graphql/wp-graphql-woocommerce into develop v0.10.2 2021-07-06 20:25:57 -04:00
Geoff Taylor c4be14497a version numbers updated. 2021-07-06 20:24:10 -04:00
Geoffrey K TaylorandGitHub a702bee591 Bugfix/global autoloader support (#524)
* version numbers updated.

* "WP_GraphQL_WooCommerce::includes()" refactored.

* External non-vendor includes deprecated.
2021-07-06 20:20:47 -04:00
Geoff Taylor ea2e226d0e version numbers updated. v0.10.1 2021-07-05 20:48:47 -04:00
Geoff Taylor 6f4a685b81 readmes updated. 2021-07-05 20:38:58 -04:00
Geoffrey K TaylorandGitHub 173bea0154 Fix: Null state for coupon and order connections. (#523) 2021-07-05 19:05:21 -04:00
Geoffrey K TaylorandGitHub 2ea8591be3 Fix: product connection sorting (#522) 2021-07-05 18:49:25 -04:00
Geoffrey K TaylorandGitHub cb970f36ed CartItem Product edge field "simpleAttributes" implemented and tested. (#521) 2021-07-05 18:18:52 -04:00
Geoffrey K TaylorandGitHub b7d181ed35 Syntax error fixed 2021-07-05 16:43:12 -04:00
Geoff Taylor 8b0fc88acf php-coveralls configs updated. 2021-07-05 16:32:28 -04:00
Geoff Taylor 8089d0462c composer archive configurations added. 2021-07-05 16:23:59 -04:00
Geoff Taylor 4506e7ce7b Distribution files updated. 2021-07-05 15:54:33 -04:00
Geoff Taylor 47ee81df8f packager workflow updated. 2021-07-05 15:42:16 -04:00
Geoff Taylor 9c6b15a93b .distignore updated. 2021-07-05 15:37:14 -04:00
Geoffrey K TaylorandGitHub 9bbb81ee36 Support for custom order statuses. (#518)
* Support for custom order statuses.

* package workflow updated.
v0.0-beta
2021-07-05 15:31:17 -04:00
Geoffrey K TaylorandGitHub f59872ae89 Coupon mutations added. (#510)
* Coupon mutations implemented and tested
* Vendor files no longer versioned and package workflow implemented
2021-07-05 13:51:52 -04:00
Geoff Taylor 8be07675d1 version number and CHANGELOG.md updated. v0.10.0 2021-06-14 16:18:46 -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
Geoffrey K TaylorandGitHub 71be0427be Merge pull request #492 from jacobarriola/bugfix/session-transaction-manager
Session Transaction Manager bugfixes and enhancements
2021-06-14 12:26:08 -04:00
Geoff Taylor da02e43afc Syntax error fix 2021-06-14 12:25:29 -04:00
Geoffrey K TaylorandGitHub a0de0f51fe Merge pull request #507 from manuelsampl/patch-1
Update class-checkout-mutation.php
2021-06-14 12:23:42 -04:00
Jacob ArriolaandGeoff 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 ArriolaandGeoff 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 ArriolaandGeoff 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
manuelsamplandGeoff Taylor 85de652693 Update class-checkout-mutation.php
Static Keyword missing
2021-06-14 12:14:50 -04:00
Geoffrey K TaylorandGitHub 121a651cf5 Merge pull request #511 from kidunot89/bugfix/customer-connection-refactored
"Customer_Connection_Resolver" deprecated.
2021-06-14 12:13:42 -04:00
Geoff Taylor f97664c853 Syntax error fixed. 2021-06-14 12:10:59 -04:00
Geoff Taylor 3c40105499 Dockerfile fixed. 2021-06-14 12:02:37 -04:00
Geoff Taylor 83c8aed558 WPCS compliance met 2021-06-14 11:56:22 -04:00
Geoff Taylor 66690f03ff "Customer_Connection_Resolver" deprecated. 2021-06-14 11:40:42 -04:00
Geoffrey K TaylorandGitHub a98998d279 Merge pull request #509 from kidunot89/bugfix/cart-item-connections-refactored
Cart_Item_Connection_Resolver pagination fixed.
2021-06-12 22:49:01 -04:00
Geoff Taylor f9e23738f3 Dockerfile updated 2021-06-12 22:31:27 -04:00
Geoff Taylor 0300aab12e Syntax error fixed. 2021-06-12 22:24:56 -04:00
Geoff Taylor 22bbc38765 WPCS compliance met. 2021-06-12 22:18:41 -04:00
Geoff Taylor 9e31f47e51 Cart item connection pagination refactored. 2021-06-12 22:06:44 -04:00
Geoffrey K TaylorandGitHub 83f02109fb Merge pull request #500 from kidunot89/feature/order-refund-connection-upgrade
"Order/Refund_Connection_Resolver" classes deprecated
2021-06-10 14:42:53 -04:00
Geoff Taylor e293fe8b6a coding standards met. 2021-06-04 19:58:37 -04:00
Geoff Taylor 86c7fb8b4e Refund connections refactored. 2021-06-04 00:12:35 -04:00