pagamigo.1 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .\" Automatically generated by Pandoc 2.2.1
  2. .\"
  3. .TH "PAGAMIGO" "1" "July 2018" "" ""
  4. .hy
  5. .SH Name
  6. .PP
  7. pagamigo \- free software script to pay with PayPal
  8. .SH Synopsis
  9. .PP
  10. pagamigo [options] [\[en]username username] [\[en]password password]
  11. .SH Overview
  12. .PP
  13. Use an online shop and opt to pay with Paypal.
  14. You will be redirected to a URL like:
  15. .IP
  16. .nf
  17. \f[C]
  18. https://www.sandbox.paypal.com/cgi\-bin/webscr?cmd=_express\-checkout&token=EC\-CAFEBABE123456789
  19. \f[]
  20. .fi
  21. .PP
  22. Copy that URL to your clipboard.
  23. Then, from the command line run:
  24. .IP
  25. .nf
  26. \f[C]
  27. $\ pagamigo\ redirect
  28. \f[]
  29. .fi
  30. .PP
  31. Follow the directions on\-screen prompting you to enter your PayPal
  32. credentials and to paste this URL.
  33. .PP
  34. * * * * *
  35. .PP
  36. By default, this connects to the sandbox.
  37. For production (support experimental), use:
  38. .IP
  39. .nf
  40. \f[C]
  41. $\ pagamigo\ \-\-base\ https://www.paypal.com
  42. \f[]
  43. .fi
  44. .PP
  45. * * * * *
  46. .PP
  47. For peer\-to\-peer money transfer (\[lq]Send money\[rq]), instead use:
  48. .IP
  49. .nf
  50. \f[C]
  51. $\ pagamigo\ send\-money
  52. \f[]
  53. .fi
  54. .PP
  55. * * * * *
  56. .PP
  57. Pagamigo, while interactive by default, is entirely configurable by
  58. arguments as well.
  59. For instance:
  60. .IP
  61. .nf
  62. \f[C]
  63. $\ pagamigo\ send\-money\ \-\-to\ sunset\@chs.eq\ \-\-amount\ 10.00\ \-\-username\ scitwi\@chs.earth\ \-\-password\ hunter2\ \-\-debug
  64. \f[]
  65. .fi
  66. .PP
  67. See the usage for details.
  68. .IP
  69. .nf
  70. \f[C]
  71. $\ pagamigo\ \-\-help
  72. \f[]
  73. .fi
  74. .SH Dependencies
  75. .PP
  76. Python (version 3) must be installed.
  77. .PP
  78. The following Python modules need to be installed: requests, lxml,
  79. cssselect.
  80. .PP
  81. The following external programs need to be installed: feh.
  82. .PP
  83. On Debian\-based systems, these can be installed as:
  84. .IP
  85. .nf
  86. \f[C]
  87. #\ apt\ install\ python3\-requests\ python3\-lxml\ python3\-cssselect\ feh
  88. \f[]
  89. .fi
  90. .SH AUTHORS
  91. Alyssa Rosenzweig.