@easypayment/medusa-payment-paypal 0.8.0 → 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.
|
@@ -183,6 +183,9 @@ function AdditionalSettingsTab() {
|
|
|
183
183
|
function PayPalApplePayPage() {
|
|
184
184
|
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
185
185
|
}
|
|
186
|
+
function PayPalGooglePayPage() {
|
|
187
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
188
|
+
}
|
|
186
189
|
async function adminFetch$1(path, opts = {}) {
|
|
187
190
|
var _a;
|
|
188
191
|
const { method = "GET", body, query } = opts;
|
|
@@ -915,9 +918,6 @@ function PayPalConnectionPage() {
|
|
|
915
918
|
` })
|
|
916
919
|
] });
|
|
917
920
|
}
|
|
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
|
}
|
|
@@ -1209,6 +1209,10 @@ const routeModule = {
|
|
|
1209
1209
|
Component: PayPalApplePayPage,
|
|
1210
1210
|
path: "/settings/paypal/apple-pay"
|
|
1211
1211
|
},
|
|
1212
|
+
{
|
|
1213
|
+
Component: PayPalGooglePayPage,
|
|
1214
|
+
path: "/settings/paypal/google-pay"
|
|
1215
|
+
},
|
|
1212
1216
|
{
|
|
1213
1217
|
Component: AdvancedCardPaymentsTab,
|
|
1214
1218
|
path: "/settings/paypal/advanced-card-payments"
|
|
@@ -1217,10 +1221,6 @@ const routeModule = {
|
|
|
1217
1221
|
Component: PayPalConnectionPage,
|
|
1218
1222
|
path: "/settings/paypal/connection"
|
|
1219
1223
|
},
|
|
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"
|
|
@@ -182,6 +182,9 @@ function AdditionalSettingsTab() {
|
|
|
182
182
|
function PayPalApplePayPage() {
|
|
183
183
|
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
184
184
|
}
|
|
185
|
+
function PayPalGooglePayPage() {
|
|
186
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
187
|
+
}
|
|
185
188
|
async function adminFetch$1(path, opts = {}) {
|
|
186
189
|
var _a;
|
|
187
190
|
const { method = "GET", body, query } = opts;
|
|
@@ -914,9 +917,6 @@ function PayPalConnectionPage() {
|
|
|
914
917
|
` })
|
|
915
918
|
] });
|
|
916
919
|
}
|
|
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
|
}
|
|
@@ -1208,6 +1208,10 @@ const routeModule = {
|
|
|
1208
1208
|
Component: PayPalApplePayPage,
|
|
1209
1209
|
path: "/settings/paypal/apple-pay"
|
|
1210
1210
|
},
|
|
1211
|
+
{
|
|
1212
|
+
Component: PayPalGooglePayPage,
|
|
1213
|
+
path: "/settings/paypal/google-pay"
|
|
1214
|
+
},
|
|
1211
1215
|
{
|
|
1212
1216
|
Component: AdvancedCardPaymentsTab,
|
|
1213
1217
|
path: "/settings/paypal/advanced-card-payments"
|
|
@@ -1216,10 +1220,6 @@ const routeModule = {
|
|
|
1216
1220
|
Component: PayPalConnectionPage,
|
|
1217
1221
|
path: "/settings/paypal/connection"
|
|
1218
1222
|
},
|
|
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
|
@@ -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
|
|