|
|
Line 4: |
Line 4: |
| }} | | }} |
| | | |
− | Instead of sending [[ct#Member|members]] to an external URL after their transactions are
| + | When a [[ct#Surfer|surfer's]] transactions on a site are approved, denied, or upgraded, they are typically sent to an external URL. However instead of sending [[ct#Member|members]] to an external URL after their transaction, NATS instead can send them to a custom internal URL using post-biller templates. |
− | approved, denied, or upgraded, NATS can send them to a custom internal URL.
| + | |
− | You can customize this URL's layout using [[Smarty]].
| + | == Customizing a Post-Biller Template == |
− | To edit the templates, go to [[Sites Admin]], edit or create a tour, click the | + | This URL's layout is customizable through the use of [[Smarty]]. |
| + | |
| + | To edit the templates go to [[Sites Admin]], edit or create a tour, click the |
| Templates tab, and find the following templates: ''page_approval'', | | Templates tab, and find the following templates: ''page_approval'', |
| ''page_denial'', ''page_upgrade_approval'', and ''page_upgrade_denial''. | | ''page_denial'', ''page_upgrade_approval'', and ''page_upgrade_denial''. |
| | | |
− | On the template, you can use the $site, $member, and $option Smarty arrays. For example, the default ''page_approval'' template can say:
| + | Once you are editing the template, you can use the ''$site'', ''$member'', and ''$option'' Smarty arrays in order to create a custom template for members to be redirected to after their transaction has been completed. For example, the default ''page_approval'' template can say something along the lines of: |
| + | |
| | | |
| <pre> | | <pre> |
Line 20: |
Line 23: |
| Password: {$member.password} | | Password: {$member.password} |
| </pre> | | </pre> |
| + | |
| + | |
| + | This displays a short message to the surfer, as well as informing them of their Username and Password if their transaction has been approved. This function allows clients flexibility if they want to keep surfers on their internal URLs after a transaction has occurred. |