diff --git a/android/src/main/java/com/stripeterminalreactnative/listener/RNOfflineListener.kt b/android/src/main/java/com/stripeterminalreactnative/listener/RNOfflineListener.kt index cf21b0a7..4e52fbca 100644 --- a/android/src/main/java/com/stripeterminalreactnative/listener/RNOfflineListener.kt +++ b/android/src/main/java/com/stripeterminalreactnative/listener/RNOfflineListener.kt @@ -28,7 +28,7 @@ class RNOfflineListener( putMap("result", mapFromPaymentIntent(paymentIntent, "")) putMap("error", nativeMapOf { putString("code", e?.errorCode.toString()) - putString("message", "hahahaha") + putString("message", e?.errorMessage) }) } } diff --git a/e2e/app.e2e.js b/e2e/app.e2e.js index 03d2c043..0bf0789e 100644 --- a/e2e/app.e2e.js +++ b/e2e/app.e2e.js @@ -115,7 +115,7 @@ describe('Basic funtionalities', () => { await checkIfLogExist('removeCard'); await checkIfLogExist('Collected'); await checkIfLogExist('Process'); - await checkIfLogExist('Processed'); + await checkIfLogExist('Confirmed'); await checkIfLogExist('Capture'); await checkIfLogExist('Captured'); }); diff --git a/e2e/internet-reader.e2e.js b/e2e/internet-reader.e2e.js index 6df50596..346ed73f 100644 --- a/e2e/internet-reader.e2e.js +++ b/e2e/internet-reader.e2e.js @@ -70,7 +70,7 @@ describe('Internet reader', () => { await checkIfLogExist('Collect'); await checkIfLogExist('Collected'); await checkIfLogExist('Process'); - await checkIfLogExist('Processed'); + await checkIfLogExist('Confirmed'); await checkIfLogExist('Capture'); await checkIfLogExist('Captured'); }); diff --git a/e2e/utils.js b/e2e/utils.js index 74f4d98d..5637f3e5 100644 --- a/e2e/utils.js +++ b/e2e/utils.js @@ -181,7 +181,7 @@ export const createInteracPayment = async (reader = 'wisePad3') => { await checkIfLogExist('Collect'); await checkIfLogExist('Collected'); await checkIfLogExist('Process'); - await checkIfLogExist('Processed'); + await checkIfLogExist('Confirmed'); }; export const collectInteracRefund = async () => {