GetMerchantTransactionData
Description
This method is used to get merchant transaction data.
Syntax
MerchantTransactionData GetMerchantTransactionData(SecurityToken securityToken
Examples
function getMerchantTransactionData(){
$client = new SoapClient('End point URL');
$securityToken = array(
'SecurityId' => '******-454757-4567457-********',
'UserId' => 'merchant1',
'Password' => 'merchant1'
);
$getMerchantTransactionData = array(
'securityToken' => $securityToken
);
$getMerchantTransactionDataResponse = $client->GetMerchantTransactionData($getMerchantTransactionData);
$getMerchantTransactionDataResponseResult = $getMerchantTransactionDataResponse->GetMerchantTransactionDataResult;
}
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
<soapenv:Header />
<soapenv:Body>
<ebiz:GetMerchantTransactionData>
<ebiz:securityToken>
<ebiz:SecurityId>********-5ea6-425e-8343-********</ebiz:SecurityId>
<ebiz:UserId>odoo1</ebiz:UserId>
<ebiz:Password>odoo1</ebiz:Password>
</ebiz:securityToken>
</ebiz:GetMerchantTransactionData>
</soapenv:Body>
</soapenv:Envelope>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GetMerchantTransactionDataResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
<GetMerchantTransactionDataResult>
<ItemSKU>Sku001</ItemSKU>
<ItemCommodityCode>12345678</ItemCommodityCode>
<ItemName>Services</ItemName>
<ItemDescription>Services</ItemDescription>
<ItemDiscountAmount>0.0000</ItemDiscountAmount>
<ItemDiscountRate>0.0000</ItemDiscountRate>
<ItemUnitOfMeasure>EA</ItemUnitOfMeasure>
<ItemUnitPrice>0.0000</ItemUnitPrice>
<ItemQty>1.0000</ItemQty>
<ItemTaxable>false</ItemTaxable>
<ItemTaxAmount>0.0000</ItemTaxAmount>
<ItemTaxRate>0.0000</ItemTaxRate>
<DutyAmount>0.0000</DutyAmount>
<ShipFromZip>92618</ShipFromZip>
<ShippingAmount>0.0000</ShippingAmount>
<DiscountAmount>0.0000</DiscountAmount>
<AvsStreet>20</AvsStreet>
<AvsZip>92618</AvsZip>
<AutoTax>true</AutoTax>
<TaxPercentage>2.0000</TaxPercentage>
<AutoTip>false</AutoTip>
<TipPercentage>0.0000</TipPercentage>
<PreAuthPercentage>0.0000</PreAuthPercentage>
<ExpireAuthAfter>2</ExpireAuthAfter>
<AutoDiscount>false</AutoDiscount>
<AutoItemDiscount>false</AutoItemDiscount>
<DiscountPercentage>0.0000</DiscountPercentage>
<UseCaptureEnhancement>true</UseCaptureEnhancement>
<IsEMVEnabled>false</IsEMVEnabled>
<EnableAVSWarnings>true</EnableAVSWarnings>
<EnableCVVWarnings>true</EnableCVVWarnings>
<UseFullAmountForAVS>false</UseFullAmountForAVS>
<DeclineTransactionIfAVSWarningsAreDisabled>false</DeclineTransactionIfAVSWarningsAreDisabled>
<VerifyCreditCardBeforeSaving>true</VerifyCreditCardBeforeSaving>
<AllowACHPayments>false</AllowACHPayments>
<AllowCreditCardPayments>true</AllowCreditCardPayments>
<IsSurchargeEnabled>false</IsSurchargeEnabled>
<SurchargePercentage>0.0000</SurchargePercentage>
<SurchargeCaption>Credit Card Fee</SurchargeCaption>
</GetMerchantTransactionDataResult>
</GetMerchantTransactionDataResponse>
</s:Body>
</s:Envelope>
Updated over 2 years ago