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: #808080; font-style: italic;">// INITIALIZE
//include "../../include.php";
//VERSION
'version''version''../arraySet/payment.php''../arraySet/order.php''../arraySet/privateDataList.php''../arraySet/buyer.php''../arraySet/owner.php''../arraySet/recurring.php''../arraySet/urls.php''../arraySet/webOptions.php';
 
// FIRST CONTRACT LIST
'selectedContract'";"'selectedContract''contracts'] = $contracts;
}
 
// SECOND CONTRACT LIST
'secondSelectedContract'";"'secondSelectedContract''secondContracts'] = $secondContracts;
}
 
// WALLET CONTRACT LIST
'contractNumberWalletList'";"'contractNumberWalletList''walletContracts'] = $walletContracts;
}
 
// EXECUTE
// RESPONSE
'result']['code'] == '00000'"location:".$response['redirectURL''ERROR : '.$response['result']['code']. ' '.$response['result']['longMessage'].' <BR/>'						
"../demos/web.php""post""fullWebPayment""fullWebPayment""payline-form"
	'fullWebPayment';
	include '../fieldset/version.php';
	include '../fieldset/payment.php';
	include '../fieldset/order.php';
	include '../fieldset/urls.php';
	include '../fieldset/privateDataList.php';
	include '../fieldset/webOptions.php';
	include '../fieldset/buyer.php';
	include '../fieldset/owner.php';
	include '../fieldset/recurring.php'
 
    	Contrats
    	"row"
            "selectedContract"Selected contract list
            "text""selectedContract""selectedContract""<?php echo CONTRACT_NUMBER_LIST?>" />
            <span class="help">(separator if severals numbers : ";")</span>
		</div>
		<div class="row">
            <label for="">Second contract list</label>
            <input type="" name="" id="" value="" />
            "help"(separator if severals numbers : ";")
 
		"row"
			"contractNumberWalletList"Wallet contract list
			"text""contractNumberWalletList""contractNumberWalletList"""
			"help"(separator if severals numbers :	";")
 
 
    "submit""submit""submit""fullWebPayment"
 
 
/* @group Forms *//*background: #ddd;*//* @end */

Informations about payment

(format : "dd/mm/yy")

Informations about order

(required)
(required)
(required)
(format : "dd/mm/yyyy HH24:MM")
Order details

Web payment URL's

(valid url like http:// or https://)
(valid url like http:// or https://)
(valid url like http:// or https://)

Private datas

Options

Informations about buyer

(required unique wallet ID if is set)
Billing address
Shipping address
(format : "dd/mm/yy")
(choose wether to display wallet on web payment page or not)
(corresponding CVV will have to be filled by the buyer)
(format : "yyyy-mm-dd")

Informations about owner (only used by an AMEX payment)

Owner billing address

Recurring informations

(required)
(required)
(required)
(format : "dd/mm/yyyy")
(required)
(format : "dd/mm/yyyy")
(format : "dd/mm/yyyy")

Contrats

(separator if severals numbers : ";")
(separator if severals numbers : ";")
(separator if severals numbers : ";")