Quote Originally Posted by Fjolsvith View Post
Ah, you are correct. I modified modules\payment\square.php around line 318 to add extra information about the order to the description passed to square:

Code:
    if (sizeof($order->products) < 100) {
        $p = '';
            for ($i = 0; $i < sizeof($order->products); $i++) {
                $p2 = $order->products[$i];
                if (!$p == '') {
                    $p .= ', ';
                }
                $p .= '(' . $p2['qty'] . ') ' . $p2['name'] ;
            }
        }
        $p = 'Item(s) Ordered:' . $p;
        
        $d = 'Delivery Address: ' . $order->delivery['street_address'] . ', ' . $order->delivery['city'] . ', ' . $order->delivery['state'] . '  ' . $order->delivery['postcode'] . '  tel:' . $order->customer['telephone'];
        $p .= '; ' . $d;

        $note = htmlentities(trim($order->billing['firstname'] . ' ' . $order->billing['lastname'] . ' ' . $p . ' ' . STORE_NAME));
After reviewing it, I figured it makes sense to incorporate this too, so (a modified form of) this is now in v1.0.