@easypayment/medusa-payment-paypal 0.7.9 → 0.8.1
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/.medusa/server/src/admin/index.js +10 -10
- package/.medusa/server/src/admin/index.mjs +10 -10
- package/README.md +2 -2
- package/package.json +2 -2
|
@@ -180,6 +180,12 @@ 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
|
+
}
|
|
186
|
+
function PayPalGooglePayPage() {
|
|
187
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
188
|
+
}
|
|
183
189
|
async function adminFetch$1(path, opts = {}) {
|
|
184
190
|
var _a;
|
|
185
191
|
const { method = "GET", body, query } = opts;
|
|
@@ -319,12 +325,6 @@ function AdvancedCardPaymentsTab() {
|
|
|
319
325
|
)
|
|
320
326
|
] }) });
|
|
321
327
|
}
|
|
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
328
|
const config = adminSdk.defineRouteConfig({
|
|
329
329
|
label: "PayPal Connection",
|
|
330
330
|
hide: true
|
|
@@ -1205,10 +1205,6 @@ 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"
|
|
@@ -1217,6 +1213,10 @@ const routeModule = {
|
|
|
1217
1213
|
Component: PayPalGooglePayPage,
|
|
1218
1214
|
path: "/settings/paypal/google-pay"
|
|
1219
1215
|
},
|
|
1216
|
+
{
|
|
1217
|
+
Component: AdvancedCardPaymentsTab,
|
|
1218
|
+
path: "/settings/paypal/advanced-card-payments"
|
|
1219
|
+
},
|
|
1220
1220
|
{
|
|
1221
1221
|
Component: PayPalConnectionPage,
|
|
1222
1222
|
path: "/settings/paypal/connection"
|
|
@@ -179,6 +179,12 @@ function AdditionalSettingsTab() {
|
|
|
179
179
|
)
|
|
180
180
|
] }) });
|
|
181
181
|
}
|
|
182
|
+
function PayPalApplePayPage() {
|
|
183
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
184
|
+
}
|
|
185
|
+
function PayPalGooglePayPage() {
|
|
186
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
187
|
+
}
|
|
182
188
|
async function adminFetch$1(path, opts = {}) {
|
|
183
189
|
var _a;
|
|
184
190
|
const { method = "GET", body, query } = opts;
|
|
@@ -318,12 +324,6 @@ function AdvancedCardPaymentsTab() {
|
|
|
318
324
|
)
|
|
319
325
|
] }) });
|
|
320
326
|
}
|
|
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
327
|
const config = defineRouteConfig({
|
|
328
328
|
label: "PayPal Connection",
|
|
329
329
|
hide: true
|
|
@@ -1204,10 +1204,6 @@ 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"
|
|
@@ -1216,6 +1212,10 @@ const routeModule = {
|
|
|
1216
1212
|
Component: PayPalGooglePayPage,
|
|
1217
1213
|
path: "/settings/paypal/google-pay"
|
|
1218
1214
|
},
|
|
1215
|
+
{
|
|
1216
|
+
Component: AdvancedCardPaymentsTab,
|
|
1217
|
+
path: "/settings/paypal/advanced-card-payments"
|
|
1218
|
+
},
|
|
1219
1219
|
{
|
|
1220
1220
|
Component: PayPalConnectionPage,
|
|
1221
1221
|
path: "/settings/paypal/connection"
|
package/README.md
CHANGED
|
@@ -161,9 +161,9 @@ All settings live in **Medusa Admin → Settings → PayPal** and apply immediat
|
|
|
161
161
|
|
|
162
162
|
The checkout UI is shipped as a separate package — **install it inside your storefront project**, not in this backend.
|
|
163
163
|
|
|
164
|
-
📦 **[@easypayment/medusa-
|
|
164
|
+
📦 **[@easypayment/medusa-paypal-ui](https://www.npmjs.com/package/@easypayment/medusa-paypal-ui)** — React components, hooks, and a drop-in payment step adapter for Next.js App Router storefronts.
|
|
165
165
|
|
|
166
|
-
See the [storefront integration & testing guide →](https://www.npmjs.com/package/@easypayment/medusa-
|
|
166
|
+
See the [storefront integration & testing guide →](https://www.npmjs.com/package/@easypayment/medusa-paypal-ui)
|
|
167
167
|
|
|
168
168
|
---
|
|
169
169
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easypayment/medusa-payment-paypal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
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",
|