diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bb4224a86..16c44becd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Removed accelerated checkout integration [#2341](https://github.com/bigcommerce/cornerstone/pull/2341) ## 6.10.0 (03-23-2023) - A bug with the display of the product quantity on the PDP [#2340](https://github.com/bigcommerce/cornerstone/pull/2340) diff --git a/assets/scss/components/stencil/cart/_cart.scss b/assets/scss/components/stencil/cart/_cart.scss index 38df0610f6..242df753f7 100644 --- a/assets/scss/components/stencil/cart/_cart.scss +++ b/assets/scss/components/stencil/cart/_cart.scss @@ -535,13 +535,6 @@ $card-preview-zoom-bottom-offset: 6rem; } } -.cart-acceleratedCheckoutButtons { - align-items: end; - display: flex; - flex-direction: column; - width: 100%; -} - .cart-additionalCheckoutButtons { @extend %additionalCheckoutButtons; } @@ -681,10 +674,6 @@ $card-preview-zoom-bottom-offset: 6rem; text-align: center; } -.previewCart-acceleratedCheckoutButtons { - width: 100%; -} - .previewCart-additionalCheckoutButtons { @extend %additionalCheckoutButtons; padding-bottom: spacing("single"); diff --git a/assets/scss/components/stencil/previewCart/_previewCart.scss b/assets/scss/components/stencil/previewCart/_previewCart.scss index 692588aee5..a8ebc20503 100644 --- a/assets/scss/components/stencil/previewCart/_previewCart.scss +++ b/assets/scss/components/stencil/previewCart/_previewCart.scss @@ -78,10 +78,6 @@ margin-top: spacing("single"); } -.previewCartCheckout-acceleratedCheckoutButtons { - width: 100%; -} - .previewCartCheckout-additionalCheckoutButtons { p { float: none !important; // 1 diff --git a/config.json b/config.json index eaba7306db..b93be63299 100644 --- a/config.json +++ b/config.json @@ -322,12 +322,6 @@ "pdp-non-sale-price-label": "", "pdp-retail-price-label": "", "pdp-custom-fields-tab-label": "", - "paymentbuttons-paypal-accelerated-checkout-color": "#444", - "paymentbuttons-paypal-accelerated-content-font-family": "Montserrat, Arial, Helvetica, sans-serif", - "paymentbuttons-paypal-accelerated-content-font-weight": "400", - "paymentbuttons-paypal-accelerated-content-color": "white", - "paymentbuttons-paypal-accelerated-content-label": "checkout", - "paymentbuttons-paypal-accelerated-border-color": "black", "paymentbuttons-paypal-color": "gold", "paymentbuttons-paypal-shape": "rect", "paymentbuttons-paypal-label": "checkout", diff --git a/schema.json b/schema.json index 07855a498c..c3f6177190 100644 --- a/schema.json +++ b/schema.json @@ -2882,65 +2882,6 @@ } ] }, - { - "type": "heading", - "content": "i18n.PaypalAcceleratedCheckoutButton", - "enable": "payPalAcceleratedCheckoutEnabled" - }, - { - "type": "color", - "label": "i18n.ButtonColor", - "id": "paymentbuttons-paypal-accelerated-checkout-color", - "enable": "payPalAcceleratedCheckoutEnabled" - }, - { - "type": "color", - "label": "i18n.ContentColor", - "id": "paymentbuttons-paypal-accelerated-content-color", - "enable": "payPalAcceleratedCheckoutEnabled" - }, - { - "type": "select", - "label": "i18n.ButtonContent", - "id": "paymentbuttons-paypal-accelerated-content-label", - "enable": "payPalAcceleratedCheckoutEnabled", - "options": [ - { - "value": "buy", - "label": "i18n.Buy" - }, - { - "value": "checkout", - "label": "i18n.Checkout" - }, - { - "value": "pay", - "label": "i18n.Pay" - }, - { - "value": "buynow", - "label": "i18n.BuyNow" - }, - { - "value": "paynow", - "label": "i18n.PayNow" - }, - { - "value": "checkoutnow", - "label": "i18n.CheckoutNow" - }, - { - "value": "proceedtocheckout", - "label": "i18n.ProceedToCheckout" - } - ] - }, - { - "type": "color", - "label": "i18n.BorderColor", - "id": "paymentbuttons-paypal-accelerated-border-color", - "enable": "payPalAcceleratedCheckoutEnabled" - }, { "type": "heading", "content": "i18n.SmartPaypalButton", diff --git a/schemaTranslations.json b/schemaTranslations.json index 0f6232e5e4..769483db48 100644 --- a/schemaTranslations.json +++ b/schemaTranslations.json @@ -4708,142 +4708,6 @@ "no": "Knappinnhold", "ko": "버튼 내용" }, - "i18n.PaypalAcceleratedCheckoutButton": { - "default": "Paypal Accelerated Checkout button", - "fr": "Bouton du paiement accéléré PayPal", - "it": "Pulsante di checkout accelerato Paypal", - "zh": "Paypal“快捷结账”按钮", - "de": "Schaltfläche „Paypal Accelerated Checkout“", - "es": "Botón para habilitar el proceso de pago más rápido de PayPal", - "nl": "Knop versneld afrekenen van PayPal", - "pt": "Botão Paypal Accelerated Checkout", - "pt-BR": "Botão Paypal Accelerated Checkout", - "sv": "Knappen för PayPal accelererad utcheckning", - "es-MX": "Botón de pago acelerado con PayPal", - "es-419": "Botón de pago acelerado con PayPal", - "da": "Knappen PayPal-accelereret betaling", - "no": "Paypal Accelerated Checkout-knapp", - "ko": "PayPal 빠른 결제 버튼" - }, - "i18n.ContentColor": { - "default": "Content color", - "fr": "Couleur du contenu", - "it": "Colore del contenuto", - "zh": "内容颜色", - "de": "Inhaltsfarbe", - "es": "Color del contenido", - "nl": "Kleur inhoud", - "pt": "Cor do conteúdo", - "pt-BR": "Cor do conteúdo", - "sv": "Innehållsfärg", - "es-MX": "Color del contenido", - "es-419": "Color del contenido", - "da": "Indholdsfarve", - "no": "Innholdsfarge", - "ko": "아이콘 텍스트 색상" - }, - "i18n.Buy": { - "default": "Buy", - "fr": "Acheter", - "it": "Acquista", - "zh": "购买", - "de": "Kaufen", - "es": "Comprar", - "nl": "Kopen", - "pt": "Comprar", - "pt-BR": "Comprar", - "sv": "Köpa", - "es-MX": "Comprar", - "es-419": "Comprar", - "da": "Køb", - "no": "Kjøp", - "ko": "지금 구매" - }, - "i18n.Checkout": { - "default": "Checkout", - "fr": "Paiement", - "it": "Checkout", - "zh": "结账台", - "de": "Bezahlvorgang", - "es": "Proceso de pago", - "nl": "Betaalomgeving", - "pt": "Finalização de compra", - "pt-BR": "Finalização de compra", - "sv": "Kolla upp", - "es-MX": "Pago", - "es-419": "Pago", - "da": "Kassen", - "no": "Betaling", - "ko": "체크아웃 페이지" - }, - "i18n.Pay": { - "default": "Pay", - "fr": "Payer", - "it": "Paga", - "zh": "支付", - "de": "Bezahlen", - "es": "Pagar", - "nl": "Betalen", - "pt": "Pagar", - "pt-BR": "Pagar", - "sv": "Betala", - "es-MX": "Pagar", - "es-419": "Pagar", - "da": "Betal", - "no": "Betal", - "ko": "결제" - }, - "i18n.PayNow": { - "default": "Pay Now", - "fr": "Payer maintenant", - "it": "Paga ora", - "zh": "立即付款", - "de": "Jetzt bezahlen", - "es": "Pagar ahora", - "nl": "Nu betalen", - "pt": "Pagar agora", - "pt-BR": "Pagar agora", - "sv": "Betala nu", - "es-MX": "Pagar ahora", - "es-419": "Pagar ahora", - "da": "Betal nu", - "no": "Betal nå", - "ko": "지금 구매" - }, - "i18n.CheckoutNow": { - "default": "Checkout Now", - "fr": "Payer", - "it": "Procedi all'acquisto ora", - "zh": "立即结账", - "de": "Jetzt zur Kasse gehen", - "es": "Pagar ahora", - "nl": "Nu afrekenen", - "pt": "Finalizar a compra agora", - "pt-BR": "Finalizar a compra agora", - "sv": "Checka ut nu", - "es-MX": "Pagar ahora", - "es-419": "Pagar ahora", - "da": "Betal nu", - "no": "Betal nå", - "ko": "체크아웃 페이지" - }, - "i18n.ProceedToCheckout": { - "default": "Proceed to checkout", - "fr": "Procéder au paiement", - "it": "Procedi al checkout", - "zh": "继续结账", - "de": "Weiter zur Kasse", - "es": "Ir al proceso de pago", - "nl": "Doorgaan naar betaalomgeving", - "pt": "Prosseguir para a finalização da compra", - "pt-BR": "Prosseguir para a finalização da compra", - "sv": "Fortsätt till utcheckningen", - "es-MX": "Continuar con el proceso de pago", - "es-419": "Continuar con el proceso de pago", - "da": "Gå til kassen", - "no": "Fortsett til kassen", - "ko": "결제 계속 진행" - }, "i18n.SmartPaypalButton": { "default": "PayPal Button", "fr": "Bouton PayPal", diff --git a/templates/components/cart/preview.html b/templates/components/cart/preview.html index 368eb41812..0934f5c953 100644 --- a/templates/components/cart/preview.html +++ b/templates/components/cart/preview.html @@ -8,10 +8,6 @@