diff --git a/website/client/components/payments/amazonButton.vue b/website/client/components/payments/amazonButton.vue index bd6e12b5cd..35e33c2af7 100644 --- a/website/client/components/payments/amazonButton.vue +++ b/website/client/components/payments/amazonButton.vue @@ -60,7 +60,7 @@ export default { this.buttonId = `AmazonPayButton-${uuid.v4()}`; }, mounted () { - this.amazonPaymentsInit(this.amazonData); + this.amazonPaymentsInit(this.amazonData); // TOOD clone if (this.isAmazonReady) return this.setupAmazon(); this.$store.watch(state => state.isAmazonReady, (isAmazonReady) => { @@ -90,8 +90,6 @@ export default { this.$root.$emit('habitica::pay-with-amazon', this.amazonPayments); }, authorization: () => { - this.amazonPaymentsInit(this.amazonData); - window.amazon.Login.authorize({ scope: 'payments:widget', popup: true,