@easypayment/medusa-paypal 0.4.3 → 0.4.4
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.
|
@@ -325,6 +325,9 @@ function AdvancedCardPaymentsTab() {
|
|
|
325
325
|
function PayPalApplePayPage() {
|
|
326
326
|
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
327
327
|
}
|
|
328
|
+
function PayPalGooglePayPage() {
|
|
329
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
330
|
+
}
|
|
328
331
|
const config = adminSdk.defineRouteConfig({
|
|
329
332
|
label: "PayPal Connection",
|
|
330
333
|
hide: true
|
|
@@ -764,7 +767,7 @@ function PayPalConnectionPage() {
|
|
|
764
767
|
href: finalUrl || "#",
|
|
765
768
|
"data-paypal-onboard-complete": "onboardingCallback",
|
|
766
769
|
onClick: handleConnectClick,
|
|
767
|
-
className: "
|
|
770
|
+
className: "inline-flex items-center justify-center rounded-md bg-ui-button-neutral px-4 py-2 text-sm font-medium text-ui-fg-on-color no-underline shadow-sm hover:opacity-90 disabled:opacity-60",
|
|
768
771
|
style: {
|
|
769
772
|
cursor: onboardingInProgress ? "not-allowed" : "pointer",
|
|
770
773
|
opacity: onboardingInProgress ? 0.6 : 1,
|
|
@@ -926,9 +929,6 @@ function PayPalConnectionPage() {
|
|
|
926
929
|
` })
|
|
927
930
|
] });
|
|
928
931
|
}
|
|
929
|
-
function PayPalGooglePayPage() {
|
|
930
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
931
|
-
}
|
|
932
932
|
function PayPalPayLaterMessagingPage() {
|
|
933
933
|
return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
934
934
|
}
|
|
@@ -1246,14 +1246,14 @@ const routeModule = {
|
|
|
1246
1246
|
Component: PayPalApplePayPage,
|
|
1247
1247
|
path: "/settings/paypal/apple-pay"
|
|
1248
1248
|
},
|
|
1249
|
-
{
|
|
1250
|
-
Component: PayPalConnectionPage,
|
|
1251
|
-
path: "/settings/paypal/connection"
|
|
1252
|
-
},
|
|
1253
1249
|
{
|
|
1254
1250
|
Component: PayPalGooglePayPage,
|
|
1255
1251
|
path: "/settings/paypal/google-pay"
|
|
1256
1252
|
},
|
|
1253
|
+
{
|
|
1254
|
+
Component: PayPalConnectionPage,
|
|
1255
|
+
path: "/settings/paypal/connection"
|
|
1256
|
+
},
|
|
1257
1257
|
{
|
|
1258
1258
|
Component: PayPalPayLaterMessagingPage,
|
|
1259
1259
|
path: "/settings/paypal/pay-later-messaging"
|
|
@@ -324,6 +324,9 @@ function AdvancedCardPaymentsTab() {
|
|
|
324
324
|
function PayPalApplePayPage() {
|
|
325
325
|
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
326
326
|
}
|
|
327
|
+
function PayPalGooglePayPage() {
|
|
328
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
329
|
+
}
|
|
327
330
|
const config = defineRouteConfig({
|
|
328
331
|
label: "PayPal Connection",
|
|
329
332
|
hide: true
|
|
@@ -763,7 +766,7 @@ function PayPalConnectionPage() {
|
|
|
763
766
|
href: finalUrl || "#",
|
|
764
767
|
"data-paypal-onboard-complete": "onboardingCallback",
|
|
765
768
|
onClick: handleConnectClick,
|
|
766
|
-
className: "
|
|
769
|
+
className: "inline-flex items-center justify-center rounded-md bg-ui-button-neutral px-4 py-2 text-sm font-medium text-ui-fg-on-color no-underline shadow-sm hover:opacity-90 disabled:opacity-60",
|
|
767
770
|
style: {
|
|
768
771
|
cursor: onboardingInProgress ? "not-allowed" : "pointer",
|
|
769
772
|
opacity: onboardingInProgress ? 0.6 : 1,
|
|
@@ -925,9 +928,6 @@ function PayPalConnectionPage() {
|
|
|
925
928
|
` })
|
|
926
929
|
] });
|
|
927
930
|
}
|
|
928
|
-
function PayPalGooglePayPage() {
|
|
929
|
-
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
930
|
-
}
|
|
931
931
|
function PayPalPayLaterMessagingPage() {
|
|
932
932
|
return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
|
|
933
933
|
}
|
|
@@ -1245,14 +1245,14 @@ const routeModule = {
|
|
|
1245
1245
|
Component: PayPalApplePayPage,
|
|
1246
1246
|
path: "/settings/paypal/apple-pay"
|
|
1247
1247
|
},
|
|
1248
|
-
{
|
|
1249
|
-
Component: PayPalConnectionPage,
|
|
1250
|
-
path: "/settings/paypal/connection"
|
|
1251
|
-
},
|
|
1252
1248
|
{
|
|
1253
1249
|
Component: PayPalGooglePayPage,
|
|
1254
1250
|
path: "/settings/paypal/google-pay"
|
|
1255
1251
|
},
|
|
1252
|
+
{
|
|
1253
|
+
Component: PayPalConnectionPage,
|
|
1254
|
+
path: "/settings/paypal/connection"
|
|
1255
|
+
},
|
|
1256
1256
|
{
|
|
1257
1257
|
Component: PayPalPayLaterMessagingPage,
|
|
1258
1258
|
path: "/settings/paypal/pay-later-messaging"
|
package/package.json
CHANGED
|
@@ -588,7 +588,7 @@ export default function PayPalConnectionPage() {
|
|
|
588
588
|
href={finalUrl || "#"}
|
|
589
589
|
data-paypal-onboard-complete="onboardingCallback"
|
|
590
590
|
onClick={handleConnectClick}
|
|
591
|
-
className="
|
|
591
|
+
className="inline-flex items-center justify-center rounded-md bg-ui-button-neutral px-4 py-2 text-sm font-medium text-ui-fg-on-color no-underline shadow-sm hover:opacity-90 disabled:opacity-60"
|
|
592
592
|
style={{
|
|
593
593
|
cursor: onboardingInProgress ? "not-allowed" : "pointer",
|
|
594
594
|
opacity: onboardingInProgress ? 0.6 : 1,
|