<form action="your-server-side-code" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_TYooMQauvdEDq54NiTphI7jx"
data-amount="999"
data-name="Stripe.com"
data-description="Example charge"
data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"
data-zip-code="true">
</script>
</form>
SELECT * FROM users
JOIN relation ON relation.user_id = users.id
JOIN roles ON relation.role_id = roles.id
WHERE roles.id = 2 AND roles.id = 3 /* невозможно чтобы roles.id одновременно был 2 и 3 - это же не квантовый компьютер */
SELECT * FROM users
WHERE
EXISTS (SELECT id FROM relation WHERE relation.role_id = 2 AND relation.user_id = users.id)
AND EXISTS (SELECT id FROM relation WHERE relation.role_id = 3 AND relation.user_id = users.id)
Документация: https://www.skrill.com/fileadmin/content/pdf/Skril...
Кусок документациии https://monosnap.com/file/TDjaQwZPriN6Wa0lmGSaP6oT...