Template:Emulators

From 360Works Product Documentation Wiki
Revision as of 22:19, 5 November 2013 by Sterling (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Emulators And Alternate URLs

If you would like to use an perform a transaction against an alternate URL with Plastic, call the CCSetGateway function with the additional parameter url, whose value would correspond to the alternate url. Gateway emulators often fashion an application programming interface that resembles that of a competing gateway to ease the integration process for merchants who switch to their gateway. This is an example of a scenario which might require the use of an alternate URL.

Example of communicating with a gateway that provides an Authorize.Net emulator at the URL http://AlternateURLGoesHere.com

Set Variable [$result; Value:CCSetGateway ("Authorize.Net" ; "url=http://AlternateURLGoesHere.com/")]

The call to CCSetGateway acts as a flag, so all subsequent transactions will point to the alternate URL until otherwise specified or FileMaker is restarted.

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox