|
Author: ashish
Date: Fri May 29 11:23:16 2009 New Revision: 779935 URL: http://svn.apache.org/viewvc?rev=779935&view=rev Log: For now we are providing the option to send cart info to the Google Checkout. So anonymous user can also do checkout after selecting cart lines items. No need to secure services for now. Modified: ofbiz/trunk/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml ofbiz/trunk/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml Modified: ofbiz/trunk/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml?rev=779935&r1=779934&r2=779935&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml (original) +++ ofbiz/trunk/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml Fri May 29 11:23:16 2009 @@ -22,7 +22,7 @@ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> - <simple-method method-name="transmitRequest" short-description=""> + <simple-method method-name="transmitRequest" short-description="" login-required="false"> <!-- Connect, there may be ofbiz HttpClient.java that may handle this well --> <call-service service-name="connectToGoogleCheckoutServer"> <result-to-field result-name="conn"/> @@ -44,7 +44,7 @@ <field-to-result field="redirect"/> </simple-method> <!-- Step 1 --> - <simple-method method-name="connectToGoogleCheckoutServer" short-description="create connection to Google Checkout server"> + <simple-method method-name="connectToGoogleCheckoutServer" short-description="create connection to Google Checkout server" login-required="false"> <call-simple-method method-name="createRequestUrl"/> <call-simple-method method-name="getHttpAuth"/> <call-bsh><![CDATA[ @@ -64,7 +64,7 @@ ]]></call-bsh> <field-to-result field="conn"/> </simple-method> - <simple-method method-name="createRequestUrl" short-description=""> + <simple-method method-name="createRequestUrl" short-description="" login-required="false"> <!-- Setup Url spec --> <property-to-field resource="googleCheckout" property="basePostUrl" field="basePostUrl"/> <property-to-field resource="googleCheckout" property="merchantId" field="merchantId"/> @@ -74,7 +74,7 @@ <field field="urlSpec"/> </create-object> </simple-method> - <simple-method method-name="getHttpAuth" short-description=""> + <simple-method method-name="getHttpAuth" short-description="" login-required="false"> <property-to-field resource="googleCheckout" property="merchantId" field="merchantId"/> <property-to-field resource="googleCheckout" property="merchantKey" field="merchantKey"/> <set field="userNameAndPass" value="${merchantId}:${merchantKey}"/> @@ -84,7 +84,7 @@ <set field="HttpAuth" value="Basic ${encodedValue}"/> </simple-method> <!-- Step 2 --> - <simple-method method-name="createXMLOutput" short-description=""> + <simple-method method-name="createXMLOutput" short-description="" login-required="false"> <!-- create writer --> <create-object class-name="java.io.StringWriter" field="XMLWriter"/> <!-- create screen context --> @@ -123,7 +123,7 @@ <set field="content" value="${bsh:XMLWriter.toString()}"/> </simple-method> <!-- Step 3 --> - <simple-method method-name="setupContent" short-description=""> + <simple-method method-name="setupContent" short-description="" login-required="false"> <call-bsh><