@viur/shop-components 0.13.0 → 0.13.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
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
</sl-bar>
|
|
77
77
|
|
|
78
78
|
<template v-if="shopStore.state.order?.['payment_provider'] !== null && shopStore.state.order?.['payment_provider'].startsWith('unzer-')">
|
|
79
|
-
<sl-dialog v-if="state.paymentPopup" :label="$t('viur.shop.order_pay')" :open="state.paymentPopup" @sl-after-hide="
|
|
79
|
+
<sl-dialog v-if="state.paymentPopup" :label="$t('viur.shop.order_pay')" :open="state.paymentPopup" @sl-after-hide="paymentCanceled">
|
|
80
80
|
<payment-provider-unzer @cancel="paymentCanceled"></payment-provider-unzer>
|
|
81
81
|
</sl-dialog>
|
|
82
82
|
</template>
|
|
@@ -132,6 +132,7 @@ function getOrderCart(){
|
|
|
132
132
|
|
|
133
133
|
function paymentCanceled(){
|
|
134
134
|
state.paymentPopup=false
|
|
135
|
+
shopStore.state.paymentProviderData = null;
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
//open popup and freeze cart
|
|
@@ -375,4 +375,16 @@ onBeforeMount(() => {
|
|
|
375
375
|
.unzerUI.primary.button, .unzerUI.primary.buttons .button {
|
|
376
376
|
background-color: var(--ignt-color-primary) !important;
|
|
377
377
|
}
|
|
378
|
+
|
|
379
|
+
.unzerSandboxNotify:not(:first-of-type) {
|
|
380
|
+
display: none;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.unzerUI.form {
|
|
384
|
+
margin-top: 1em;
|
|
385
|
+
|
|
386
|
+
.opt-in a.unzerUI {
|
|
387
|
+
line-height: inherit;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
378
390
|
</style>
|