URL Property
Location of the Datawire server to which transactions are sent.
Syntax
fdmsregister.getURL([callback]) fdmsregister.setURL( URL, [callback])
Default Value
"https://support.datawire.net/production_expresso/SRS.do"
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getURL([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setURL([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This URL is used by the Register and Activate methods to provision the merchant. The following URLs are available for use:
https://support.datawire.net/production_expresso/SRS.do | This is the default production URL, and is used to provision a merchant on the FDMS North/Cardnet platform. The North/Cardnet platform is for making credit card transactions. |
https://support.datawire.net/nocportal/SRS.do | Production server for provisioning a merchant on the FDMS ValueLink Closed Loop Gift Card system. A merchant registered with this URL may only make transactions using the FDMSGiftCard class. |
https://stagingsupport.datawire.net/staging_expresso/SRS.do | Test server, used for provisioning a merchant in a testing environment. A merchant registered and activated on the test system will receive test (staging) URLs in the PrimaryDiscoveryURL and SecondaryDiscoveryURL, as well as in the ServiceProviders collection. These servers may be used by the merchant for credit card testing and certification purposes (but not gift cards). |
https://stagingsupport.datawire.net/nocportal/SRS.do | This is a test server for provisioning a merchant on the FDMS ValueLink Closed Loop Gift Card system. Once provisioned, the MerchantNumber/MerchantTerminalNumber/DatawireId combination may only be used to make test transactions with the FDMSGiftCard class. |
For the Rapid Connect platform, URL will be populated after a successful ServiceDiscovery request.
Data Type
String