Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

Credit Method

Submits a credit transaction.

Syntax

[VB.NET]
Public Sub Credit()
[C#]
public void Credit();

Remarks

This method credits funds to the card. This is not based on a previous transaction. This may be used to return funds to a card if a previous transaction has already been settled. To void or cancel a transaction before it has been settled call Reverse instead.

After this method returns check the value of Code to determine if the transaction was successful.

Important Note: You must ping your list of service provider URLs and update the URL property to the service provider with the shortest response time every 100 transactions, as well as when your application initially starts. This is not a normal ICMP ping - to determine the fastest transaction URL you must use the special Ping method inside the FDMSRegister component. (You may update your list of service provider URLs with the FDMSRegister component's ServiceDiscovery method).

Debit Credit Example

debit.TPPID = "AAA000";
debit.MerchantTerminalNumber = "00000001";
debit.MerchantId = "1234";
debit.GroupId = "20001";
debit.DatawireId = "00011122233344455566";
debit.ApplicationId = "RAPIDCONNECTVXN";
debit.URL = "https://stg.dw.us.fdcnet.biz/rc";

debit.STAN = "112";
debit.TransactionNumber = "1234";
debit.ReferenceNumber = "1212";
debit.OrderNumber = "123";

debit.Card.MagneticStripe = "4003010001234572=17041011234567440";
debit.EncryptedPIN = "7BD8948B328B21E5";
debit.KSN = "876543210F008400029";

debit.TransactionAmount = "1200";
debit.Credit();

NOTE: This method has a corresponding asynchronous version (CreditAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0