Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ window.app = Vue.createApp({
}
},
computed: {
anyRecordsWithFiat() {
return this.tposs.some(t => !!t.stripe_card_payments)
},
categoryList() {
return Array.from(
new Set(
Expand Down
17 changes: 17 additions & 0 deletions templates/tpos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,23 @@ <h6 class="text-subtitle1 q-my-none">{{SITE_TITLE}} TPoS extension</h6>
{% include "tpos/_tpos.html" %}
</q-list>
</q-card-section>
<q-card-section v-if="anyRecordsWithFiat">
<b>TO USE FIAT TAP-TO-PAY</b> <br />
* Your LNbits install must have a Stripe key/webhook in the "fiat
provider" area in settings, the key must have permissions for all
"checkout" and "payment_intents".<br />
* Install latest release for
<a href="https://github.com/lnbits/TPoS-Stripe-Tap-to-Pay-Wrapper"
>TPoS-Wrapper</a
>
apk (Android only).<br />
* Create a location for a terminal in Stripe.<br />
* Create an ACL token in LNbits with permissions for "fiat"
<a href="/account">Access Control List</a>.<br />
* Click the QR for the PoS record and add a Stripe terminal location ID
and ACL token.<br />
* Scan the QR in the TPoS Wrapper app.<br />
</q-card-section>
</q-card>
</div>

Expand Down