Add PostalPoint receipt ID to Square transaction data, v1.1.0

This commit is contained in:
Skylar Ittner 2026-03-10 18:32:04 -06:00
parent 2b6353170f
commit 9e190b45bd
3 changed files with 8 additions and 4 deletions

View File

@ -1,12 +1,12 @@
{
"name": "postalpoint_square_plugin",
"version": "1.0.3",
"version": "1.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "postalpoint_square_plugin",
"version": "1.0.0",
"version": "1.1.0",
"license": "BSD-3-Clause"
}
}

View File

@ -1,12 +1,12 @@
{
"name": "postalpoint_square_plugin",
"version": "1.0.3",
"version": "1.1.0",
"main": "plugin.js",
"author": "PostalPortal LLC",
"license": "BSD-3-Clause",
"description": "Connect PostalPoint to your Square account and a Square Terminal smart card reader. This plugin supports in-person card payments and saving cards for later use when the customer isn't present, such as for mailbox renewals.",
"postalpoint": {
"pluginname": "Square Terminal",
"minVersion": "000034"
"minVersion": "000047"
}
}

View File

@ -367,6 +367,8 @@ exports.init = function () {
amount: amount,
currency: "USD"
},
reference_id: global.apis.pos.getReceiptID(),
note: "Via PostalPoint",
device_options: {
device_id: global.apis.settings.get("app.postalpoint.squareterminal.terminal_device_id", ""),
tip_settings: {
@ -471,6 +473,8 @@ exports.init = function () {
amount: amount,
currency: "USD"
},
reference_id: global.apis.pos.getReceiptID(),
note: "Via PostalPoint",
autocomplete: true,
source_id: paymentMethodID,
customer_id: customerID