Payment gateway

132 views
Skip to first unread message

Branko Vukelic

unread,
Jun 20, 2011, 3:54:47 PM6/20/11
to google-a...@googlegroups.com
Can anyone recommend a payment gateway that offers Python SDK that
would work on GAE? I've looked at a few but so far Python SDK is
either not offered at all, or offered with C-based code/dependencies.
If there's no such a solution, what payment gateway would you
recommend that possibly has nice JSON or REST API?

--
Branko Vukelić
bra...@herdhound.com

Lead Developer
Herd Hound (tm) - Travel that doesn't bite
www.herdhound.com

Brandon Wirtz

unread,
Jun 20, 2011, 4:33:24 PM6/20/11
to google-a...@googlegroups.com
I would for lots of reasons. Use a "meta" gate way. Using a "proxy" built in another language handle your payments and send the response to GAE. The 10 second limit on GAE Fetch will often make payment gateways time out.
You are better to Use an ajax element on the page, do the submit to your other platform, and when the payment is approved have it update a data field so that the Ajax which has been polling every 500ms can say "confirmed" or "declined"

--
Branko Vukelić
bra...@herdhound.com

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.


Branko Vukelic

unread,
Jun 20, 2011, 4:43:46 PM6/20/11
to google-a...@googlegroups.com
Thanks for the tip, Brandon. I'll look into this option, then.

kowsik

unread,
Jun 20, 2011, 6:24:45 PM6/20/11
to google-a...@googlegroups.com
We've been playing with Brain Tree which does have a pretty nice API:

http://www.braintreepayments.com/docs/python

And +1 to Brandon's "meta" gateway suggestion. Store things like
invoice-ids in your own database on a per-account basis instead of
having to hit the payment gateway all the time. Scales much better.

K.
---
http://blitz.io
http://twitter.com/pcapr
http://labs.mudynamics.com

Ricky Button

unread,
Jun 21, 2011, 2:42:01 AM6/21/11
to google-a...@googlegroups.com
I am using Spreedly to handle payments. I use it for subscriptions, but I'm pretty sure it can handle more than that. It has a wonderful REST api and even provides a nice POST callback with customer ids when a sale is made so you dont have to poll the server for the invoice.

Branko Vukelic

unread,
Jun 21, 2011, 4:13:53 AM6/21/11
to google-a...@googlegroups.com
I've never used POST callbacks. How do those work?

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/H2QgjPz71doJ.


> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

--

Ricky Button

unread,
Jun 21, 2011, 7:56:52 PM6/21/11
to google-a...@googlegroups.com
When a customer pays for something through spreedly, the service POSTs to a url that you specify with the changed customer's ids in the body of the request. Then you can fetch the new data using those ids, instead of having to poll a service.
Reply all
Reply to author
Forward
0 new messages