Commit 12346306 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xiaowu Zhang

Fix script name convention

Renamed SaleOrder_finalizeShopping to WebSection_finalizeShopping.
parent c9b17ace
......@@ -264,7 +264,7 @@ context.Base_redirect(\'SaleOrder_viewThankYouMessage\')\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SaleOrder_finalizeShopping</string> </value>
<value> <string>WebSection_finalizeShopping</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -75,7 +75,7 @@
<input type="hidden" name="business" value="vincen_1247039207_biz@nexedi.com">\n
\n
<input type="hidden" name="rm" value="POST">\n
<input type="hidden" name="notify_url" tal:attributes="value python: \'%s/SaleOrder_finalizeShopping\' % (base_url)">\n
<input type="hidden" name="notify_url" tal:attributes="value python: \'%s/WebSection_finalizeShopping\' % (base_url)">\n
<input type="hidden" name="return" tal:attributes="value python: \'%s/SaleOrder_viewThankYouMessage\' % (base_url)">\n
<input type="hidden" name="cancel_return" tal:attributes="value python: \'%s?portal_status_message=Payment canceled.\' % (base_url)">\n
\n
......
......@@ -86,7 +86,7 @@ if response_dict[\'ACK\'] != \'Success\':\n
#Payment is ok. Set shopping cart is payed\n
context.SaleOrder_setShoppingCartBuyer()\n
\n
return context.SaleOrder_finalizeShopping()\n
return context.WebSection_finalizeShopping()\n
</string> </value>
</item>
<item>
......
......@@ -154,7 +154,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>SaleOrder_finalizeShopping:method</string> </value>
<value> <string>WebSection_finalizeShopping:method</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
308
\ No newline at end of file
309
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment