From 6f889cdfd4d6c3178886a222cccc9a0e7b29c294 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 19 Jul 2020 23:38:52 +0200 Subject: [PATCH] ApplePay checkout button (only frontend). --- frontend/components/Cart.vue | 16 ++++- frontend/components/ui/applePay.vue | 91 +++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 2 deletions(-) create mode 100644 frontend/components/ui/applePay.vue diff --git a/frontend/components/Cart.vue b/frontend/components/Cart.vue index 166fe15..9337f83 100644 --- a/frontend/components/Cart.vue +++ b/frontend/components/Cart.vue @@ -94,7 +94,10 @@ - + +
+ +
@@ -106,12 +109,14 @@ import store from '@/store'; import Picker from '@/components/ui/Picker' import Button from '@/components/ui/Button' +import applePay from '@/components/ui/applePay'; export default { name: 'Cart', components: { Picker, - Button + Button, + applePay }, computed: { cartInventory() { @@ -129,6 +134,7 @@ export default {