[Erp5-report] r28180 - in /erp5/trunk/bt5/erp5_commerce: SkinTemplateItem/portal_skins/erp5...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jul 27 11:16:00 CEST 2009
Author: vincentd
Date: Mon Jul 27 11:15:59 2009
New Revision: 28180
URL: http://svn.erp5.org?rev=28180&view=rev
Log:
# vincentd
Allow alternative url for testing purpose
Modified:
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getExpressCheckoutDetails.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getNewPaypalToken.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getPaypalUrl.xml
erp5/trunk/bt5/erp5_commerce/bt/revision
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getExpressCheckoutDetails.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getExpressCheckoutDetails.xml?rev=28180&r1=28179&r2=28180&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getExpressCheckoutDetails.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getExpressCheckoutDetails.xml [utf8] Mon Jul 27 11:15:59 2009
@@ -60,7 +60,7 @@
security_parameter_dict[\'METHOD\'] = \'GetExpressCheckoutDetails\'\n
\n
response_parameter_dict = context.ERP5Base_submitPaypalNVPRequest(parameter_dict=security_parameter_dict,\n
- nvp_url=context.WebSite_getPaypalUrl(api=\'nvp\'))\n
+ nvp_url=context.WebSite_getPaypalUrl(api=\'nvp\', alternative_url=alternative_url))\n
return response_parameter_dict\n
</string> </value>
</item>
@@ -72,7 +72,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>token</string> </value>
+ <value> <string>token, alternative_url=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -92,13 +92,14 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>1</int> </value>
+ <value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>token</string>
+ <string>alternative_url</string>
<string>_getattr_</string>
<string>context</string>
<string>security_parameter_dict</string>
@@ -116,7 +117,9 @@
<item>
<key> <string>func_defaults</string> </key>
<value>
- <none/>
+ <tuple>
+ <none/>
+ </tuple>
</value>
</item>
<item>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getNewPaypalToken.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getNewPaypalToken.xml?rev=28180&r1=28179&r2=28180&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getNewPaypalToken.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getNewPaypalToken.xml [utf8] Mon Jul 27 11:15:59 2009
@@ -54,7 +54,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>response_parameter_dict = context.ERP5Base_submitPaypalNVPRequest(parameter_dict=context.WebSite_getPaypalOrderParameterDict(),\n
- nvp_url=context.WebSite_getPaypalUrl(api=\'nvp\'))\n
+ nvp_url=context.WebSite_getPaypalUrl(api=\'nvp\', alternative_url=alternative_url))\n
\n
if response_parameter_dict is None:\n
return None\n
@@ -72,7 +72,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string></string> </value>
+ <value> <string>alternative_url=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -92,12 +92,13 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>0</int> </value>
+ <value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
+ <string>alternative_url</string>
<string>_getattr_</string>
<string>context</string>
<string>response_parameter_dict</string>
@@ -114,7 +115,9 @@
<item>
<key> <string>func_defaults</string> </key>
<value>
- <none/>
+ <tuple>
+ <none/>
+ </tuple>
</value>
</item>
<item>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getPaypalUrl.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getPaypalUrl.xml?rev=28180&r1=28179&r2=28180&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getPaypalUrl.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/WebSite_getPaypalUrl.xml [utf8] Mon Jul 27 11:15:59 2009
@@ -53,7 +53,10 @@
</item>
<item>
<key> <string>_body</string> </key>
- <value> <string>test_environement = context.getLayoutProperty(\'ecommerce_test_environment_enabled\', None)\n
+ <value> <string>if alternative_url is not None:\n
+ return alternative_url\n
+\n
+test_environement = context.getLayoutProperty(\'ecommerce_test_environment_enabled\', None)\n
\n
if test_environement is not None and test_environement == 1:\n
if api == \'nvp\':\n
@@ -73,7 +76,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>api=None</string> </value>
+ <value> <string>api=None, alternative_url=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -93,16 +96,17 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>1</int> </value>
+ <value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>api</string>
+ <string>alternative_url</string>
+ <string>None</string>
<string>_getattr_</string>
<string>context</string>
- <string>None</string>
<string>test_environement</string>
</tuple>
</value>
@@ -116,6 +120,7 @@
<key> <string>func_defaults</string> </key>
<value>
<tuple>
+ <none/>
<none/>
</tuple>
</value>
Modified: erp5/trunk/bt5/erp5_commerce/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/revision?rev=28180&r1=28179&r2=28180&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_commerce/bt/revision [utf8] Mon Jul 27 11:15:59 2009
@@ -1,1 +1,1 @@
-140
+142
More information about the Erp5-report
mailing list