contract offer with simplified API
This commit is contained in:
parent
fff1f61f49
commit
1060315c9d
@ -33,3 +33,10 @@ function taler_pay(form) {
|
||||
};
|
||||
contract_request.send();
|
||||
}
|
||||
|
||||
<script src="taler-wallet-lib.js"></script>
|
||||
<script>
|
||||
taler.offerContractFrom("https://myshop/products/article/42", (err) => {
|
||||
alert("Error while offering contract");
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user