Skip to content

Magento 2 : Graphql setShippingAddressesOnCart default query duplicates the addresses in quote_address table

I’m using Magento version 2.4.5-p1 And I’m trying to setShippingAddressesOnCart using graphql for logged-in customers. This is the default Magento query I’m using but it’s duplicating the data for the shipping address in quote_address, For Example, If I setShippingAddressesOnCart query… Read More »Magento 2 : Graphql setShippingAddressesOnCart default query duplicates the addresses in quote_address table

Integrity constraint violation error magento2.4.3

I am getting this error: main.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘last_visit_at’ cannot be null, query was: INSERT INTO customer_visitor (customer_id, session_id, last_visit_at) VALUES (?, ?, ?) [] [] please guide me on how to solve this.

Payment method class override

Is there any way to override this class “vendor/paypal/module-braintree-core/Gateway/Command/GatewayCommand.php”? I have tried to override this class method using plugin and preference but no luck. Thanks,