מרכז הידע / ממשקים - ישן לפני שנת 2020

Suspended deal - Charging / Cancelling

Suspended deal is an operation that only takes a deposit from a client and not charging immediatly.
the charging possibilities are:
- througe API
- Cardcom GUI system (read article: suspended deal)

for more flexibillity - Tokens module is recommended.


Charging Suspended deal

supports two interfaces: Name To Value & Web Service
the following parameter table is good for interfaces.

1. Web Service
function address is -  https://secure.cardcom.co.il/Interface/BillGoldService.asmx
the parameter to be used is - SuspendedDealActivateOne
see following table for more info.

2. Name To Value
function address is - https://secure.cardcom.co.il/interface/SuspendedDealActivate.aspx

Legend:
red parameter - a must
bold parameter -recommended
not red and not bold - optional

 

3. Parameter table to charge suspended deal

 No. Parameter Possible values Description
 1  TerminalNumber  1000  internal terminal number (not shava) 
 2  UserName TestUser  User name
 3  SuspendedDealID 321321  transaction number

 

4. Parameter table for response

No. Parameter Possible values Description
 1  ResponseCode  0 - Success, Other - Failure  Success/Failure
 2  Description  Success  Response desc. anything other then "0" should be registered to admin
 3  InternalDealNumber  1234567   Internal deal number for transaction
 4  InvoiceResponse.ResponseCode
 
 0  response code, the Cardcom interface gives priority to charging in a situation where there is a problem with the invoice
 5  InvoiceResponse.Description Success  Response code for creating invoice
 6  InvoiceResponse.InvoiceNumber  332  Invoice number. 
 7  InvoiceResponse.InvoiceType 1 - billing invoice
2 - Refund invoice
3 - Receipt
4 - Customer refund (Refund receipt)
 Invoice type.

 

Example - address to charge suspended deal:
https://secure.cardcom.solutions/Interface/SuspendedDealActivate.aspx?username=TestUser&userpassword=p1234567&terminalnumber=1000&SuspendedDealId=751

 

___________________________________________________

Cancelling/Deleting suspended deal

Name To Value
Address is https://secure.cardcom.solutions/interface/DeleteSuspendedDeal.aspx

No. Parameter Possible values Description
 1  TerminalNumber  1000  Terminal Number
 2  UserName  TestUser  API Username
 3  SuspendedDealID  751 Suspended Deal ID
 4  UserPassword  p1234567  API Password

 

Example - address to cancel/delete suspended deal ID 751 
https://secure.cardcom.solutions/Interface/DeleteSuspendedDeal.aspx?username=TestUser&userpassword=p1234567&terminalnumber=1000&SuspendedDealId=751

האם המאמר הזה עזר לך?