Notice (8): Undefined variable: id [APP/Controller/DatabaseController.php, line 1943]Code Context
$id = base64_decode( $id );
App\Controller\DatabaseController::paypalstudent() - APP/Controller/DatabaseController.php, line 1943
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Warning (512): Unable to emit headers. Headers sent in file=/home/ndassist/nhpassist.com/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 51]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>paypal redirection</title>
<style>
p {
text-align:center;
margin: 8px;
}
#paypal_form{
display: none;
}
</style>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-trace').style.display = (document.getElementById('cakeErr662a033c7fefb-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: promo_verify [<b>APP/Template/Database/paypalstudent.ctp</b>, line <b>18</b>]<div id="cakeErr662a033c7fefb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-code').style.display = (document.getElementById('cakeErr662a033c7fefb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-context').style.display = (document.getElementById('cakeErr662a033c7fefb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr662a033c7fefb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">$paypal </span><span style="color: #007700">= </span><span style="color: #0000BB">$settings</span><span style="color: #007700">;
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">if(</span><span style="color: #0000BB">$promo_verify </span><span style="color: #007700">== </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $paypal_price </span><span style="color: #007700">= </span><span style="color: #0000BB">$paypal</span><span style="color: #007700">[</span><span style="color: #DD0000">'paypal_promo_code_price'</span><span style="color: #007700">];
</span></span></code></pre><pre id="cakeErr662a033c7fefb-context" class="cake-context" style="display: none;">$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]</pre><pre class="stack-trace">include - APP/Template/Database/paypalstudent.ctp, line 18
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre></head>
<body>
<!-- Paypal Form -->
<!--<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8" >-->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8" >
<!--<input type="hidden" name="cmd" value="_xclick" />-->
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="business" value="accounts@ndassist.com" />
<!--<input type="hidden" name="business" value="sham.richestsoft@gmail.com" />-->
<!--<input type="hidden" name="item_name" value="" />-->
<!--<input type="hidden" name="item_number" value="1" />-->
<!--<input type="hidden" name="amount" value="20" />-->
<input type="hidden" name="item_name_1" value="ND- Assist Website Access">
<input type="hidden" name="item_number_1" value="001">
<input type="hidden" name="amount_1" value="20">
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="tax_1" value="1.30">
<input type="hidden" name="discount_amount_1" value="10">
<input type="hidden" name="item_name_2" value="Herbal Rx Application (Download)">
<input type="hidden" name="item_number_2" value="002">
<input type="hidden" name="amount_2" value="20">
<input type="hidden" name="quantity_2" value="1">
<input type="hidden" name="tax_2" value="1.30">
<input type="hidden" name="discount_amount_2" value="10">
<!--<input type="hidden" name="tax" value="2.60" />-->
<input type="hidden" name="currency_code" value="CAD" />
<input type="hidden" name="cbt" value="Please Click Here to Complete Payment">
<input type="hidden" name="notify_url" value="https://www.nhpassist.com/paypalpayments/process">
<!--<input type="hidden" name="return" value="" />-->
<input type="hidden" name="return" value="https://www.nhpassist.com/database/student-register" />
<INPUT TYPE="hidden" name="custom" value="<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-trace').style.display = (document.getElementById('cakeErr662a033c804c7-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: id [<b>APP/Template/Database/paypalstudent.ctp</b>, line <b>88</b>]<div id="cakeErr662a033c804c7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-code').style.display = (document.getElementById('cakeErr662a033c804c7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-context').style.display = (document.getElementById('cakeErr662a033c804c7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr662a033c804c7-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <input type="hidden" name="return" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Url</span><span style="color: #007700">-></span><span style="color: #0000BB">build</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'Database'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'student-register'</span><span style="color: #007700">),</span><span style="color: #0000BB">true</span><span style="color: #007700">) ; </span><span style="color: #0000BB">?></span>" />
</span></code>
<span class="code-highlight"><code><span style="color: #000000"> <INPUT TYPE="hidden" name="custom" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$id</span><span style="color: #007700">;</span><span style="color: #0000BB">?></span>">
</span></code></span>
<code><span style="color: #000000"> <input type="hidden" name="cancel_return" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Url</span><span style="color: #007700">-></span><span style="color: #0000BB">build</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pusers'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'unsuccessful'</span><span style="color: #007700">),</span><span style="color: #0000BB">true</span><span style="color: #007700">) </span><span style="color: #0000BB">?></span>" />
</span></code></pre><pre id="cakeErr662a033c804c7-context" class="cake-context" style="display: none;">$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal_price = '20.00'</pre><pre class="stack-trace">include - APP/Template/Database/paypalstudent.ctp, line 88
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre>">
<input type="hidden" name="cancel_return" value="https://www.nhpassist.com/pusers/unsuccessful" />
<input type="image" id="paypal_redirect" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit" alt="Buy Now" />
</form><!--<p>You will be redirected to paypal<br/>
if not redirected <a href="javascript::void" onClick="paypal_trigger()">click here</a>
</p>-->
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script>
function paypal_trigger(){
var url='https://www.paypal.com/cgi-bin/webscr';
$('#paypal_form').attr('action', url);
$("#paypal_redirect").trigger('click');
}
// setTimeout(paypal_trigger(), 1000);
</script>
</body>
</html>'
}
$maxBufferLength = (int) 8192
$file = '/home/ndassist/nhpassist.com/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 853
$message = 'Unable to emit headers. Headers sent in file=/home/ndassist/nhpassist.com/vendor/cakephp/cakephp/src/Error/Debugger.php line=853'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ndassist/nhpassist.com/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 152]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>paypal redirection</title>
<style>
p {
text-align:center;
margin: 8px;
}
#paypal_form{
display: none;
}
</style>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-trace').style.display = (document.getElementById('cakeErr662a033c7fefb-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: promo_verify [<b>APP/Template/Database/paypalstudent.ctp</b>, line <b>18</b>]<div id="cakeErr662a033c7fefb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-code').style.display = (document.getElementById('cakeErr662a033c7fefb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-context').style.display = (document.getElementById('cakeErr662a033c7fefb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr662a033c7fefb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">$paypal </span><span style="color: #007700">= </span><span style="color: #0000BB">$settings</span><span style="color: #007700">;
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">if(</span><span style="color: #0000BB">$promo_verify </span><span style="color: #007700">== </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $paypal_price </span><span style="color: #007700">= </span><span style="color: #0000BB">$paypal</span><span style="color: #007700">[</span><span style="color: #DD0000">'paypal_promo_code_price'</span><span style="color: #007700">];
</span></span></code></pre><pre id="cakeErr662a033c7fefb-context" class="cake-context" style="display: none;">$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]</pre><pre class="stack-trace">include - APP/Template/Database/paypalstudent.ctp, line 18
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre></head>
<body>
<!-- Paypal Form -->
<!--<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8" >-->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8" >
<!--<input type="hidden" name="cmd" value="_xclick" />-->
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="business" value="accounts@ndassist.com" />
<!--<input type="hidden" name="business" value="sham.richestsoft@gmail.com" />-->
<!--<input type="hidden" name="item_name" value="" />-->
<!--<input type="hidden" name="item_number" value="1" />-->
<!--<input type="hidden" name="amount" value="20" />-->
<input type="hidden" name="item_name_1" value="ND- Assist Website Access">
<input type="hidden" name="item_number_1" value="001">
<input type="hidden" name="amount_1" value="20">
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="tax_1" value="1.30">
<input type="hidden" name="discount_amount_1" value="10">
<input type="hidden" name="item_name_2" value="Herbal Rx Application (Download)">
<input type="hidden" name="item_number_2" value="002">
<input type="hidden" name="amount_2" value="20">
<input type="hidden" name="quantity_2" value="1">
<input type="hidden" name="tax_2" value="1.30">
<input type="hidden" name="discount_amount_2" value="10">
<!--<input type="hidden" name="tax" value="2.60" />-->
<input type="hidden" name="currency_code" value="CAD" />
<input type="hidden" name="cbt" value="Please Click Here to Complete Payment">
<input type="hidden" name="notify_url" value="https://www.nhpassist.com/paypalpayments/process">
<!--<input type="hidden" name="return" value="" />-->
<input type="hidden" name="return" value="https://www.nhpassist.com/database/student-register" />
<INPUT TYPE="hidden" name="custom" value="<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-trace').style.display = (document.getElementById('cakeErr662a033c804c7-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: id [<b>APP/Template/Database/paypalstudent.ctp</b>, line <b>88</b>]<div id="cakeErr662a033c804c7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-code').style.display = (document.getElementById('cakeErr662a033c804c7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-context').style.display = (document.getElementById('cakeErr662a033c804c7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr662a033c804c7-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <input type="hidden" name="return" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Url</span><span style="color: #007700">-></span><span style="color: #0000BB">build</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'Database'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'student-register'</span><span style="color: #007700">),</span><span style="color: #0000BB">true</span><span style="color: #007700">) ; </span><span style="color: #0000BB">?></span>" />
</span></code>
<span class="code-highlight"><code><span style="color: #000000"> <INPUT TYPE="hidden" name="custom" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$id</span><span style="color: #007700">;</span><span style="color: #0000BB">?></span>">
</span></code></span>
<code><span style="color: #000000"> <input type="hidden" name="cancel_return" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Url</span><span style="color: #007700">-></span><span style="color: #0000BB">build</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pusers'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'unsuccessful'</span><span style="color: #007700">),</span><span style="color: #0000BB">true</span><span style="color: #007700">) </span><span style="color: #0000BB">?></span>" />
</span></code></pre><pre id="cakeErr662a033c804c7-context" class="cake-context" style="display: none;">$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal_price = '20.00'</pre><pre class="stack-trace">include - APP/Template/Database/paypalstudent.ctp, line 88
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre>">
<input type="hidden" name="cancel_return" value="https://www.nhpassist.com/pusers/unsuccessful" />
<input type="image" id="paypal_redirect" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit" alt="Buy Now" />
</form><!--<p>You will be redirected to paypal<br/>
if not redirected <a href="javascript::void" onClick="paypal_trigger()">click here</a>
</p>-->
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script>
function paypal_trigger(){
var url='https://www.paypal.com/cgi-bin/webscr';
$('#paypal_form').attr('action', url);
$("#paypal_redirect").trigger('click');
}
// setTimeout(paypal_trigger(), 1000);
</script>
</body>
</html>'
}
$reasonPhrase = 'OK'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ndassist/nhpassist.com/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>paypal redirection</title>
<style>
p {
text-align:center;
margin: 8px;
}
#paypal_form{
display: none;
}
</style>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-trace').style.display = (document.getElementById('cakeErr662a033c7fefb-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: promo_verify [<b>APP/Template/Database/paypalstudent.ctp</b>, line <b>18</b>]<div id="cakeErr662a033c7fefb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-code').style.display = (document.getElementById('cakeErr662a033c7fefb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c7fefb-context').style.display = (document.getElementById('cakeErr662a033c7fefb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr662a033c7fefb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">$paypal </span><span style="color: #007700">= </span><span style="color: #0000BB">$settings</span><span style="color: #007700">;
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">if(</span><span style="color: #0000BB">$promo_verify </span><span style="color: #007700">== </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $paypal_price </span><span style="color: #007700">= </span><span style="color: #0000BB">$paypal</span><span style="color: #007700">[</span><span style="color: #DD0000">'paypal_promo_code_price'</span><span style="color: #007700">];
</span></span></code></pre><pre id="cakeErr662a033c7fefb-context" class="cake-context" style="display: none;">$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]</pre><pre class="stack-trace">include - APP/Template/Database/paypalstudent.ctp, line 18
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre></head>
<body>
<!-- Paypal Form -->
<!--<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8" >-->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8" >
<!--<input type="hidden" name="cmd" value="_xclick" />-->
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="business" value="accounts@ndassist.com" />
<!--<input type="hidden" name="business" value="sham.richestsoft@gmail.com" />-->
<!--<input type="hidden" name="item_name" value="" />-->
<!--<input type="hidden" name="item_number" value="1" />-->
<!--<input type="hidden" name="amount" value="20" />-->
<input type="hidden" name="item_name_1" value="ND- Assist Website Access">
<input type="hidden" name="item_number_1" value="001">
<input type="hidden" name="amount_1" value="20">
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="tax_1" value="1.30">
<input type="hidden" name="discount_amount_1" value="10">
<input type="hidden" name="item_name_2" value="Herbal Rx Application (Download)">
<input type="hidden" name="item_number_2" value="002">
<input type="hidden" name="amount_2" value="20">
<input type="hidden" name="quantity_2" value="1">
<input type="hidden" name="tax_2" value="1.30">
<input type="hidden" name="discount_amount_2" value="10">
<!--<input type="hidden" name="tax" value="2.60" />-->
<input type="hidden" name="currency_code" value="CAD" />
<input type="hidden" name="cbt" value="Please Click Here to Complete Payment">
<input type="hidden" name="notify_url" value="https://www.nhpassist.com/paypalpayments/process">
<!--<input type="hidden" name="return" value="" />-->
<input type="hidden" name="return" value="https://www.nhpassist.com/database/student-register" />
<INPUT TYPE="hidden" name="custom" value="<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-trace').style.display = (document.getElementById('cakeErr662a033c804c7-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: id [<b>APP/Template/Database/paypalstudent.ctp</b>, line <b>88</b>]<div id="cakeErr662a033c804c7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-code').style.display = (document.getElementById('cakeErr662a033c804c7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr662a033c804c7-context').style.display = (document.getElementById('cakeErr662a033c804c7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr662a033c804c7-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <input type="hidden" name="return" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Url</span><span style="color: #007700">-></span><span style="color: #0000BB">build</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'Database'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'student-register'</span><span style="color: #007700">),</span><span style="color: #0000BB">true</span><span style="color: #007700">) ; </span><span style="color: #0000BB">?></span>" />
</span></code>
<span class="code-highlight"><code><span style="color: #000000"> <INPUT TYPE="hidden" name="custom" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$id</span><span style="color: #007700">;</span><span style="color: #0000BB">?></span>">
</span></code></span>
<code><span style="color: #000000"> <input type="hidden" name="cancel_return" value="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Url</span><span style="color: #007700">-></span><span style="color: #0000BB">build</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pusers'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'unsuccessful'</span><span style="color: #007700">),</span><span style="color: #0000BB">true</span><span style="color: #007700">) </span><span style="color: #0000BB">?></span>" />
</span></code></pre><pre id="cakeErr662a033c804c7-context" class="cake-context" style="display: none;">$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal_price = '20.00'</pre><pre class="stack-trace">include - APP/Template/Database/paypalstudent.ctp, line 88
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre>">
<input type="hidden" name="cancel_return" value="https://www.nhpassist.com/pusers/unsuccessful" />
<input type="image" id="paypal_redirect" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit" alt="Buy Now" />
</form><!--<p>You will be redirected to paypal<br/>
if not redirected <a href="javascript::void" onClick="paypal_trigger()">click here</a>
</p>-->
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script>
function paypal_trigger(){
var url='https://www.paypal.com/cgi-bin/webscr';
$('#paypal_form').attr('action', url);
$("#paypal_redirect").trigger('click');
}
// setTimeout(paypal_trigger(), 1000);
</script>
</body>
</html>'
}
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'b75c7f5f6f6c35df6e96805f203149d199dd91d7b7d547f65ee3f85b50ac9f6d01bb249fc7c6721dcf6e6ca86e3150bee7baecf1ed27c39940ce55e97cdd2033',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
]
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ndassist/nhpassist.com/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 210]Code Context $cookie['secure'],
$cookie['httpOnly']
);
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'b75c7f5f6f6c35df6e96805f203149d199dd91d7b7d547f65ee3f85b50ac9f6d01bb249fc7c6721dcf6e6ca86e3150bee7baecf1ed27c39940ce55e97cdd2033',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
]
$cookie = [
'name' => 'csrfToken',
'value' => 'b75c7f5f6f6c35df6e96805f203149d199dd91d7b7d547f65ee3f85b50ac9f6d01bb249fc7c6721dcf6e6ca86e3150bee7baecf1ed27c39940ce55e97cdd2033',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 210
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 190
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40
paypal redirection
Notice (8): Undefined variable: promo_verify [APP/Template/Database/paypalstudent.ctp, line 18]Code Context$paypal = $settings;
if($promo_verify == 1) {
$paypal_price = $paypal['paypal_promo_code_price'];
$viewFile = '/home/ndassist/nhpassist.com/src/Template/Database/paypalstudent.ctp'
$dataForView = [
'settings' => [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
]
$settings = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
$paypal = [
'paypal_email' => 'accounts@ndassist.com',
'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr',
'paypal_price' => '20.00',
'paypal_tax' => '2.60',
'paypal_item_name' => 'Purchase NDAssist Access',
'paypal_currency_code' => 'CAD',
'contact_form_email' => 'info@ndassist.com',
'sender_email_address' => 'website@nhpassist.com',
'student' => 'student9903',
'holistic' => 'cannp99302',
'paypal_promo_code_price' => '20.00',
'comp_feature_price' => '20.00',
'paypal_comp_feature_name' => 'Display/Hide Companies and their Products',
'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application',
'item_1' => 'ND- Assist Website Access',
'item_2' => 'Herbal Rx Application (Download)'
]
include - APP/Template/Database/paypalstudent.ctp, line 18
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65