@easypayment/medusa-payment-paypal 0.8.4 → 0.8.5
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.
|
@@ -319,6 +319,9 @@ function AdvancedCardPaymentsTab() {
|
|
|
319
319
|
)
|
|
320
320
|
] }) });
|
|
321
321
|
}
|
|
322
|
+
function PayPalApplePayPage() {
|
|
323
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
324
|
+
}
|
|
322
325
|
const config = adminSdk.defineRouteConfig({
|
|
323
326
|
label: "PayPal Connection",
|
|
324
327
|
hide: true
|
|
@@ -912,10 +915,10 @@ function PayPalConnectionPage() {
|
|
|
912
915
|
` })
|
|
913
916
|
] });
|
|
914
917
|
}
|
|
915
|
-
function
|
|
918
|
+
function PayPalGooglePayPage() {
|
|
916
919
|
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
917
920
|
}
|
|
918
|
-
function
|
|
921
|
+
function PayPalPayLaterMessagingPage() {
|
|
919
922
|
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
920
923
|
}
|
|
921
924
|
async function adminFetch(path, opts = {}) {
|
|
@@ -1191,9 +1194,6 @@ function PayPalSettingsTab() {
|
|
|
1191
1194
|
)
|
|
1192
1195
|
] }) });
|
|
1193
1196
|
}
|
|
1194
|
-
function PayPalPayLaterMessagingPage() {
|
|
1195
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
1196
|
-
}
|
|
1197
1197
|
const widgetModule = { widgets: [] };
|
|
1198
1198
|
const routeModule = {
|
|
1199
1199
|
routes: [
|
|
@@ -1209,25 +1209,25 @@ const routeModule = {
|
|
|
1209
1209
|
Component: AdvancedCardPaymentsTab,
|
|
1210
1210
|
path: "/settings/paypal/advanced-card-payments"
|
|
1211
1211
|
},
|
|
1212
|
-
{
|
|
1213
|
-
Component: PayPalConnectionPage,
|
|
1214
|
-
path: "/settings/paypal/connection"
|
|
1215
|
-
},
|
|
1216
1212
|
{
|
|
1217
1213
|
Component: PayPalApplePayPage,
|
|
1218
1214
|
path: "/settings/paypal/apple-pay"
|
|
1219
1215
|
},
|
|
1220
1216
|
{
|
|
1221
|
-
Component:
|
|
1222
|
-
path: "/settings/paypal/
|
|
1217
|
+
Component: PayPalConnectionPage,
|
|
1218
|
+
path: "/settings/paypal/connection"
|
|
1223
1219
|
},
|
|
1224
1220
|
{
|
|
1225
|
-
Component:
|
|
1226
|
-
path: "/settings/paypal/
|
|
1221
|
+
Component: PayPalGooglePayPage,
|
|
1222
|
+
path: "/settings/paypal/google-pay"
|
|
1227
1223
|
},
|
|
1228
1224
|
{
|
|
1229
1225
|
Component: PayPalPayLaterMessagingPage,
|
|
1230
1226
|
path: "/settings/paypal/pay-later-messaging"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
Component: PayPalSettingsTab,
|
|
1230
|
+
path: "/settings/paypal/paypal-settings"
|
|
1231
1231
|
}
|
|
1232
1232
|
]
|
|
1233
1233
|
};
|
|
@@ -318,6 +318,9 @@ function AdvancedCardPaymentsTab() {
|
|
|
318
318
|
)
|
|
319
319
|
] }) });
|
|
320
320
|
}
|
|
321
|
+
function PayPalApplePayPage() {
|
|
322
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
323
|
+
}
|
|
321
324
|
const config = defineRouteConfig({
|
|
322
325
|
label: "PayPal Connection",
|
|
323
326
|
hide: true
|
|
@@ -911,10 +914,10 @@ function PayPalConnectionPage() {
|
|
|
911
914
|
` })
|
|
912
915
|
] });
|
|
913
916
|
}
|
|
914
|
-
function
|
|
917
|
+
function PayPalGooglePayPage() {
|
|
915
918
|
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
916
919
|
}
|
|
917
|
-
function
|
|
920
|
+
function PayPalPayLaterMessagingPage() {
|
|
918
921
|
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
919
922
|
}
|
|
920
923
|
async function adminFetch(path, opts = {}) {
|
|
@@ -1190,9 +1193,6 @@ function PayPalSettingsTab() {
|
|
|
1190
1193
|
)
|
|
1191
1194
|
] }) });
|
|
1192
1195
|
}
|
|
1193
|
-
function PayPalPayLaterMessagingPage() {
|
|
1194
|
-
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
1195
|
-
}
|
|
1196
1196
|
const widgetModule = { widgets: [] };
|
|
1197
1197
|
const routeModule = {
|
|
1198
1198
|
routes: [
|
|
@@ -1208,25 +1208,25 @@ const routeModule = {
|
|
|
1208
1208
|
Component: AdvancedCardPaymentsTab,
|
|
1209
1209
|
path: "/settings/paypal/advanced-card-payments"
|
|
1210
1210
|
},
|
|
1211
|
-
{
|
|
1212
|
-
Component: PayPalConnectionPage,
|
|
1213
|
-
path: "/settings/paypal/connection"
|
|
1214
|
-
},
|
|
1215
1211
|
{
|
|
1216
1212
|
Component: PayPalApplePayPage,
|
|
1217
1213
|
path: "/settings/paypal/apple-pay"
|
|
1218
1214
|
},
|
|
1219
1215
|
{
|
|
1220
|
-
Component:
|
|
1221
|
-
path: "/settings/paypal/
|
|
1216
|
+
Component: PayPalConnectionPage,
|
|
1217
|
+
path: "/settings/paypal/connection"
|
|
1222
1218
|
},
|
|
1223
1219
|
{
|
|
1224
|
-
Component:
|
|
1225
|
-
path: "/settings/paypal/
|
|
1220
|
+
Component: PayPalGooglePayPage,
|
|
1221
|
+
path: "/settings/paypal/google-pay"
|
|
1226
1222
|
},
|
|
1227
1223
|
{
|
|
1228
1224
|
Component: PayPalPayLaterMessagingPage,
|
|
1229
1225
|
path: "/settings/paypal/pay-later-messaging"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
Component: PayPalSettingsTab,
|
|
1229
|
+
path: "/settings/paypal/paypal-settings"
|
|
1230
1230
|
}
|
|
1231
1231
|
]
|
|
1232
1232
|
};
|