On Wed, Sep 15, 2010 at 3:20 AM, klaus++ <klaus@spip.de> wrote:
Hi Martín,
thank you for offering us such a valuable (!) tool.
Does it send a trustworty signal about the payment status to the merchant’s SPIP site?
Credit card payment interfaces I know have an architecture / workflow like this:
- Client adds item to basket
- Client enters delivery data to merchant database
- Client clicks on « confirm and pay now »
- Merchant’s site forwards client to payment provider (Paypal etc.) using https and a crypted string provided by the merchant’s site for identification of the particular order.
- Client pays at payment provider’s site
- Payment provider sends crypted confirmation to merchant’s site through http or https
- Merchant’s site sends payment confirmation to client and changes his status in the database
- Payment provider forwards Cliente to the merchant’s site.
- Client now has a new status and may access paid content.
Prerequisite for steps 4. ff is a secret key merchant and payment provider have agreed upon. They are using it for encrypting communication betweent their sites.
Encrypted communication using an secret key only known to merchant and payment provider makes it possible for the latter to send a trustworty payment confirmation to the merchant’s site.
Is there any suche procedure in your plugin or does it just handle communication between client and payment provider ? My point is that I want to immediately send confirmations to the merchant and to the client, giving him instant access to sectors of the merchant’s site containing paid content.
Excuse me for being so long, I just wanted to point out what I a m talking about. If you just answered yes oder no it would help me to understand what your plugin is about.
klaus++
Hi klaus
SimpleCart, the original, is very simple (and not full featured) by design, and it’s hasn’t order controls, stocks, etc. (for which a database is required) because doesn’t interact with the server by itself. It’s just client-side javascript.
So the process at the moment is as short as this:
- Client adds item to basket
- Client clicks on « checkout »
- Merchants site (simplecart) forwards client to payment provider (Paypal etc.)
- Client pays
- Optionally, the payment provider forward the client to a given success/error url.
you can check the official demo at http://simplecartjs.com
I’ve done a few hacks to the original javascript code (i.e. add dineromail support) but it’s essentially that.
So, the « control » at this state of the art is not automatic and it’s at the checkout provider side, which send and store the description and state of the transaction in both seller and buyer accounts. In others words: the sellers effectively sells something when PayPal/others says (by email and in the account history) what, when and who.
One important missing step (which I must to solve at spip layer) is that client give the shipping data before to be redirected.
this example (a demo of the analogous wordpress plugin) could be a guide.
http://www.chris-wallace.com/simplecart/
thanks for the feedback.