diff --git a/website/client/src/components/payments/sendGiftModal.vue b/website/client/src/components/payments/sendGiftModal.vue index 838015fe6a..f266fd3273 100644 --- a/website/client/src/components/payments/sendGiftModal.vue +++ b/website/client/src/components/payments/sendGiftModal.vue @@ -75,6 +75,7 @@ v-show="selectedPage === 'subscription'" class="subscribe-option" :userReceivingGift="userReceivingGift" + :receiverName="receiverName" /> @@ -648,6 +649,7 @@ export default { }, }, giftReceiver: this.receiverName, + toUserId: this.userReceivingGift._id, }); }, 500); }, diff --git a/website/client/src/components/payments/successModal.vue b/website/client/src/components/payments/successModal.vue index a4901051af..4ac16233bc 100644 --- a/website/client/src/components/payments/successModal.vue +++ b/website/client/src/components/payments/successModal.vue @@ -1,11 +1,22 @@ + + + + + - {{ $t(isFromBalance ? 'success' : 'paymentSuccessful') }} + {{ $t(isGemsBalance ? 'success' : 'paymentSuccessful') }} + + + + + + {{ $t('paymentYouReceived') }} + + + {{ paymentData.gemsBlock.gems }} + + + + + + + + {{ paymentData.gift.gems.amount }} + + + + + + + + + + + {{ $t('nowSubscribed') }} + + + + + + + + + + + + + + {{ $t('groupsPaymentAutoRenew') }} + + + + + + + {{ $t('paymentAutoRenew') }} + + + + {{ $t('onwards') }} + + + + - + - {{ $t('giftSubscriptionText4') }} + + + + {{ $t('sendMessage') }} + - - - - - {{ $t('paymentYouReceived') }} - - - {{ paymentData.gemsBlock.gems }} - - - - - - - - {{ paymentData.gift.gems.amount }} - - - - - - - - - {{ $t('nowSubscribed') }} - - - - - - - - - - - - - - {{ $t('groupsPaymentAutoRenew') }} - - - - - - - {{ $t('paymentAutoRenew') }} - - - - {{ $t('onwards') }} - - - -