"GB", "finance" => $_POST['finance'], "reference"=>$_POST['reference'], "customer" => array( "title" => $_POST['title'], "first_name" => $_POST['firstName'], "middle_name" => $_POST['middleName'], "last_name" => $_POST['lastName'], "email" => $_POST['email'], "mobileNumber" => $_POST['mobileNumber'], "phoneNumber" => $_POST['phoneNumber'], "postcode" => $_POST['postCode'], "country" => $_POST['country'], ), "metadata"=>array( "orderNumber"=>10001, "checksum"=>md5('10001:mySecret') ), "products"=>array( array( "type"=>"product", "text"=>"Gibson Les Paul Studio Raw Guitar", "quantity"=>1, "value"=>1153.00, ), array( "type"=>"service", "text"=>"Restring Upgrade", "quantity"=>1, "value"=>100.00, ), ), "response_url"=>"http://www.webshop.com/callback.php", 'checkout_url'=>'http://www.webshop.com/checkout', "redirect_url"=>"http://www.webshop.com/success.php", )); if ($response->status == 'ok') { header("Location:".$response->url); } else { print_r($response->__toArray()); } } else { ?>
Finance:
Reference:
Amount: £
Deposit: £
 
Title:
First Name:
Middle Name:
Last Name:
Phone:
Mobile:
Email:
Post Code:
Country: