librelist archives

« back to archive

Authorization hold payment system

Authorization hold payment system

From:
Alessio Civitillo
Date:
2013-07-06 @ 11:06
Hello,

I need to implement an authorization hold payment system. This is sort of
like kickstarter: the customer makes the purchase but I will confirm it
only when a certain set of conditions is met (think group purchasing: the
purchase is "captured"/confirmed by me when all the group has made 1
purchase).

I have been skimming the source code of flask-paypal (
https://github.com/jdiez17/flask-paypal/blob/master/app.py) and I get what
it's doing, but it uses setExpressCheckOut, which, according to paypal
docs, creates a token that lasts only 3 hours. I need to be able to delay
the payment for more than that.

Thanks for any help on this,
Alessio

Re: [flask] Authorization hold payment system

From:
Steven Kryskalla
Date:
2013-07-06 @ 15:40
On Sat, Jul 6, 2013 at 4:06 AM, Alessio Civitillo
<alessiocivitillo@gmail.com> wrote:
> I need to implement an authorization hold payment system. This is sort of
> like kickstarter: the customer makes the purchase but I will confirm it only
> when a certain set of conditions is met (think group purchasing: the
> purchase is "captured"/confirmed by me when all the group has made 1
> purchase).

Stripe just released an authorization & capture feature, where you can
authorize a charge for up to 7 days:

https://stripe.com/blog/auth-capture

Re: [flask] Authorization hold payment system

From:
Alessio Civitillo
Date:
2013-07-07 @ 08:53
Thanks guys, but I am not in US (no stripe) and I would really prefer
something that has been around for a  while like paypal (even though we all
know it's not great).

So far, I understood I need to have "authorization" instead of "sale" when
calling setexpresscheckout (parameter PAYMENTREQUEST_*n*_PAYMENTACTION).

This enables the feature "authorization and capture" of paypal. However,
then the question is how to capture/reject the payments.

I am going to test this today. If anybody can help, I am kfk on IRC.

Once I have this thing working, I will post it on github.

a


On Sat, Jul 6, 2013 at 5:40 PM, Steven Kryskalla <skryskalla@gmail.com>wrote:

> On Sat, Jul 6, 2013 at 4:06 AM, Alessio Civitillo
> <alessiocivitillo@gmail.com> wrote:
> > I need to implement an authorization hold payment system. This is sort of
> > like kickstarter: the customer makes the purchase but I will confirm it
> only
> > when a certain set of conditions is met (think group purchasing: the
> > purchase is "captured"/confirmed by me when all the group has made 1
> > purchase).
>
> Stripe just released an authorization & capture feature, where you can
> authorize a charge for up to 7 days:
>
> https://stripe.com/blog/auth-capture
>



-- 
Regards,
------------------------------------
Alessio Civitillo
alessiocivitillo@gmail.com
Mobile: (0045) 52645608
Linkedin: http://it.linkedin.com/in/alessiocivitillo

Re: [flask] Authorization hold payment system

From:
Owein Reese
Date:
2013-07-06 @ 11:33
You should check out balanced payments. Their api will allow you to do
everything you need while not having to maintain PCI compliance.
On Jul 6, 2013 7:08 AM, "Alessio Civitillo" <alessiocivitillo@gmail.com>
wrote:

> Hello,
>
> I need to implement an authorization hold payment system. This is sort of
> like kickstarter: the customer makes the purchase but I will confirm it
> only when a certain set of conditions is met (think group purchasing: the
> purchase is "captured"/confirmed by me when all the group has made 1
> purchase).
>
> I have been skimming the source code of flask-paypal (
> https://github.com/jdiez17/flask-paypal/blob/master/app.py) and I get
> what it's doing, but it uses setExpressCheckOut, which, according to paypal
> docs, creates a token that lasts only 3 hours. I need to be able to delay
> the payment for more than that.
>
> Thanks for any help on this,
> Alessio
>