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
display example only html code | php code | css code
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 */