On Thu, Jun 18, 2009 at 6:53 PM, Mikko Ohtamaa<[email protected]> wrote:
>
>
>>
>> Hi Michael,
>>
>> I'm glad you brought this up as (as you probably already guessed) PayPal
>> has exactly the same purchase process, i.e. the button appears in the
>> cart view.
>
> Instead of reading the code I take the shortcut to happiness... how do these
> buttons usually work? At least PayPal has some Javascript magic.

There are two things working here. One is not particularly technical.
That's the branding. Typically these third party processors expect you
to pick from one of their graphics for the button.

For Google Checkout when the shopper clicks on the checkout button the
browser submits a form to the plone server, as part of processing that
request the plone server communicates with google checkout, google
checkout provides the plone server with a URL, the plone server then
replies to the original form submit with a browser redirect to that
URL.

No JavaScript is required for that.

There is some optional integration with Google Analytics that requires
JavaScript. But that's the same JavaScript on every page. No extra
JavaScript needs to be specially introduced on the same page that the
checkout button is on.

> My question is that can we implemented checkout using checkout wizard and
> "Choose payment method" page.
>
> - Choose payment method page has list of payment methods, each has it's own
> radio button. After selection one method (radio button) the user can click
> next (Javascript enabled)
>
> - Clicking next goes always to same location (@@getpaid-review-payment or
> similar)

I think that the expectation of things like the Google Checkout or the
PayPal button is that you click on the button and that does something.

Rather than the two clicks of - Click on the button or radio widget
itself and that just selects the radio item. And then click on a next
button.


-- 
Michael Dunstan

--~--~---------~--~----~------------~-------~--~----~
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