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: #808080; font-style: italic;">// INITIALIZE
'cardNumber''cardNumber''expirationDate''expirationDate''contractNumber''contractNumber'];
 
// RESPONSE FORMAT
'<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;'>"'		</td>''	</tr>''</table>'						
"../demos/direct.php""post""payline-form"
 
            getToken, full example
            "row"
                "cardNumber"Card number
                "text""cardNumber""cardNumber""4970100011222417"
                "help"(required)
 
            "row"
                "expirationDate"Card expiration date
                "text""expirationDate""expirationDate""01<?php echo date('y')+2?>" />
                <span class="help">(required. Format : "mmyy")</span>
            </div>
            <div class="row">
                <label for="contractNumber">Contract number</label>
                <input type="" name="contractNumber" id="contractNumber" value="" />
                "help"(required)
 
 
   "submit""submit""submit""getToken"
 
 
/* @group Forms *//*background: #ddd;*//* @end */

getToken, full example

(required)
(required. Format : "mmyy")
(required)