4D Payments SDK 2016 .NET Edition

Questions / Feedback?

Activate Method

Activates a merchant account on the Datawire VXN.

Syntax

public void Activate();
Public Sub 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 = "0000001V002500"; //any unique number will do; check TransactionNumber property for format
  FDMSRegister.URL = "https://stagingsupport.datawire.net/staging_expresso/SRS.do";
  FDMSRegister.Register(); 
  FDMSRegister.TransactionNumber = "0000002V002500"; //any unique number will do; check TransactionNumber property for format
  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 = "0000001VRC1234"; //any unique number will do; check TransactionNumber property for format
  FDMSRegister.ServiceDiscovery("https://prod.dw.us.fdcnet.biz/sd/srsxml.rc");
  FDMSRegister.ApplicationId = "RAPIDCONNECTSRS";
  FDMSRegister.TransactionNumber = "0000002VRC1234" //any unique number will do; check TransactionNumber property for format
  FDMSRegister.Register(); 
  FDMSRegister.TransactionNumber = "0000003VRC1234" //any unique number will do; check TransactionNumber property for format
  FDMSRegister.Activate();

.NET Standard Notes

To call this method in an asynchronous manner call ActivateAsync instead. When the method completes (or an error is encountered) the ActivateCompleted event will fire.

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7809]