Template:Emulators

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

Jump to: navigation, search

Emulators And Alternate URLs

If you would like to use Plastic to perform transactions against an alternate URL, 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 a common use case for 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