@school24/paymentjs-rn 1.3.0 → 1.4.0
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/PaymentJS.js +1 -1
- package/dist/types.d.ts +0 -3
- package/package.json +1 -1
package/dist/PaymentJS.js
CHANGED
|
@@ -37,7 +37,7 @@ const react_1 = __importStar(require("react"));
|
|
|
37
37
|
const react_native_1 = require("react-native");
|
|
38
38
|
const react_native_webview_1 = require("react-native-webview");
|
|
39
39
|
const PaymentJS = (props) => {
|
|
40
|
-
const { uri: customUri, onSuccess, onFailure, style, environment = "test", shopperReference = "USER123", amount = 100, currency = "AUD", storePaymentMethod = true, baseUrl = "https://
|
|
40
|
+
const { uri: customUri, onSuccess, onFailure, style, environment = "test", shopperReference = "USER123", amount = 100, currency = "AUD", storePaymentMethod = true, baseUrl = "https://www.school24.net.au/valpay-gateway", } = props;
|
|
41
41
|
// Auto-build URI with query params if customUri not provided
|
|
42
42
|
const finalUri = (0, react_1.useMemo)(() => {
|
|
43
43
|
if (customUri)
|
package/dist/types.d.ts
CHANGED