Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| integration:modx:hmac_price_validation [2017/07/07 15:44] – adam | integration:modx:hmac_price_validation [2017/07/13 02:21] (current) – [Code] adam | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ---- dataentry integration ---- | ---- dataentry integration ---- | ||
| - | type : integration | + | type |
| - | 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 | + | supports-foxycart-version-to |
| - | systems | + | systems |
| - | name : HMAC Price Validation | + | name |
| - | description | + | description |
| - | tags : hmac # tags, separated by commas. don't include the " | + | tags |
| - | date_dt | + | date_dt |
| - | version | + | version |
| - | developer_url : | + | developer_url |
| ---- | ---- | ||
| + | |||
| <WRAP important round> | <WRAP important round> | ||
| Line 27: | Line 28: | ||
| This plugin is easy to install, and should "just work", so it is recommended for all MODX Revo installs. | This plugin is easy to install, and should "just work", so it is recommended for all MODX Revo installs. | ||
| + | Thanks to [[https:// | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - Create a directory in your '' | - Create a directory in your '' | ||
| Line 50: | Line 52: | ||
| ===== Code ===== | ===== Code ===== | ||
| - | <code php> | + | <code php><?php |
| /** | /** | ||
| * FoxyCart Validation Plugin for MODx 2.x (Revolution) | * FoxyCart Validation Plugin for MODx 2.x (Revolution) | ||
| Line 58: | Line 60: | ||
| switch ($e-> | switch ($e-> | ||
| case ' | case ' | ||
| - | include 'code/ | + | include |
| $modx-> | $modx-> | ||
| break; | break; | ||