This sample shows how to initiate the hosted payments action using the alternate javascript method calls