Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
integration:modx:hmac_price_validation [2017/07/07 15:50] – [Code] adamintegration:modx:hmac_price_validation [2017/07/13 02:21] (current) – [Code] adam
Line 1: Line 1:
 ---- dataentry integration ---- ---- dataentry integration ----
-type          : integration     # do not change this line +type                           : integration # do not change this line 
-supports-foxycart-version-from : 0.7.0    # Minimum required FoxyCart version for this to work +supports-foxycart-version-from : 0.7.0 # Minimum required FoxyCart version for this to work 
-supports-foxycart-version-to   :     # Last FoxyCart version that supports this (leave empty if unknown) +supports-foxycart-version-to   :  # Last FoxyCart version that supports this (leave empty if unknown) 
-systems       : MODx Revolution, MODx Revo, MODx Evolution                # the system(s) that the integration is for, separated with commas if more than one +systems                        : MODx Revolution, MODx Evolution # the system(s) that the integration is for, separated with commas if more than one 
-name          : HMAC Price Validation                # the name of the integration +name                           : HMAC Price Validation # the name of the integration 
-description   : A plugin to automatically verify all links and forms output using MODX.                 +description                    : A plugin to automatically verify all links and forms output using MODX Revo and Evo #  
-tags          : hmac                # tags, separated by commas. don't include the "system" here. +tags                           : hmac # tags, separated by commas. don't include the "system" here. 
-date_dt       : 2011-06-28                # the date in YYYY-MM-DD format +date_dt                        : 2011-06-28 # the date in YYYY-MM-DD format 
-version                       # if you have a version for your code, enter it here +version                         # if you have a version for your code, enter it here 
-developer_url :                 # if you'd like a link back to your site, stick it here+developer_url                   # if you'd like a link back to your site, stick it here
 ---- ----
 +
  
 <WRAP important round> <WRAP important round>
Line 59: Line 60:
 switch ($e->name) { switch ($e->name) {
   case 'OnWebPagePrerender':   case 'OnWebPagePrerender':
-    include 'code/foxycart.cart_validation.php';+    include $modx->config["base_path"].'assets/plugins/foxycart_validation/foxycart.cart_validation.php';
     $modx->resource->_output = FoxyCart_Helper::fc_hash_html($modx->resource->_output);     $modx->resource->_output = FoxyCart_Helper::fc_hash_html($modx->resource->_output);
   break;   break;

Site Tools