@easypayment/medusa-payment-paypal 0.7.4 → 0.7.6

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,6 +319,9 @@ function AdvancedCardPaymentsTab() {
322
319
  )
323
320
  ] }) });
324
321
  }
322
+ function PayPalApplePayPage() {
323
+ return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
324
+ }
325
325
  function PayPalGooglePayPage() {
326
326
  return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
327
327
  }
@@ -1205,14 +1205,14 @@ 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
  },
1212
+ {
1213
+ Component: PayPalApplePayPage,
1214
+ path: "/settings/paypal/apple-pay"
1215
+ },
1216
1216
  {
1217
1217
  Component: PayPalGooglePayPage,
1218
1218
  path: "/settings/paypal/google-pay"
@@ -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,6 +318,9 @@ function AdvancedCardPaymentsTab() {
321
318
  )
322
319
  ] }) });
323
320
  }
321
+ function PayPalApplePayPage() {
322
+ return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
323
+ }
324
324
  function PayPalGooglePayPage() {
325
325
  return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
326
326
  }
@@ -1204,14 +1204,14 @@ 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
  },
1211
+ {
1212
+ Component: PayPalApplePayPage,
1213
+ path: "/settings/paypal/apple-pay"
1214
+ },
1215
1215
  {
1216
1216
  Component: PayPalGooglePayPage,
1217
1217
  path: "/settings/paypal/google-pay"
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.6",
4
4
  "description": "PayPal integration for Medusa v2",
5
5
  "author": "EasyPayment Plugins",
6
6
  "license": "MIT",