mishochu Developer From United States Member since Mar 2021 mishochu Aug 22 2023 06:14 PM This release fixes an issue where the LiteCart order was missing the Square Order after checkout
candypalace Merchant From United Kingdom Member since Apr 2023 candypalace Aug 25 2023 10:54 AM Hi after installing the square add on i get the message missing order id
mishochu Developer From United States Member since Mar 2021 mishochu Aug 25 2023 05:54 PM Do you get this during a checkout? If so, then in your logs there should be a log either called, http_request_last-connect.squareupsandbox.com.log or http_request_last-connect.squareup.com.log In it you'll need to make sure that the last line did contain JSON with a field called, "order_id". If it doesn't you should be able to copy that last line and paste it here (it would only contain an error and not identifiable information). If it does contain "order_id" it would have identifiable information and there would be a bug that I need to address. My first guess would be that you have not added the correct configuration information in settings to hit either your production or sandbox application in your Square account.
mishochu Developer From United States Member since Mar 2021 mishochu Aug 25 2023 06:08 PM You may be interested in watching this: https://youtu.be/3s_3YUDsIzw
litecart_rocks LiteCart Fan From United States Member since Nov 2023 litecart_rocks Nov 16 2023 07:48 AM ah thank you! I had the missing order id issue - came here - read the posts, and watched the youtube video which REALLY helped - as the read me is not quite clear on its own. For me i was missing the location string which Square creates per your user defined "text name" location - and then I could get to the checkout page - ending the missing order id mystery.
litecart_rocks LiteCart Fan From United States Member since Nov 2023 litecart_rocks Jan 5 2024 10:51 PM Looking at this closer - I do not see the shipping cost passed onto square. Any tips on how to include the shipping in the final cost? i see in the wiki "how_to_create_a_payment_module" https://www.litecart.net/en/wiki/how_to_create_a_payment_module a for loop... - but it does not seem to include the shipping - how to add that - just the shipping in that example? otherwise "The total amount of the order that include all the fees (shipping fees, payment fees, VAT, etc.) can be accessed via : $order->data['payment_due']" i added that - but if there are multiple items - the for loop example doubles the price when all fees are inserted...
mishochu Developer From United States Member since Mar 2021 mishochu Jan 19 2024 09:22 PM Sorry for the delay in responding...I'll take a look at this tonight or tomorrow and update the source here: https://github.com/mishfit/litecart_square_addon