[Qgis-psc] Stripe payment integration in qgis.org
Richard Duivenvoorde
rdmailings at duif.net
Fri Mar 30 04:23:15 PDT 2018
Hi Tim/PSC,
As you know Andreas now set up a Stripe account, so we can proceed to
integrate all kind of donations/payments in qgis.org website. For those
interested, see https://stripe.com/docs
First: while PayPal support sucks, at least the integration was very easy...
To start (for creditcard payments) we need to add a some javascript/html
to the website (probably using https://stripe.com/docs/stripe-js) to
create a client side 'Token'.
Using that token we need to have a server-side script(s) which calls the
stripe-api to do the actual payment and report back (info via some json
object) to the user.
Easiest (for now to me) would be to create a simple Python cgi (with
Requests doing http).
But we could try to create something more modular and create a (small?)
Django or Flask app. Googling for django/stripe and flask/stripe shows
we are not the only ones :-)
Tim, didn't you talk about that becoming a part of the 'projecta' site?
Or anybody else having experience with this?
Regards,
Richard Duivenvoorde
More information about the Qgis-psc
mailing list