donate-js.html (554B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <script src="/taler-wallet-lib.js" type="application/javascript"></script> 5 <script> 6 /** 7 * This function will retrieve the contract from 8 * "/generate-contract.php" and then hand it to the wallet. 9 */ 10 taler.offerContractFrom("/generate-contract.php"); 11 </script> 12 <title>Select payment method</title> 13 </head> 14 <body> 15 <!-- To be shown if the wallet is not installed --> 16 Here you should put the HTML for the non-Taler (credit card) payment. 17 </body> 18 </html>