librelist archives

« back to archive

Paypal integration for Flask

Paypal integration for Flask

From:
Marc de Verdelhan
Date:
2011-06-17 @ 01:53
Hello everybody,

I would like to use Paypal for users payments in my Flask app. So I am
looking for solutions/extensions/modules which would be able to help me in
that task.

I precise that I am particularly interested in recurrent payments and
subscriptions.

Nowadays, I found all these solutions:
    - http://github.com/LeonigMig/flask-payment (Is this extension
functionnal for Paypal ? Development seems to be stopped. :/)
    - http://pypi.python.org/pypi/paypal/1.0.3

I'm interested in any other solutions, event (nay mostly) tutorials.

Thanks,

--
Marc

Re: [flask] Paypal integration for Flask

From:
Matt Dawson
Date:
2011-06-20 @ 15:23
Hi Marc -

PayPal is an absolute *pain* to develop against. If it's possible to
avoid hooking into their APIs, I'd recommend it. Hopefully I haven't
waited to respond for so long that you've locked in on a solution
without looking at Spreedly.

http://spreedly.com/

I'm using Spreedly for a project that's set to launch in the coming
weeks. It's hands down the best online payments tool I've used.
Spreedly is *just* for subscriptions. That is, it's not going to
handle situations where you need subscriptions along side inventory
management. But if subscriptions are what you need, it's nearly
perfect. Spreedly even offers support for a number of different
payment processors and backends. In fact, you can use PayPal as your
backend of choice.

I picked up shelfworthy's python-spreedly for use with Flask.
https://github.com/shelfworthy/python-spreedly

My fork doesn't add anything functionality wise, but is setup.py
installable. https://github.com/mattd/python-spreedly

Spreedly is setup such that you create the account on your site and
then send the user to a subscribe page on the Spreedly site that links
back to your site when the process is completed. You provide a
postback url to Spreedly that gets hit any time a user's info changes
- ie. their payment status changes. The only downside with Spreedly
that I can think of is that the payments pages aren't themeable yet -
the developers do report that that feature is on the roadmap. I
actually don't consider this to be a problem at all, as the default
display is well built, minimal, attractive and - best of all -
optimized for mobile devices.

Ron DuPlain and I have discussed working on a Flask-Payments extension
that would provide a generic interface to some popular payments
solutions, though that's probably a ways off yet.

Best,
Matt

On Thu, Jun 16, 2011 at 9:53 PM, Marc de Verdelhan
<marc.deverdelhan@yahoo.com> wrote:
> Hello everybody,
>
> I would like to use Paypal for users payments in my Flask app. So I am
> looking for solutions/extensions/modules which would be able to help me in
> that task.
>
> I precise that I am particularly interested in recurrent payments and
> subscriptions.
>
> Nowadays, I found all these solutions:
>     - http://github.com/LeonigMig/flask-payment (Is this extension
> functionnal for Paypal ? Development seems to be stopped. :/)
>     - http://pypi.python.org/pypi/paypal/1.0.3
>
> I'm interested in any other solutions, event (nay mostly) tutorials.
>
> Thanks,
>
> --
> Marc
>

Re: [flask] Paypal integration for Flask

From:
JimG
Date:
2011-06-20 @ 15:47
Development did stop on flask payment yes, sorry. Other priorities came
along. It does work though, for certain types of payment, tested against the
PayPal dev account.

Here's a blog post I made at the time in case it is of use:

http://things-ive-learned-about-it.blogspot.com/2010/08/working-with-paypal-web-payments-pro.html

Cheers, Jim.

On 20 June 2011 16:23, Matt Dawson <matthewtdawson@gmail.com> wrote:

> Hi Marc -
>
> PayPal is an absolute *pain* to develop against. If it's possible to
> avoid hooking into their APIs, I'd recommend it. Hopefully I haven't
> waited to respond for so long that you've locked in on a solution
> without looking at Spreedly.
>
> http://spreedly.com/
>
> I'm using Spreedly for a project that's set to launch in the coming
> weeks. It's hands down the best online payments tool I've used.
> Spreedly is *just* for subscriptions. That is, it's not going to
> handle situations where you need subscriptions along side inventory
> management. But if subscriptions are what you need, it's nearly
> perfect. Spreedly even offers support for a number of different
> payment processors and backends. In fact, you can use PayPal as your
> backend of choice.
>
> I picked up shelfworthy's python-spreedly for use with Flask.
> https://github.com/shelfworthy/python-spreedly
>
> My fork doesn't add anything functionality wise, but is setup.py
> installable. https://github.com/mattd/python-spreedly
>
> Spreedly is setup such that you create the account on your site and
> then send the user to a subscribe page on the Spreedly site that links
> back to your site when the process is completed. You provide a
> postback url to Spreedly that gets hit any time a user's info changes
> - ie. their payment status changes. The only downside with Spreedly
> that I can think of is that the payments pages aren't themeable yet -
> the developers do report that that feature is on the roadmap. I
> actually don't consider this to be a problem at all, as the default
> display is well built, minimal, attractive and - best of all -
> optimized for mobile devices.
>
> Ron DuPlain and I have discussed working on a Flask-Payments extension
> that would provide a generic interface to some popular payments
> solutions, though that's probably a ways off yet.
>
> Best,
> Matt
>
> On Thu, Jun 16, 2011 at 9:53 PM, Marc de Verdelhan
> <marc.deverdelhan@yahoo.com> wrote:
> > Hello everybody,
> >
> > I would like to use Paypal for users payments in my Flask app. So I am
> > looking for solutions/extensions/modules which would be able to help me
> in
> > that task.
> >
> > I precise that I am particularly interested in recurrent payments and
> > subscriptions.
> >
> > Nowadays, I found all these solutions:
> >     - http://github.com/LeonigMig/flask-payment (Is this extension
> > functionnal for Paypal ? Development seems to be stopped. :/)
> >     - http://pypi.python.org/pypi/paypal/1.0.3
> >
> > I'm interested in any other solutions, event (nay mostly) tutorials.
> >
> > Thanks,
> >
> > --
> > Marc
> >
>

Re: [flask] Paypal integration for Flask

From:
Marc de Verdelhan
Date:
2011-07-01 @ 14:02
Thank you for your answers.

@Jim,
Nice pointer! I learned the PayPal API basics. Looking forward to see
someone continue the development of Flask-Payment (maybe...).

@Matt,
I think that I will follow your advice. PayPal integration seems to be too
complicated for now. I wanted to use it to benefit of all its capabilities
(not only subscriptions, in the future). I found a better solution: the
recurrent direct withdrawals.

Regards,
Marc

On Mon, Jun 20, 2011 at 5:47 PM, JimG <j.gumbley@gmail.com> wrote:

> Development did stop on flask payment yes, sorry. Other priorities came
> along. It does work though, for certain types of payment, tested against the
> PayPal dev account.
>
> Here's a blog post I made at the time in case it is of use:
> 
http://things-ive-learned-about-it.blogspot.com/2010/08/working-with-paypal-web-payments-pro.html
>
> Cheers, Jim.
>
> On 20 June 2011 16:23, Matt Dawson <matthewtdawson@gmail.com> wrote:
>
>> Hi Marc -
>>
>> PayPal is an absolute *pain* to develop against. If it's possible to
>> avoid hooking into their APIs, I'd recommend it. Hopefully I haven't
>> waited to respond for so long that you've locked in on a solution
>> without looking at Spreedly.
>>
>> http://spreedly.com/
>>
>> I'm using Spreedly for a project that's set to launch in the coming
>> weeks. It's hands down the best online payments tool I've used.
>> Spreedly is *just* for subscriptions. That is, it's not going to
>> handle situations where you need subscriptions along side inventory
>> management. But if subscriptions are what you need, it's nearly
>> perfect. Spreedly even offers support for a number of different
>> payment processors and backends. In fact, you can use PayPal as your
>> backend of choice.
>>
>> I picked up shelfworthy's python-spreedly for use with Flask.
>> https://github.com/shelfworthy/python-spreedly
>>
>> My fork doesn't add anything functionality wise, but is setup.py
>> installable. https://github.com/mattd/python-spreedly
>>
>> Spreedly is setup such that you create the account on your site and
>> then send the user to a subscribe page on the Spreedly site that links
>> back to your site when the process is completed. You provide a
>> postback url to Spreedly that gets hit any time a user's info changes
>> - ie. their payment status changes. The only downside with Spreedly
>> that I can think of is that the payments pages aren't themeable yet -
>> the developers do report that that feature is on the roadmap. I
>> actually don't consider this to be a problem at all, as the default
>> display is well built, minimal, attractive and - best of all -
>> optimized for mobile devices.
>>
>> Ron DuPlain and I have discussed working on a Flask-Payments extension
>> that would provide a generic interface to some popular payments
>> solutions, though that's probably a ways off yet.
>>
>> Best,
>> Matt
>>
>> On Thu, Jun 16, 2011 at 9:53 PM, Marc de Verdelhan
>> <marc.deverdelhan@yahoo.com> wrote:
>> > Hello everybody,
>> >
>> > I would like to use Paypal for users payments in my Flask app. So I am
>> > looking for solutions/extensions/modules which would be able to help me
>> in
>> > that task.
>> >
>> > I precise that I am particularly interested in recurrent payments and
>> > subscriptions.
>> >
>> > Nowadays, I found all these solutions:
>> >     - http://github.com/LeonigMig/flask-payment (Is this extension
>> > functionnal for Paypal ? Development seems to be stopped. :/)
>> >     - http://pypi.python.org/pypi/paypal/1.0.3
>> >
>> > I'm interested in any other solutions, event (nay mostly) tutorials.
>> >
>> > Thanks,
>> >
>> > --
>> > Marc
>> >
>>
>
>