@easypayment/medusa-payment-paypal 0.7.9 → 0.8.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.
|
@@ -180,6 +180,9 @@ function AdditionalSettingsTab() {
|
|
|
180
180
|
)
|
|
181
181
|
] }) });
|
|
182
182
|
}
|
|
183
|
+
function PayPalApplePayPage() {
|
|
184
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
185
|
+
}
|
|
183
186
|
async function adminFetch$1(path, opts = {}) {
|
|
184
187
|
var _a;
|
|
185
188
|
const { method = "GET", body, query } = opts;
|
|
@@ -319,12 +322,6 @@ function AdvancedCardPaymentsTab() {
|
|
|
319
322
|
)
|
|
320
323
|
] }) });
|
|
321
324
|
}
|
|
322
|
-
function PayPalApplePayPage() {
|
|
323
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
324
|
-
}
|
|
325
|
-
function PayPalGooglePayPage() {
|
|
326
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
327
|
-
}
|
|
328
325
|
const config = adminSdk.defineRouteConfig({
|
|
329
326
|
label: "PayPal Connection",
|
|
330
327
|
hide: true
|
|
@@ -918,6 +915,9 @@ function PayPalConnectionPage() {
|
|
|
918
915
|
` })
|
|
919
916
|
] });
|
|
920
917
|
}
|
|
918
|
+
function PayPalGooglePayPage() {
|
|
919
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
920
|
+
}
|
|
921
921
|
function PayPalPayLaterMessagingPage() {
|
|
922
922
|
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
923
923
|
}
|
|
@@ -1205,22 +1205,22 @@ const routeModule = {
|
|
|
1205
1205
|
Component: AdditionalSettingsTab,
|
|
1206
1206
|
path: "/settings/paypal/additional-settings"
|
|
1207
1207
|
},
|
|
1208
|
-
{
|
|
1209
|
-
Component: AdvancedCardPaymentsTab,
|
|
1210
|
-
path: "/settings/paypal/advanced-card-payments"
|
|
1211
|
-
},
|
|
1212
1208
|
{
|
|
1213
1209
|
Component: PayPalApplePayPage,
|
|
1214
1210
|
path: "/settings/paypal/apple-pay"
|
|
1215
1211
|
},
|
|
1216
1212
|
{
|
|
1217
|
-
Component:
|
|
1218
|
-
path: "/settings/paypal/
|
|
1213
|
+
Component: AdvancedCardPaymentsTab,
|
|
1214
|
+
path: "/settings/paypal/advanced-card-payments"
|
|
1219
1215
|
},
|
|
1220
1216
|
{
|
|
1221
1217
|
Component: PayPalConnectionPage,
|
|
1222
1218
|
path: "/settings/paypal/connection"
|
|
1223
1219
|
},
|
|
1220
|
+
{
|
|
1221
|
+
Component: PayPalGooglePayPage,
|
|
1222
|
+
path: "/settings/paypal/google-pay"
|
|
1223
|
+
},
|
|
1224
1224
|
{
|
|
1225
1225
|
Component: PayPalPayLaterMessagingPage,
|
|
1226
1226
|
path: "/settings/paypal/pay-later-messaging"
|
|
@@ -179,6 +179,9 @@ function AdditionalSettingsTab() {
|
|
|
179
179
|
)
|
|
180
180
|
] }) });
|
|
181
181
|
}
|
|
182
|
+
function PayPalApplePayPage() {
|
|
183
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
184
|
+
}
|
|
182
185
|
async function adminFetch$1(path, opts = {}) {
|
|
183
186
|
var _a;
|
|
184
187
|
const { method = "GET", body, query } = opts;
|
|
@@ -318,12 +321,6 @@ function AdvancedCardPaymentsTab() {
|
|
|
318
321
|
)
|
|
319
322
|
] }) });
|
|
320
323
|
}
|
|
321
|
-
function PayPalApplePayPage() {
|
|
322
|
-
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
323
|
-
}
|
|
324
|
-
function PayPalGooglePayPage() {
|
|
325
|
-
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
326
|
-
}
|
|
327
324
|
const config = defineRouteConfig({
|
|
328
325
|
label: "PayPal Connection",
|
|
329
326
|
hide: true
|
|
@@ -917,6 +914,9 @@ function PayPalConnectionPage() {
|
|
|
917
914
|
` })
|
|
918
915
|
] });
|
|
919
916
|
}
|
|
917
|
+
function PayPalGooglePayPage() {
|
|
918
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
919
|
+
}
|
|
920
920
|
function PayPalPayLaterMessagingPage() {
|
|
921
921
|
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
922
922
|
}
|
|
@@ -1204,22 +1204,22 @@ const routeModule = {
|
|
|
1204
1204
|
Component: AdditionalSettingsTab,
|
|
1205
1205
|
path: "/settings/paypal/additional-settings"
|
|
1206
1206
|
},
|
|
1207
|
-
{
|
|
1208
|
-
Component: AdvancedCardPaymentsTab,
|
|
1209
|
-
path: "/settings/paypal/advanced-card-payments"
|
|
1210
|
-
},
|
|
1211
1207
|
{
|
|
1212
1208
|
Component: PayPalApplePayPage,
|
|
1213
1209
|
path: "/settings/paypal/apple-pay"
|
|
1214
1210
|
},
|
|
1215
1211
|
{
|
|
1216
|
-
Component:
|
|
1217
|
-
path: "/settings/paypal/
|
|
1212
|
+
Component: AdvancedCardPaymentsTab,
|
|
1213
|
+
path: "/settings/paypal/advanced-card-payments"
|
|
1218
1214
|
},
|
|
1219
1215
|
{
|
|
1220
1216
|
Component: PayPalConnectionPage,
|
|
1221
1217
|
path: "/settings/paypal/connection"
|
|
1222
1218
|
},
|
|
1219
|
+
{
|
|
1220
|
+
Component: PayPalGooglePayPage,
|
|
1221
|
+
path: "/settings/paypal/google-pay"
|
|
1222
|
+
},
|
|
1223
1223
|
{
|
|
1224
1224
|
Component: PayPalPayLaterMessagingPage,
|
|
1225
1225
|
path: "/settings/paypal/pay-later-messaging"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easypayment/medusa-payment-paypal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "PayPal integration for Medusa v2",
|
|
5
5
|
"author": "EasyPayment Plugins",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"repository": {
|
|
66
66
|
"type": "git",
|
|
67
|
-
"url": "https://github.com/
|
|
67
|
+
"url": "https://github.com/easypaymentplugins/medusa-paypal.git"
|
|
68
68
|
},
|
|
69
69
|
"keywords": [
|
|
70
70
|
"medusa",
|