On Mon, 2009-06-29 at 16:27 +0300, Mikko Ohtamaa wrote:
> Hi all,
> 
> I have now added support for multiple payment processors in GetPaid.
> It somehow works with synchronous payment processor
> (getpaid.nullpayment) and asynchronous payment processor
> (getpaid.paypal).
> 
> Please follow instructions here:
> http://pypi.python.org/pypi/getpaid.paymentprocessors/0.1
> 
> Updated packages :
> 
> Products.GetPaid (multiplepaymentprocessors branch)
> getpaid.paymentprocessors (trunk)
> https://getpaid.googlecode.com/svn/getpaid.paymentprocessors/trunk
> getpaid.nullpayment (multiplepaymentprocessors branch)
> getpaid.paypal (trunk)
> 
> Open questions:
> 
> - How asynchronous payment processor should manage its order and cart?
> I was bit lost trying to figure this out. Especially 1) when order is
> created

When displaying the button for the redirect to PayPal getpaid.paypal
creates an order, 'authorizes' it (and stores the order) and then
redirects to PayPal for payment. The cart is destroyed prior to the
redirect (I'm just the messenger in this case as the code wasn't
implemented by me; perhaps Michael's implementation may be better
here?).

>  2) when order is authorized

As above, this is done as part of the display of the 'Pay Now' button.
As an aside, when the successful payment notification (IPN in PayPal
speak) comes back from PayPal the order is marked as 'PAYED'.

>  3) When user cart is emptied

The cart is available to the user until they click the checkout button
upon which it is destroyed (as mentioned above).

Thanks,
Tim

> Other open issues found in getpaid.paymentprocessors readme
> http://pypi.python.org/pypi/getpaid.paymentprocessors/0.1
> 
> -- 
> Mikko Ohtamaa
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to