feat: Adds paypal as a fiat choice (#3637)

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
Arc
2025-12-09 14:35:39 +02:00
committed by GitHub
co-authored by Vlad Stan
parent 661b713993
commit baee90da67
13 changed files with 1034 additions and 33 deletions
+19 -1
View File
@@ -347,6 +347,7 @@
</q-item>
<q-separator></q-separator>
<q-item
v-if="g.user.fiat_providers?.includes('stripe')"
:active="receive.fiatProvider === 'stripe'"
@click="receive.fiatProvider = 'stripe'"
active-class="bg-teal-1 text-grey-8 text-weight-bold"
@@ -362,6 +363,24 @@
<span v-text="$t('pay_with', {provider: 'Stripe'})"></span>
</q-item-section>
</q-item>
<q-separator
v-if="g.user.fiat_providers?.includes('paypal')"
></q-separator>
<q-item
v-if="g.user.fiat_providers?.includes('paypal')"
:active="receive.fiatProvider === 'paypal'"
@click="receive.fiatProvider = 'paypal'"
active-class="bg-teal-1 text-grey-8 text-weight-bold"
clickable
v-ripple
>
<q-item-section avatar>
<q-avatar color="blue-8" text-color="white">PP</q-avatar>
</q-item-section>
<q-item-section>
<span v-text="$t('pay_with', {provider: 'PayPal'})"></span>
</q-item-section>
</q-item>
</q-list>
</div>
@@ -399,7 +418,6 @@
>
<lnbits-qrcode
v-if="receive.fiatPaymentReq"
:show-buttons="false"
:href="receive.fiatPaymentReq"
:value="receive.fiatPaymentReq"
>