Template:Emulators
From 360Works Product Documentation Wiki
(Difference between revisions)
(Created page with "==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 p...") |
m (→Emulators And Alternate URLs) |
||
Line 1: | Line 1: | ||
==Emulators And Alternate URLs== | ==Emulators And Alternate URLs== | ||
− | If you would like to use | + | 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'''<br/> | '''Example of communicating with a gateway that provides an Authorize.Net emulator at the URL http://AlternateURLGoesHere.com'''<br/> |
Revision as of 22:20, 5 November 2013
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.