kit PHP v4.44.1  -  Merchant ID 31714271088582  -  PROD

Direct Payment

doAuthorization - doCapture - unBlock - doRefund - doCredit - doDebit - verifyEnrollment - verifyAuthentication - doReAuthorization - getEncryptionKey - doScoringCheque - doReset - getBalance - getMerchantSettings - getToken - doBankTransfer

Demo that shows the usage of Payline direct API

span style="color: #ff0000;">"-//IETF//DTD HTML 2.0//EN"// INITIALIZE
//VERSION
'version''version''../arraySet/payment.php''../arraySet/card.php';
 
// MD
'mdFieldValue''mdFieldValue'];
 
//USERAGENT
'userAgent''UsrAgent'];
 
// ORDER
'orderRef''orderRef'];
 
// WALLET
'walletId''walletId''walletCardInd''walletCardInd'];
 
// RESPONSE
'<table>''	<tr>''		<td><H3>REQUEST</H3></td>''		<td><H3>RESPONSE</H3></td>''	</tr>''	<tr>'"		<td style='vertical-align: top; padding: 5px;'>"'		</td>'"		<td style='vertical-align: top; padding: 5px;'>"'3DS_AUTH_CONTRACT''paymentContractNumber''3DS_AUTH_ORDER_REF''orderRef''3DS_AUTH_PAYMENT_DATA']['cardType''cardType''3DS_AUTH_PAYMENT_DATA']['cardNumber''cardNumber''3DS_AUTH_PAYMENT_DATA']['cardExp''cardExpirationDate''3DS_AUTH_PAYMENT_DATA']['CVV''cardCrypto''3DS_AUTH_PAYMENT_DATA']['cardTokenPan''cardToken''3DS_AUTH_PAYMENT_DATA']['walletId''walletId''3DS_AUTH_PAYMENT_DATA']['walletCardInd''walletCardInd'"<br/><form method='POST' action='".$response['actionUrl']."'>""	<input type='hidden' name='".$response['pareqFieldName']."' value='".$response['pareqFieldValue']."'>""	<input type='hidden' name='".$response['mdFieldName']."' value='".$response['mdFieldValue']."'>""	Back from ACS<br/>""	<input type='radio' name='".$response['termUrlName']."' value='""examples/demos/direct.php' checked>call doAuthorization<br/>""	<input type='radio' name='".$response['termUrlName']."' value='""examples/demos/wallet.php'>call doImmediateWalletPayment<br/>""	<input type='submit' value='redirect to ACS'>""</form>"'		</td>''	</tr>''</table>'						
"../demos/direct.php""post""payline-form"
		'verifyEnrollment';
		include '../fieldset/version.php';
		include '../fieldset/card.php';
		include '../fieldset/payment.php'
 
			"row"
				"orderRef"Order reference
				"text""orderRef""orderRef""<?php echo 'PHP-'.time()?>">
			</div>
		</fieldset>
		<fieldset>
			<div class="row">
				<label for="">MD</label>
				<input type="" name="" id="" value="">
			</div>
		</fieldset>
		<fieldset>
			<div class="row">
				<label for="UsrAgent">User Agent</label>
				<input type="" name="UsrAgent" id="UsrAgent" value="">
			</div>
		</fieldset>
		<fieldset>
			<div class="row">
				<label for="">Wallet ID</label>
				<input type="" name="" id="" value="">
			</div>
		</fieldset>
		<fieldset>
			<div class="row">
				<label for="walletCardInd">Wallet card index</label>
				<input type="" name="walletCardInd" id="walletCardInd" value="">
			</div>
		</fieldset>
	<input type="submit" name="submit" class="submit" value="verifyEnrollment">
</form>
/* @group Forms *//*background: #ddd;*//* @end */

Informations about card

(format : "ddmmyy")

Informations about payment

(format : "dd/mm/yy")