diff --git a/.env.custom b/.env.custom index fdbe80e..4590da3 100644 --- a/.env.custom +++ b/.env.custom @@ -1,4 +1,3 @@ -VUE_APP_BRAINTREE_AUTH_KEY=sandbox_bn48hmp6_cz6p85sw4dr5tp8h VUE_APP_MAGENTO_API_URL=https://customapi-r5bdena-kkhydudga4ihy.us.magentosite.cloud VUE_APP_CRANE_URL=/shop VUE_APP_GATE_URL=/gate @@ -14,8 +13,6 @@ VUE_APP_HOME_PAGE_URL=https://next.crane.com VUE_APP_CC_CONNECTION_URL=https://www.personalized-stationery.com/CranesConnectionRedesign/Personalize.aspx? VUE_APP_MAINTENANCE_MODE=false VUE_APP_MAINTENANCE_PAGE_URL=/maintenance -VUE_APP_GTAG_ID=GTM-N774RX4 -VUE_APP_GA_ID=UA-26415879-3 VUE_APP_ASSETS_NODESLS_URL=https://assets-sls.crane.com VUE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VUE_APP_IMAGE_LIB_URL=https://imagelib-api.crane.com diff --git a/.env.daily b/.env.daily index 7014918..28ef59d 100644 --- a/.env.daily +++ b/.env.daily @@ -1,4 +1,3 @@ -VUE_APP_BRAINTREE_AUTH_KEY=sandbox_bn48hmp6_cz6p85sw4dr5tp8h VUE_APP_MAGENTO_API_URL=https://m2-stg.crane.com VUE_APP_CRANE_URL=/shop VUE_APP_GATE_URL=/gate @@ -14,8 +13,6 @@ VUE_APP_HOME_PAGE_URL=https://www-daily.crane.com VUE_APP_CC_CONNECTION_URL=https://www.personalized-stationery.com/CranesConnectionRedesign/Personalize.aspx? VUE_APP_MAINTENANCE_MODE=false VUE_APP_MAINTENANCE_PAGE_URL=/maintenance -VUE_APP_GTAG_ID=GTM-N774RX4 -VUE_APP_GA_ID=UA-26415879-3 VUE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VUE_APP_CRANE_ORDER_URL=https://order.crane.com diff --git a/.env.development b/.env.development index b81b857..fd4f17c 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,3 @@ -VUE_APP_BRAINTREE_AUTH_KEY=sandbox_bn48hmp6_cz6p85sw4dr5tp8h VUE_APP_MAGENTO_API_URL=https://m2-stg.crane.com VUE_APP_CRANE_URL=/shop VUE_APP_GATE_URL=/gate @@ -14,8 +13,6 @@ VUE_APP_HOME_PAGE_URL=https://www-stg.crane.com VUE_APP_CC_CONNECTION_URL=https://www.staging.personalized-stationery.com/CranesConnectionRedesign/Personalize.aspx? VUE_APP_MAINTENANCE_MODE=false VUE_APP_MAINTENANCE_PAGE_URL=/maintenance -VUE_APP_GTAG_ID=GTM-N774RX4 -VUE_APP_GA_ID=UA-26415879-3 VUE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VUE_APP_CRANE_ORDER_URL=https://ordertest.crane.com diff --git a/.env.production b/.env.production index ee4c2fe..9a7c887 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,4 @@ NODE_ENV=production -VUE_APP_BRAINTREE_AUTH_KEY=sandbox_bn48hmp6_cz6p85sw4dr5tp8h VUE_APP_MAGENTO_API_URL=https://m2.crane.com VUE_APP_CRANE_URL=/shop VUE_APP_GATE_URL=/gate @@ -15,8 +14,6 @@ VUE_APP_HOME_PAGE_URL=https://retailer.crane.com VUE_APP_CC_CONNECTION_URL=https://www.staging.personalized-stationery.com/CranesConnectionRedesign/Personalize.aspx? VUE_APP_MAINTENANCE_MODE=false VUE_APP_MAINTENANCE_PAGE_URL=/maintenance -VUE_APP_GTAG_ID=GTM-N774RX4 -VUE_APP_GA_ID=UA-26415879-3 VUE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VUE_APP_CRANE_ORDER_URL=https://ordertest.crane.com diff --git a/.env.staging b/.env.staging index 306237f..46be0bd 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,4 @@ NODE_ENV=production -VUE_APP_BRAINTREE_AUTH_KEY=sandbox_bn48hmp6_cz6p85sw4dr5tp8h VUE_APP_MAGENTO_API_URL=https://m2-stg.crane.com VUE_APP_CRANE_URL=/shop VUE_APP_GATE_URL=/gate @@ -15,8 +14,6 @@ VUE_APP_HOME_PAGE_URL=https://www-stg.crane.com VUE_APP_CC_CONNECTION_URL=https://www.staging.personalized-stationery.com/CranesConnectionRedesign/Personalize.aspx? VUE_APP_MAINTENANCE_MODE=false VUE_APP_MAINTENANCE_PAGE_URL=/maintenance -VUE_APP_GTAG_ID=GTM-N774RX4 -VUE_APP_GA_ID=UA-26415879-3 VUE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VUE_APP_CRANE_ORDER_URL=https://ordertest.crane.com diff --git a/package.json b/package.json index 2686dc3..b36a071 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ "deploy:staging": "AWS_PROFILE=crane vue-cli-service s3-deploy --mode staging", "lint": "vue-cli-service lint" }, - "dependencies": { - "braintree-web": "^3.62.1", + "dependencies": { "core-js": "^3.4.4", "fuse.js": "^6.4.2", "js-base64": "^2.5.1", diff --git a/src/components/retailer/cart-product/CartProductList.vue b/src/components/retailer/cart-product/CartProductList.vue index 402a7d5..da0dfbd 100644 --- a/src/components/retailer/cart-product/CartProductList.vue +++ b/src/components/retailer/cart-product/CartProductList.vue @@ -68,14 +68,7 @@

{{ product.name }}

@@ -290,14 +283,7 @@

{{ product.name }}

diff --git a/src/components/retailer/payment/CardPayment.scss b/src/components/retailer/payment/CardPayment.scss deleted file mode 100644 index 7d116cb..0000000 --- a/src/components/retailer/payment/CardPayment.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* Braintree Hosted Fields styling classes*/ -.braintree-hosted-fields-focused { - color: #495057; - background-color: #fff; - border-color: #80bdff; - outline: thin solid #2850da; - //box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); - } - - .braintree-hosted-fields-focused.is-invalid { - outline: thin solid #dc3545; - border:0; - box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); - } - -.is-invalid~.invalid-feedback, add.is-invalid~.invalid-tooltip, .was-validated add:invalid~.invalid-feedback, .was-validated add:invalid~.invalid-tooltip { - display: block; -} -.invalid-feedback { - display: none; - width: 100%; - margin-top: .25rem; - font-size: 80%; - color: #dc3545; -} -.is-required~.required-feedback { - display: block; -} -.required-feedback { - display: none; - width: 100%; - margin-top: .25rem; - font-size: 80%; - color: #dc3545; -} -.is-invalid.cartpayment-input-field{ - border:thin solid #dc3545; - outline: thin solid #dc3545; - height:40px; -} -.is-required.cartpayment-input-field{ - border:thin solid #dc3545; - outline: thin solid #dc3545; - height:40px; -} -.cartpayment-input-field{ - border:thin solid rgb(48, 47, 47); - height:40px; -} -.cartpayment-input-field.is-invalid{ - border:thin solid #dc3545; - height:40px; -} -.cardpayment-card-disabled.v-card--disabled { - opacity : 0.3 !important; - } diff --git a/src/components/retailer/payment/CardPayment.vue b/src/components/retailer/payment/CardPayment.vue deleted file mode 100644 index ca1d4ef..0000000 --- a/src/components/retailer/payment/CardPayment.vue +++ /dev/null @@ -1,254 +0,0 @@ - - - -