HOMO CMD24 (id 36939583973678)

Wallet

createWallet - updateWallet - getWallet - createWebWallet (*) - updateWebWallet (*) - getWebWallet - disableWallet - enableWallet - doImmediateWalletPayment - doScheduledWalletPayment - doRecurrentWalletPayment - getPaymentRecord - updatePaymentRecord - getBillingRecord - updateBillingRecord - disablePaymentRecord - getCards - manageWebWallet

Demo that shows the usage of Payline classes for wallet (both webPayment and Direct API)
(*) createWebWallet and updateWebWallet are deprecated. Please use manageWebWallet

span style="color: #ff0000;">'../initSDK.php';
use Payline\PaylineSDK;
 
// VERSION
'version''version'];
 
// WALLET
'contractNumber''contractNumber''selectedContractList'";"'selectedContractList''contracts''contractNumberWalletList'";"'contractNumberWalletList''walletContracts'] = $contracts;
}
 
//UPDATE OPTIONS
'updatePersonalDetails''updatePersonalDetails''../arraySet/buyer.php''../arraySet/owner.php';
 
// OPTIONS
'../arraySet/webOptions.php';
 
// URL
'../arraySet/urls.php';
 
// PRIVATE DATA (optional)
'../arraySet/privateDataList.php';
 
// EXECUTE
'result']['code'] == '00000''data-template']=="redirect""location:".$response['redirectURL'// affichage du wigdet
"<!DOCTYPE html><html><head><title>Payline API Widget</title>""<meta name='viewport' content='width=device-width, initial-scale=1'>""<meta http-equiv='X-UA-Compatible' content='IE=edge'>""<meta charset='UTF-8'>""<!--SCRIPTS-->""<script src='""'></script>""<script src='""'></script>""<script src='""'></script>""<!--SCRIPTS END-->""<!--STYLES -->""<link rel='stylesheet' href='""'>""<link rel='stylesheet' href='""'>""<link rel='stylesheet' href='""'>""<!--STYLES END-->""</head><body>""<div id='PaylineWidget' data-token='".$response['token']."' data-template='"'data-template']."' ></div>""</body></html>"'ERROR : '.$response['result']['code']. ' '.$response['result']['longMessage'].' <BR/>';
}
"../demos/wallet.php""post""payline-form"
	'manageWebWallet';
  include '../fieldset/version.php'
 
		Wallet informations
		"row"
			"contractNumber"Contract number
			"text""contractNumber""contractNumber""<?php echo $_SESSION['CONTRACT_NUMBER']?>">
		</div>
		<div class="row">
			<label for="">Selected contract list</label>
			<input type="" name="" id="" value="'CONTRACT_NUMBER_LIST'">
			"help"(separator if severals numbers :	";")
 
		"row"
			"contractNumberWalletList"Wallet contract list
			"text""contractNumberWalletList""contractNumberWalletList""<?php echo $_SESSION['WALLET_CONTRACT_NUMBER_LIST']?>">
			<span class="help">(separator if severals numbers :	";")</span>
		</div>
		<div class="row">
			<label for="updatePersonalDetails">Update personal details</label>
			<input type="checkbox" name="updatePersonalDetails" id="updatePersonalDetails" value="1">
		</div>
	</fieldset>
	<?php
	include '../fieldset/buyer.php';
	include '../fieldset/owner.php';
	include '../fieldset/webOptions.php';
	include '../fieldset/privateDataList.php';
	include '../fieldset/urls.php';
	?>
	<fieldset>
    	<h4>User Experience : redirection / lightbox / inside the shop</h4>
    		<div class="row">
		<label for="">template</label>
    			<select name="" id="">
			<option value="" selected>redirect</option>
			<option value="lightbox">lightbox</option>			
			<option value="tab">in-shop tab</option>
			<option value="column">in-shop column</option>
		</select>
		</div>
    </fieldset>	
	<input type="submit" name="submit" class="submit" value="manageWebWallet">
</form>
/* @group Forms *//* @end */

Wallet informations

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

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")
(Y/N)
(Y/N)
(Y/N)
(Y/N)
(Y/N)
(Y/N)
(Y/N)

Informations about owner (only used by an AMEX payment)

Owner billing address

Options

Private datas

Web payment URL's

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

User Experience : redirection / lightbox / inside the shop