-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello
I can't create multiple payButtons via an Angular directive because all buttons will be append to the latest form and I can just buy the latest product. Do you know anything about it?
Directive template:
<form method="post" ng-submit="submit($event)">
<script
src="https://button.paymill.com/v1/"
id="button-{{product.id}}"
data-title="{{ product.title }}"
data-description="{{ product.description }}"
data-amount="{{ product.amount }}"
data-elv="{{ config.elv }}"
data-label="{{ config.label }}"
data-submit-button="{{ config.submitBtnText }}"
data-inline="{{ config.submitBtnInline }}"
data-public-key="{{ paymill.publicKey }}"
data-lang="{{ paymill.language }}"
data-logo="{{ paymill.logoUrl }}"
data-currency="{{ paymill.currency }}"
>
</script>
</form>
Metadata
Metadata
Assignees
Labels
No labels