PageRenderTime 45ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 0ms

/testapp/templates/paypal/setcheckout.html

http://django-paypal-driver.googlecode.com/
HTML | 55 lines | 55 code | 0 blank | 0 comment | 0 complexity | 15eb186c79acab3a9fa0aaab764aea02 MD5 | raw file
Possible License(s): GPL-2.0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Django PayPal Test Application</title>
  7. </head>
  8. <body>
  9. <table border="0" style="border:1px solid silver;text-align:center" cellpadding="5px">
  10. <tr><th>Amount to be charged</th><td>$10</td></tr>
  11. <tr><th>Return URL</th><td>{% url paypal-docheckout %}</td></tr>
  12. <tr><th>Cancel URL</th><td>{% url base-cancel %}</td></tr>
  13. <tr><th>Error URL</th><td>{% url base-error %}</td></tr>
  14. </table>
  15. <table border="1" cellpadding="5px">
  16. <tr>
  17. <th>NAME</th>
  18. <th>NUMBER</th>
  19. <th>DESC</th>
  20. <th>AMT</th>
  21. <th>QTY</th>
  22. </tr>
  23. <tr>
  24. <td>10% Decaf Kona Blend Coffee</td>
  25. <td>623083</td>
  26. <td>Size: 8.8-oz</td>
  27. <td>4</td>
  28. <td>2</td>
  29. </tr>
  30. <tr>
  31. <td>Latte</td>
  32. <td>623084</td>
  33. <td>Size: 8.8-oz</td>
  34. <td>2</td>
  35. <td>1</td>
  36. </tr>
  37. </table>
  38. <p>Please click the button below to start <i>PayPal Checkout Process</i></p>
  39. <form action="{% url paypal-setcheckout %}" method="POST">
  40. <input type="hidden" name="amount" value="10.00" />
  41. <input type="hidden" name="num_cart_items" value="2" />
  42. <input type="hidden" name="cart_items[0][NAME]" value="10% Decaf Kona Blend Coffee">
  43. <input type="hidden" name="cart_items[0][NUMBER]" value="623083">
  44. <input type="hidden" name="cart_items[0][DESC]" value="Size: 8.8-oz">
  45. <input type="hidden" name="cart_items[0][AMT]" value="4">
  46. <input type="hidden" name="cart_items[0][QTY]" value="2">
  47. <input type="hidden" name="cart_items[1][NAME]" value="Latte">
  48. <input type="hidden" name="cart_items[1][NUMBER]" value="623084">
  49. <input type="hidden" name="cart_items[1][DESC]" value="Size: 8.8-oz">
  50. <input type="hidden" name="cart_items[1][AMT]" value="2">
  51. <input type="hidden" name="cart_items[1][QTY]" value="1">
  52. <input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but5.gif" />
  53. </form>
  54. </body>
  55. </html>