I want to put a "Pay with card" simple Stripe button inside an AngularJS's ng-repeat
tag type.
It is working properly when the button is placed outside the ng-repeat
div
, and opens the Stripe's model popup; but the popup does not opens when I put it inside an ng-repeat
tag.
<div ng-if(condition)>
<form class="" action="/buyer/buyer/StripePayement?
Amount=500"method="POST">
<article>
<label>Amount: $500</label>
</article>
<script src="//checkout.stripe.com/v2/checkout.js"
class="stripe-button"
data-key="pk_test_ryEeHLLIGikPwMiZdK7b0FNf00IbqsyXht"
data-locale="auto"
data-description=""
data-amount="500">
</script>
</form>
</div>