Difference between revisions of "NATS4 Post URLs Usage"
From TMM Wiki
Jump to navigationJump to searchLine 10: | Line 10: | ||
For example, with '''Rebill Post URL''' you can have NATS post to this URL on each rebill. | For example, with '''Rebill Post URL''' you can have NATS post to this URL on each rebill. | ||
+ | |||
+ | Continuing with the '''Rebill Post URL''' example you could | ||
+ | <pre> | ||
+ | <? | ||
+ | $file = fopen("log.txt", "a"); | ||
+ | fwrite($file, print_r($_REQUEST, true)); | ||
+ | fclose($file); | ||
+ | ?> | ||
+ | </pre> | ||
+ | |||
With each post back you have access to several fields. | With each post back you have access to several fields. |
Revision as of 15:48, 9 April 2010
You can have NATS post to a URL of your choosing when different biller events happen.
For example, with Rebill Post URL you can have NATS post to this URL on each rebill.
Continuing with the Rebill Post URL example you could
<? $file = fopen("log.txt", "a"); fwrite($file, print_r($_REQUEST, true)); fclose($file); ?>
With each post back you have access to several fields.
For a list of the fields in the post please see the wiki page Nats4 Post URL Variables.
For an example of these fields please see the wiki page NATS4 Post URLs.