@nuskin/ns-shop 7.6.1-pa-148.1 → 7.6.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/package.json
CHANGED
|
@@ -149,7 +149,7 @@ const _doNewExternalPaymentProcess = (order) => {
|
|
|
149
149
|
const path = encodeURIComponent(CartService.getCheckoutPage({route: 'orderSummary'}));
|
|
150
150
|
|
|
151
151
|
// If we are on mynuskin.com we want to keep external payment on mynuskin.com. For developing localhost we don't want to stay on localhost
|
|
152
|
-
if (!domain.includes('localhost') && !
|
|
152
|
+
if (!domain.includes('localhost') && !redirectUrl.hostname.includes('api.cloud.nuskin.com')) {
|
|
153
153
|
redirectUrl.hostname = window.location.hostname;
|
|
154
154
|
}
|
|
155
155
|
|