Activate Method
Activates a merchant account on the Datawire VXN.
Syntax
public void activate();
Remarks
After you have successfully registered, you will still not be able to send transactions using the Datawire VXN until you activate your account. For the security reasons, a merchant is required to activate within a limited time period after receiving a successful registration response. Otherwise, the Datawire VXN will deactivate the account and you will need to restart the registration process again.
North, Nashville, and Omaha:
For example:
FDMSRegister.MerchantNumber =
"000000999990"
;
FDMSRegister.MerchantTerminalNumber =
"555555"
;
FDMSRegister.TransactionNumber =
"1"
;
//any unique number will do.
FDMSRegister.URL =
"https://stagingsupport.datawire.net/staging_expresso/SRS.do"
;
FDMSRegister.Register();
FDMSRegister.TransactionNumber = FDMSRegister.TransactionNumber + 1;
FDMSRegister.Activate();
FDMSRegister.ServiceDiscovery(FDMSRegister.PrimaryDiscoveryURL);
for
(
int
i = 0; i < FDMSRegister.ServiceProviders.Length; i++) {
FDMSRegister.Ping(FDMSRegister.ServiceProviders[i]);
Console.WriteLine(FDMSRegister.ServiceProviders[i] +
" = "
+ FDMSRegister.PingResponseTime);
}
Rapid Connect:
For example:
FDMSRegister.MerchantNumber =
"000000999990"
;
FDMSRegister.MerchantTerminalNumber =
"555555"
;
FDMSRegister.Config(
"GroupId=10001"
);
FDMSRegister.TransactionNumber =
"1"
;
//any unique number will do.
FDMSRegister.ServiceDiscovery(
"https://prod.dw.us.fdcnet.biz/sd/srsxml.rc"
);
FDMSRegister.ApplicationId =
"RAPIDCONNECTSRS"
;
FDMSRegister.TransactionNumber = FDMSRegister.TransactionNumber + 1;
FDMSRegister.Register();
FDMSRegister.TransactionNumber = FDMSRegister.TransactionNumber + 1;
FDMSRegister.Activate();