only show coinbase option for user who has can_use_coinbase=True
This commit is contained in:
parent
1961d2f18e
commit
1348b58672
|
@ -64,7 +64,8 @@
|
||||||
<div class="col-sm-6 col-lg-6">
|
<div class="col-sm-6 col-lg-6">
|
||||||
<div class="display-6 my-3">
|
<div class="display-6 my-3">
|
||||||
🔐 Secure payments by
|
🔐 Secure payments by
|
||||||
<a href="https://paddle.com" target="_blank" rel="noopener">Paddle<i class="fe fe-external-link"></i></a></li>
|
<a href="https://paddle.com" target="_blank" rel="noopener">
|
||||||
|
Paddle<i class="fe fe-external-link"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -93,8 +94,12 @@
|
||||||
$30/year
|
$30/year
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
{% if current_user.can_use_coinbase %}
|
||||||
<hr>
|
<hr>
|
||||||
Payment via <a href="https://commerce.coinbase.com/?lang=en" target="_blank">Coinbase Commerce</a>.
|
Payment via
|
||||||
|
<a href="https://commerce.coinbase.com/?lang=en" target="_blank">
|
||||||
|
Coinbase Commerce<i class="fe fe-external-link"></i>
|
||||||
|
</a> <br>
|
||||||
Only the yearly plan is supported.
|
Only the yearly plan is supported.
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -105,6 +110,7 @@
|
||||||
<script src="https://commerce.coinbase.com/v1/checkout.js?version=201807">
|
<script src="https://commerce.coinbase.com/v1/checkout.js?version=201807">
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
For other payment options, please send us an email at <a href="mailto:hi@simplelogin.io">hi@simplelogin.io</a>
|
For other payment options, please send us an email at <a href="mailto:hi@simplelogin.io">hi@simplelogin.io</a>
|
||||||
|
|
Loading…
Reference in New Issue