Pay with Amazon Example

A simple example showing Pay with Amazon being used to place an order.
It's rather ugly, but it illustrates the basic principles.  Pay will
Amazon will be incorporated into the cart implementation shortly.

We us postscribe to load amazon dynamically.  The jury is still out on
it.  It seems to work well, but we also saw a few strange errors with
jQuery during the development.  We're not sure we'd use postscribe in
production just yet.  It's not needed if you're willing to hardcode your
Amazon Seller Id in the script src.
Encrypt Credit Card Number

The cart implementation now has a method to transmit the credit card
number directly to UltraCart.   This prevents it from going through your
rest_proxy.php script.  This is a big security win.   With the old
method, your web site might be subject to additional requirements to be
PCI Compliant.  With the credit card going  directly to UltraCart, you
don't have to worry (as much) about a site comprimise.

Look for the javascript method app.commonFunctions.storeCreditCard for
details.