@lightspeed/online-payments-sdk 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/cjs/v1/stripe/terms.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/v1/stripe/terms.d.ts +1 -1
- package/dist/v1/stripe/terms.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ import {THEME_COLORS} from '@lightspeed/online-payments-sdk';
|
|
|
55
55
|
## Documentation
|
|
56
56
|
|
|
57
57
|
- Datadog logging reference: `packages/lsp-online-payments-sdk/docs/DATADOG_LOGGING.md`
|
|
58
|
+
- Sandbox releases (testing unreleased builds in a real app): `packages/lsp-online-payments-sdk/docs/sandbox-releases.md`
|
|
58
59
|
|
|
59
60
|
## Development
|
|
60
61
|
|
|
@@ -90,3 +91,11 @@ Publishing is handled by CircleCI (not manual local publish).
|
|
|
90
91
|
- A human must approve before the `release` job runs `npm publish`.
|
|
91
92
|
|
|
92
93
|
In practice: bump `version` in `packages/lsp-online-payments-sdk/package.json`, merge to `main`, then approve the release hold in CircleCI.
|
|
94
|
+
|
|
95
|
+
### Sandbox releases
|
|
96
|
+
|
|
97
|
+
To test unreleased SDK changes inside a real app without touching the production
|
|
98
|
+
package on public npm, publish a **sandbox** build to GitHub Packages: push a
|
|
99
|
+
`sandbox/*` branch and approve the `hold_sandbox` step in CircleCI. Consuming an
|
|
100
|
+
app requires no `import` changes — just an `.npmrc` scope + a `package.json`
|
|
101
|
+
alias. See `docs/sandbox-releases.md` for the full publish and consume steps.
|
|
@@ -25,7 +25,7 @@ exports.ACH_TERMS_TEXT = {
|
|
|
25
25
|
*/
|
|
26
26
|
EXPANDED_TERMS_PARAGRAPHS: [
|
|
27
27
|
'By providing your bank account details and confirming this payment, you authorize the merchant to debit your account for the amount shown.',
|
|
28
|
-
'If you choose to save your bank account for future payments, this authorization will also apply to any amounts now or hereafter due and payable, including amounts previously invoiced, accrued, outstanding, or otherwise payable, in addition to current, and future payment obligations owed for products or services provided by the merchant, until you cancel it.',
|
|
28
|
+
'If you choose to save your bank account for future payments, this authorization will also apply to any amounts now or hereafter due and payable, including amounts previously invoiced, accrued, outstanding, or otherwise payable, in addition to current, and future payment obligations owed for products or services provided by the merchant, until you cancel it. For returns due to insufficient funds or uncollected funds, the merchant may retry the debit up to two additional times. If you save your bank account, you authorize Stripe and Lightspeed to access your account status and balance information, where available, before submitting current or future ACH payments. A balance check does not guarantee that an ACH payment will be completed.',
|
|
29
29
|
'You also authorize the merchant to credit your account as necessary to correct any erroneous debits.',
|
|
30
30
|
'You may revoke authorization at any time by contacting the merchant, allowing up to thirty (30) days for processing.\nYou confirm that you are an authorized signer on the account and that sufficient funds will be available for each payment.\nACH payments may take up to five (5) business days to complete, and you may be responsible for fees if a payment is returned.',
|
|
31
31
|
],
|
package/dist/cjs/version.js
CHANGED
|
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SDK_VERSION = void 0;
|
|
4
4
|
// This file is auto-generated during the build process
|
|
5
5
|
// DO NOT EDIT MANUALLY - Version is extracted from package.json
|
|
6
|
-
exports.SDK_VERSION = '1.6.
|
|
6
|
+
exports.SDK_VERSION = '1.6.2';
|
|
@@ -20,7 +20,7 @@ export declare const ACH_TERMS_TEXT: {
|
|
|
20
20
|
* Each entry is a separate paragraph rendered when the user expands
|
|
21
21
|
* "these terms". Kept as plain text — HTML structure is built in code.
|
|
22
22
|
*/
|
|
23
|
-
readonly EXPANDED_TERMS_PARAGRAPHS: readonly ["By providing your bank account details and confirming this payment, you authorize the merchant to debit your account for the amount shown.", "If you choose to save your bank account for future payments, this authorization will also apply to any amounts now or hereafter due and payable, including amounts previously invoiced, accrued, outstanding, or otherwise payable, in addition to current, and future payment obligations owed for products or services provided by the merchant, until you cancel it.", "You also authorize the merchant to credit your account as necessary to correct any erroneous debits.", "You may revoke authorization at any time by contacting the merchant, allowing up to thirty (30) days for processing.\nYou confirm that you are an authorized signer on the account and that sufficient funds will be available for each payment.\nACH payments may take up to five (5) business days to complete, and you may be responsible for fees if a payment is returned."];
|
|
23
|
+
readonly EXPANDED_TERMS_PARAGRAPHS: readonly ["By providing your bank account details and confirming this payment, you authorize the merchant to debit your account for the amount shown.", "If you choose to save your bank account for future payments, this authorization will also apply to any amounts now or hereafter due and payable, including amounts previously invoiced, accrued, outstanding, or otherwise payable, in addition to current, and future payment obligations owed for products or services provided by the merchant, until you cancel it. For returns due to insufficient funds or uncollected funds, the merchant may retry the debit up to two additional times. If you save your bank account, you authorize Stripe and Lightspeed to access your account status and balance information, where available, before submitting current or future ACH payments. A balance check does not guarantee that an ACH payment will be completed.", "You also authorize the merchant to credit your account as necessary to correct any erroneous debits.", "You may revoke authorization at any time by contacting the merchant, allowing up to thirty (30) days for processing.\nYou confirm that you are an authorized signer on the account and that sufficient funds will be available for each payment.\nACH payments may take up to five (5) business days to complete, and you may be responsible for fees if a payment is returned."];
|
|
24
24
|
/**
|
|
25
25
|
* Final paragraph containing a link to the Privacy Policy.
|
|
26
26
|
* The link text and URL are defined separately so translators only
|
package/dist/v1/stripe/terms.js
CHANGED
|
@@ -22,7 +22,7 @@ export var ACH_TERMS_TEXT = {
|
|
|
22
22
|
*/
|
|
23
23
|
EXPANDED_TERMS_PARAGRAPHS: [
|
|
24
24
|
'By providing your bank account details and confirming this payment, you authorize the merchant to debit your account for the amount shown.',
|
|
25
|
-
'If you choose to save your bank account for future payments, this authorization will also apply to any amounts now or hereafter due and payable, including amounts previously invoiced, accrued, outstanding, or otherwise payable, in addition to current, and future payment obligations owed for products or services provided by the merchant, until you cancel it.',
|
|
25
|
+
'If you choose to save your bank account for future payments, this authorization will also apply to any amounts now or hereafter due and payable, including amounts previously invoiced, accrued, outstanding, or otherwise payable, in addition to current, and future payment obligations owed for products or services provided by the merchant, until you cancel it. For returns due to insufficient funds or uncollected funds, the merchant may retry the debit up to two additional times. If you save your bank account, you authorize Stripe and Lightspeed to access your account status and balance information, where available, before submitting current or future ACH payments. A balance check does not guarantee that an ACH payment will be completed.',
|
|
26
26
|
'You also authorize the merchant to credit your account as necessary to correct any erroneous debits.',
|
|
27
27
|
'You may revoke authorization at any time by contacting the merchant, allowing up to thirty (30) days for processing.\nYou confirm that you are an authorized signer on the account and that sufficient funds will be available for each payment.\nACH payments may take up to five (5) business days to complete, and you may be responsible for fees if a payment is returned.',
|
|
28
28
|
],
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED