New Release Square Add-on

Developer
De United States
Membro desde mar 2021

This release fixes an issue where the LiteCart order was missing the Square Order after checkout

Merchant
De United Kingdom
Membro desde abr 2023

Hi after installing the square add on i get the message missing order id

Developer
De United States
Membro desde mar 2021

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.

LiteCart Fan
De United States
Membro desde nov 2023

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 Fan
De United States
Membro desde nov 2023

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...

Tu
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.