@easypayment/medusa-payment-paypal 0.7.4 → 0.7.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.
@@ -180,9 +180,6 @@ 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
183
  async function adminFetch$1(path, opts = {}) {
187
184
  var _a;
188
185
  const { method = "GET", body, query } = opts;
@@ -322,9 +319,6 @@ function AdvancedCardPaymentsTab() {
322
319
  )
323
320
  ] }) });
324
321
  }
325
- function PayPalGooglePayPage() {
326
- return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
327
- }
328
322
  const config = adminSdk.defineRouteConfig({
329
323
  label: "PayPal Connection",
330
324
  hide: true
@@ -918,6 +912,12 @@ function PayPalConnectionPage() {
918
912
  ` })
919
913
  ] });
920
914
  }
915
+ function PayPalApplePayPage() {
916
+ return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
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: PayPalApplePayPage,
1210
- path: "/settings/paypal/apple-pay"
1211
- },
1212
1208
  {
1213
1209
  Component: AdvancedCardPaymentsTab,
1214
1210
  path: "/settings/paypal/advanced-card-payments"
1215
1211
  },
1216
- {
1217
- Component: PayPalGooglePayPage,
1218
- path: "/settings/paypal/google-pay"
1219
- },
1220
1212
  {
1221
1213
  Component: PayPalConnectionPage,
1222
1214
  path: "/settings/paypal/connection"
1223
1215
  },
1216
+ {
1217
+ Component: PayPalApplePayPage,
1218
+ path: "/settings/paypal/apple-pay"
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,9 +179,6 @@ function AdditionalSettingsTab() {
179
179
  )
180
180
  ] }) });
181
181
  }
182
- function PayPalApplePayPage() {
183
- return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
184
- }
185
182
  async function adminFetch$1(path, opts = {}) {
186
183
  var _a;
187
184
  const { method = "GET", body, query } = opts;
@@ -321,9 +318,6 @@ function AdvancedCardPaymentsTab() {
321
318
  )
322
319
  ] }) });
323
320
  }
324
- function PayPalGooglePayPage() {
325
- return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
326
- }
327
321
  const config = defineRouteConfig({
328
322
  label: "PayPal Connection",
329
323
  hide: true
@@ -917,6 +911,12 @@ function PayPalConnectionPage() {
917
911
  ` })
918
912
  ] });
919
913
  }
914
+ function PayPalApplePayPage() {
915
+ return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
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: PayPalApplePayPage,
1209
- path: "/settings/paypal/apple-pay"
1210
- },
1211
1207
  {
1212
1208
  Component: AdvancedCardPaymentsTab,
1213
1209
  path: "/settings/paypal/advanced-card-payments"
1214
1210
  },
1215
- {
1216
- Component: PayPalGooglePayPage,
1217
- path: "/settings/paypal/google-pay"
1218
- },
1219
1211
  {
1220
1212
  Component: PayPalConnectionPage,
1221
1213
  path: "/settings/paypal/connection"
1222
1214
  },
1215
+ {
1216
+ Component: PayPalApplePayPage,
1217
+ path: "/settings/paypal/apple-pay"
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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Accept PayPal and advanced credit card payments in your Medusa v2 store — built by an official PayPal Partner.**
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@easypayment/medusa-paypal?color=blue&label=npm)](https://www.npmjs.com/package/@easypayment/medusa-paypal)
5
+ [![npm version](https://img.shields.io/npm/v/@easypayment/medusa-payment-paypal?color=blue&label=npm)](https://www.npmjs.com/package/@easypayment/medusa-payment-paypal)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
7
7
  [![Medusa v2](https://img.shields.io/badge/Medusa-v2-9b59b6)](https://medusajs.com)
8
8
  [![PayPal PPCP](https://img.shields.io/badge/PayPal-PPCP-003087)](https://developer.paypal.com)
@@ -51,7 +51,7 @@
51
51
  **In your Medusa backend directory**, run:
52
52
 
53
53
  ```bash
54
- npm install @easypayment/medusa-paypal
54
+ npm install @easypayment/medusa-payment-paypal
55
55
  ```
56
56
 
57
57
  ---
@@ -81,7 +81,7 @@ export default defineConfig({
81
81
 
82
82
  plugins: [
83
83
  {
84
- resolve: "@easypayment/medusa-paypal",
84
+ resolve: "@easypayment/medusa-payment-paypal",
85
85
  options: {},
86
86
  },
87
87
  ],
@@ -93,14 +93,14 @@ export default defineConfig({
93
93
  providers: [
94
94
  {
95
95
  // PayPal Smart Buttons (wallet checkout)
96
- resolve: "@easypayment/medusa-paypal/providers/paypal",
96
+ resolve: "@easypayment/medusa-payment-paypal/providers/paypal",
97
97
  id: "paypal",
98
98
  options: {},
99
99
  dependencies: ["paypal_onboarding"],
100
100
  },
101
101
  {
102
102
  // Advanced Card Fields (hosted card inputs)
103
- resolve: "@easypayment/medusa-paypal/providers/paypal_card",
103
+ resolve: "@easypayment/medusa-payment-paypal/providers/paypal_card",
104
104
  id: "paypal_card",
105
105
  options: {},
106
106
  dependencies: ["paypal_onboarding"],
@@ -161,12 +161,12 @@ 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-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.
164
+ 📦 **[@easypayment/medusa-payment-paypal-ui](https://www.npmjs.com/package/@easypayment/medusa-payment-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-paypal-ui)
166
+ See the [storefront integration & testing guide →](https://www.npmjs.com/package/@easypayment/medusa-payment-paypal-ui)
167
167
 
168
168
  ---
169
169
 
170
170
  ## 📄 License
171
171
 
172
- MIT © [Easy Payment](https://www.npmjs.com/package/@easypayment/medusa-paypal)
172
+ MIT © [Easy Payment](https://www.npmjs.com/package/@easypayment/medusa-payment-paypal)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easypayment/medusa-payment-paypal",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "PayPal integration for Medusa v2",
5
5
  "author": "EasyPayment Plugins",
6
6
  "license": "MIT",