contract offer with simplified API

This commit is contained in:
Florian Dold 2016-08-23 15:56:26 +02:00
parent fff1f61f49
commit 1060315c9d

View File

@ -33,3 +33,10 @@ function taler_pay(form) {
}; };
contract_request.send(); 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>