moneris-checkout
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -40,3 +40,3 @@ "use strict"; | ||
payload.environment = this.environment; | ||
payload.txn_total = totalPrice; | ||
payload.txn_total = totalPrice.toFixed(2); | ||
payload.action = global_1.RequestType.PRELOAD; | ||
@@ -43,0 +43,0 @@ return yield this.sendRequest(this.requestOption, payload); |
@@ -11,3 +11,3 @@ import { EnvironmentType, RequestType, LanguageType } from "../../global"; | ||
checkout_id: string; | ||
txn_total: number; | ||
txn_total: number | string; | ||
environment: EnvironmentType; | ||
@@ -14,0 +14,0 @@ action: RequestType; |
{ | ||
"name": "moneris-checkout", | ||
"homepage": "https://github.com/bravemaster619/moneris-checkout", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Moneris checkout", | ||
@@ -6,0 +6,0 @@ "main": "dist/moneris-checkout.js", |
@@ -34,3 +34,3 @@ import https from "https"; | ||
payload.environment = this.environment; | ||
payload.txn_total = totalPrice; | ||
payload.txn_total = totalPrice.toFixed(2); | ||
payload.action = RequestType.PRELOAD; | ||
@@ -37,0 +37,0 @@ return await this.sendRequest(this.requestOption, payload); |
@@ -12,3 +12,3 @@ import { EnvironmentType, RequestType, LanguageType } from "../../global"; | ||
checkout_id: string; | ||
txn_total: number; | ||
txn_total: number|string; | ||
environment: EnvironmentType; | ||
@@ -15,0 +15,0 @@ action: RequestType; |
Sorry, the diff of this file is not supported yet
56301