@extends('layouts.frontend.frontend_main') @section('title') @lang('frontend_lang.checkout') Payment @endsection @section('content') @php //== static modified template ==// //- Customer/Order Details - // $UserTitle="Mr"; $UserFirstname= $user->first_name; $UserSurname= $user->last_name; if(!empty($user->registered_business_address_line_1) && !empty($user->registered_business_address_town_city) && !empty($user->registered_business_address_counly) && !empty($user->registered_business_address_post_code)) { $BillHouseNumber = ""; $Ad1= $user->registered_business_address_line_1; $Ad2= $user->registered_business_address_line_2; $BillTown = $user->registered_business_address_town_city; $BillCountry = $user->registered_business_address_counly; $Pcde = $user->registered_business_address_post_code; }else{ $BillHouseNumber = "372"; $Ad1="Ealing Road"; $Ad2="Ealing Road"; $BillTown = "Wembley Middlesex"; $BillCountry = "England"; $Pcde = "HA0 1BH"; } $ContactTel= $user->phone; $ShopperEmail = $user->email; $ShopperLocale="en_GB"; $CurrencyCode="GBP"; $Addressline1n2 = $BillHouseNumber . " " .$Ad1 . ", ". $Ad2; $CustomerName = $UserTitle . " " . $UserFirstname . " " . $UserSurname; $PaymentAmount = $amount; // this is 1 pound (100p) $OrderDataRaw = $order->user_id; // order description $OrderID = $order->order_number; // Order Id - needs to be unique //- integration user details - // //$PW ="Myadylan383#"; $PW = env('PAYMENT_GATEWAY_PW'); $PSPID = env('PAYMENT_GATEWAY_PSPID'); //- payment design options - // $TXTCOLOR="#005588"; $TBLTXTCOLOR="#005588"; $FONTTYPE="Helvetica, Arial"; $BUTTONTXTCOLOR ="#005588"; $BGCOLOR = "#d1ecf3"; $TBLBGCOLOR = "#ffffff"; $BUTTONBGCOLOR = "#cccccc"; $TITLE = "Worldlink Wholesale Ltd."; $LOGO = "logo.png"; $PMLISTTYPE=1; //= create string to hash (digest) using values of options/details above $DigestivePlain = "AMOUNT=" . $PaymentAmount . $PW . "BGCOLOR=" . $BGCOLOR . $PW . "BUTTONBGCOLOR=" . $BUTTONBGCOLOR . $PW . "BUTTONTXTCOLOR=" . $BUTTONTXTCOLOR . $PW . "CN=" . $CustomerName . $PW . "COM=" . $OrderDataRaw . $PW . "CURRENCY=" . $CurrencyCode . $PW . "EMAIL=" . $ShopperEmail . $PW . "FONTTYPE=" . $FONTTYPE . $PW . "LANGUAGE=" . $ShopperLocale . $PW . "LOGO=" .$LOGO . $PW . "ORDERID=" . $OrderID . $PW . "OWNERADDRESS=" . $Addressline1n2 . $PW . "OWNERCTY=" . $BillCountry . $PW . "OWNERTELNO=" . $ContactTel . $PW . "OWNERTOWN=" . $BillTown . $PW . "OWNERZIP=" . $Pcde . $PW . "PMLISTTYPE=". $PMLISTTYPE . $PW . "PSPID=" . $PSPID . $PW . "TBLBGCOLOR=" . $TBLBGCOLOR . $PW . "TBLTXTCOLOR=" . $TBLTXTCOLOR . $PW . "TITLE=" . $TITLE . $PW . "TXTCOLOR=" . $TXTCOLOR . $PW . ""; //=SHA encrypt the string=// $strHashedString_plain = strtoupper(sha1($DigestivePlain)); @endphp

Your payment is processing. Please do not refresh or close the browser tab.

>

Amount

{{--
Please confirm you agree to World Link Wholesale Ltd Terms & Conditions of Sale before placing order
--}}
@endsection @section('js') @endsection