@tineon/t9n 0.1.6 → 0.1.7
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/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -206,6 +206,7 @@ export class T9nCheckout {
|
|
|
206
206
|
this.modal?.showResult("failed", "No payment detected yet. Please try again.");
|
|
207
207
|
this.lastResultFailed = true;
|
|
208
208
|
this.modal?.setConfirmLabel("Retry check");
|
|
209
|
+
this.emitFailOnce({ sessionId: this.sessionId || undefined, error: "payment not detected" });
|
|
209
210
|
return;
|
|
210
211
|
}
|
|
211
212
|
this.modal?.setConfirmLabel("I have made the payment");
|
|
@@ -275,6 +276,7 @@ export class T9nCheckout {
|
|
|
275
276
|
if (this.hasAttemptedConfirm) {
|
|
276
277
|
this.modal?.showResult("failed", "No payment detected yet. Please try again.");
|
|
277
278
|
this.lastResultFailed = true;
|
|
279
|
+
this.emitFailOnce({ sessionId: this.sessionId || undefined, error: "payment not detected" });
|
|
278
280
|
}
|
|
279
281
|
}
|
|
280
282
|
}
|