Hello Teru,

    I expect that if they develope something, it will certainly be an
improvement over what is already in existance, and will be worth
having a look at to see if the effort is worth it or not.

   You see, with these kind of interfaces to paypal and the likes,
what happens is that there are more than one way to do things, and the
correct way, ussually depends on the customer and their particular
needs.

   My point of view on this has been probably an over simplification:
"If the customer needs an incredible level of integration, it is
because they are selling a lot. And if they are selling a lot, they
definetelly DONT want their customers paying through paypal or google
(they'd rather pay for a merchant account and get a much lower rate
per sale, as this adds to a lot of money, plus they can agree to other
terms with their bank) or whoever else, EXCEPT for the fact that these
providers do provide ways to increase their sales.  If I am in a case
like that, I am sure I will need to develope everything from scratch
and work with them towards whatever they want specifically.

   So I decided to work on the most basic programatical integration
(vs the express checkout, that does not require programming, but is
very limited), that may allow to upload a cart, and gone a couple
steps further to cover a bit vs attempts at fraud by implementing PDT
and IPN to process the information validated by Paypal.

   I am going to be writing an article on that as soon as I get the
time. Problem is, I am going to be away for a month or so now, so it
will probably have to wait till end of August.

   Regarding estore, I have ended up rewriting it, but its not really
a store now but a simplified wedding gift list application.

Cheers,
Benigno.

On 24 jul, 07:26, suiato <homm...@gmail.com> wrote:
> Hi Benigno and all,
>
> I found an announcement
> "PayPal to Become First Truly Global Payment Platform Open to Third-
> Party Developers"
> athttps://www.paypal-media.com/releasedetail.cfm?ReleaseID=398758
>
> Will the API be useful to find a better way to incorporate PayPal into
> the eStore applicance?
>
> --
> Teru
>
> On 7月13日, 午後8:56, Benigno <bca...@albendas.com> wrote:
>
> > Suiato,
>
> >    I have just sent the code to Massimo, I dont know if the format I
> > sent it will be ok, or if the code will be ok. But if you are in a
> > hurry what you need is actually very simple:
>
> >     <form action="https://www.sandbox.paypal.com/cgi-bin/webscr";
> > method="post">
> >       <!-- Select the correct button depending on country etc.
> >       If you can do it with pregenerated buttons (with prices included
> > etc)
> >       then so much the better for security -->
> >       <input type="hidden" name="business" value="{{=paypal_id}}" />
> >     <input type="image" src="https://www.sandbox.paypal.com/es_XC/i/
> > btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The
> > safer, easier way to pay online!">
> >     <img alt="" border="0" src="https://www.sandbox.paypal.com/es_XC/i/
> > scr/pixel.gif" width="1" height="1">
> >     <form action="http://www.sandbox.paypal.com/cgi-bin/webscr";
> > method="post" />
> >     <input type="hidden" name="cmd" value="_cart" />
> >     <input type="hidden" name="upload" value="1" />
> >     <input type="hidden" name="currency_code" value="EUR" />
> >     <input type="hidden" name="display" value="1"/>
> >     <input type="hidden" name="shopping_url" value="www.google.com"/>
> >     {{k=1}}
> >     {{for id,product in products.items():}}
> >       <input type="hidden" name="item_name_{{=k}}"
> > value="{{=product.name}}"/>
> >       <input type="hidden" name="quantity_{{=k}}"
> > value="{{=session.chart[str(id)]}}"/>
> >       <input type="hidden" name="tax_{{=k}}"
> > value="{{=product.price*product.tax_rate_in_your_state}}"/>
> >       <input type="hidden" name="amount_{{=k}}"
> > value="{{=product.price}}"/>
> >       {{k+=1}}
> >     {{pass}}
> >     </form>
>
> > This creates a button for you. You should however, start by creating a
> > sandbox user, then create test accounts for the seller and buyer,
> > validate both accounts, and then from the seller account, make
> > yourself a button (so that you have it localised) and put the rest of
> > the fields missing as you see above.
>
> > Actually, I tried to use the encrypted user that the buttons generate,
> > but it didnt work for me, and had to make the user visible. I will try
> > further at a later stage, if you find out how to further secure the
> > button, I'll be happy to learn. I didnt find anything else when
> > uploading a whole cart with the details without setting up each item
> > separatedly with their prices in paypal.
>
> > Benigno.
>
> > On 12 jul, 15:33, suiato <homm...@gmail.com> wrote:
>
> > > Hi Benigno, thanks for commenting and info onPaypalNVP.  I hope to
> > > be able to try out your code oneStorewhen it becomes available.
>
> > > As another e-commerce example, I know EC-CUBE (http://www.ec-
> > > cube.net), which is open-source, written in PHP,  and lists support
> > > for credit payment procedures with Paygent, Webmoney, Softbank payment
> > > service, GMO payment gateway, F-REGI, Zeus, Sophia, Epsilon and
> > > remise. Couldn't find support forPaypalor Goole Checkout. Sorry the
> > > site is only in Japanese.  It  is managed by a company who provides
> > > voluntary services for the community as well as paid support services
> > > to its customers. It calls for developers, committers, partners for
> > > hosting, integration, alliance and design.
>
> > > It keeps adding features, and now has nice ones including mobile
> > > support, collaboration with SNS, etc. It has wide user-base, and
> > > developer community backed by a company, and it worked fine when I
> > > tried to test-install. So, why not using it instead of developing
> > > another one? Well, I'd like to use Python and web2py because I think
> > > they have a chance to make better applications and development
> > > processes now and in the future.
>
> > > It is impressive to see it lists a number of agents for payment. Would
> > > it be difficult to port them to Python or web2py? I suppose it
> > > shouldn't be too difficult once the logics layed out clearly, but
> > > others believe it only when it's proven/done. Unfortunately, I'm not
> > > an expert in PHP.
>
> > > I'm thrilled to hear that Massimo has strong interest in building a
> > > new and more powerfuleStore. I will be interested in joining the task
> > > force if I find a role to play in the development.
>
> > > The discussion on the task forces going on in another thread is
> > > drawing a lot of attention and really "flourishing" :-)  I saw
> > > discussion on esablishing development procedures, creating
> > > documentation basis/system, etc.  It's good to find out what people
> > > want/need thru these discussions. Hope eventually things will be
> > > sorted out, and we'll see a good plan including one oneStoretask
> > > force.
>
> > > --
> > > Teru
>
> > > On 7月11日, 午前4:57, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > I am very much interested in building a new and more powerfuleStore.
> > > > I think we need to setup a task force of people interested int his and
> > > > build one all together. We need somebody willing coordinate and be
> > > > project leader.
>
> > > > Massimo
>
> > > > On Jul 10, 11:45 am, Benigno <bca...@albendas.com> wrote:
>
> > > > > Hey,
>
> > > > >     I just happen to have been playing around both withestoreand
> > > > > with thePaypalEngine that Matt did. (I have the same problem you do,
> > > > > UK is the only country that gets some of googles love in europe, the
> > > > > rest go way behind, so no google checkout here either). Actually
> > > > > Google checkout works only in US, UK (and Canada maybe, if I recall
> > > > > correctly)
>
> > > > >     Anyways, the Engine that Matt did, does NVP, which allows you to
> > > > > integratePaypalto a different level than most people probably need
> > > > > (which is much more simmilar to what Massimo has on hisEStoreapp).
> > > > > Right now on the Engine that Matt did, you only have the
> > > > > DoDirectPayment already setup (which is to process the data of a
> > > > > transaction for which you hold all the customers data including credit
> > > > > card etc). If you need to do the whole checkout withPaypalwith NVP,
> > > > > its a longer process, if I remember ok, you actually first stablish a
> > > > > connection, then you get a token frompaypalvalidating it, you
> > > > > redirect to a URL with that token, then then you get the validation of
> > > > > all the data from the customer, then you process your cart confirming
> > > > > the sale, and get another response giving you the data you would need
> > > > > to show the customer the receipt... its something like this.
>
> > > > >     However, there is a very simple way to set it up that works almost
> > > > > exactly like what Massimo shows for google. I am just in the process
> > > > > of modifyingEStoreto put it in place in a very simplified way, but I
> > > > > am sure you can take it up from there to do whatever you want. I'll
> > > > > send it to Massimo if its ok, as I am building a bit over his code,
> > > > > and would rather he posts it if he feels its ok. I'll try to have it
> > > > > by next monday.
>
> > > > > Cheers,
> > > > > Benigno.
>
> > > > > On 4 jul, 06:20, suiato <homm...@gmail.com> wrote:
>
> > > > > > just restarted to work oneStoreyesterday, trying to use it as a
> > > > > > reference for one of my projects.
> > > > > > it's a good and useful example for me to learn translation and 
> > > > > > system
> > > > > > in web2py.
>
> > > > > > Google checkout for merchants is still not available in countries
> > > > > > other than US and UK, though its application pages now appear here 
> > > > > > in
> > > > > > Japanese...
>
> > > > > > Found an appliancePayPalEngine by Matt Sellers 
> > > > > > athttp://mdp.cti.depaul.edu/appliances.
> > > > > > Could be integrated intoeStore?
>
> > > > > >eStoremay be old and need a lot of work to be a full-fledged e-
> > > > > > commerce appliance. It'd be nice to have it that way,
> > > > > > but there's another interest in removing fluffy parts and trimming
> > > > > > down to its skeleton. This way, logics will be revealed
> > > > > > more clearly, easy to understand the structure, and easy to extend 
> > > > > > it
> > > > > > as necessary.
>
> > > > > > Dreaming a dream of the skeletaleStoreto be applied to various
> > > > > > devices like iPhone, mobiles, PDA and others without changing its
> > > > > > logical core...
>
> > > > > > --
> > > > > > Teru
>
> > > > > > On 7月4日, 午前1:41, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > > > eStoreis now an old app. It needs lots of work.
>
> > > > > > > Massimo
>
> > > > > > > On Jul 3, 11:36 am, mingodad <mingo...@gmail.com> wrote:
>
> > > > > > > > I was caught too by the error messages "too small or too large"
> > > > > > > > I sugest to add the folowing to the css part on layout.html:
>
> > > > > > > > .error { background-color: red; color: white; padding: 3px }
>
> > > > > > > > It was borroed from T3, this way the error messages will not 
> > > > > > > > pass
> > > > > > > > unnoticed.
>
> > > > > > > > As well I'm intrigged why the *_bc fields doesn't get the 
> > > > > > > > default
> > > > > > > > values like the others !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to