Add PostalPoint receipt ID to Square transaction data, v1.1.0
This commit is contained in:
parent
2b6353170f
commit
9e190b45bd
4
Square/package-lock.json
generated
4
Square/package-lock.json
generated
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user