kit PHP v4.44.1  -  Merchant ID 31714271088582  -  PROD

Web Payment

doWebPayment (light) - doWebPayment (full) - getWebPaymentDetails

Demo that shows the usage of Payline webPayment API

span style="color: #ff0000;">"-//IETF//DTD HTML 2.0//EN"// INITIALIZE
//include "../../include.php";
// GET TOKEN
'token''token''token''token''token''token''Missing TOKEN';
}
 
//VERSION
'version''version''version''version'// RESPONSE FORMAT
'transaction']['id'])){
	$res = insertTransactionData(
    $response['payment']['contractNumber'],
    $response['order']['ref'],
    $response['transaction']['id'],  
    $response['payment']['action'],
    $response['payment']['amount'],
    $response['payment']['currency'],
    $response['result']['code''token''paymentRecordId']) && $res == 1){ // nouvelle insertion OK
'payment']['contractNumber'],'',$response['paymentRecordId''<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/web.php""post""payline-form"
 
            Get Web Payment Details, full example
            "row"
                "token"Payment token
                "text""token""token""<?php if(isset($_GET['token'])) echo $_GET['token']; ?>" />
                <span class="help">(required)</span>
            </div>
   </fieldset>
   	    <fieldset>
        <h4>WSDL's Version</h4>
        <div class="row">
            <label for="">Version</label>
            <input type="" name="" id="" value="" />
 
 
   "submit""submit""submit""getWebPaymentDetails"
 
 
/* @group Forms *//*background: #ddd;*//* @end */

Get Web Payment Details, full example

(required)

WSDL's Version