I want to prepopulat the PayPal checkout page. For this i need to add the variable night_ phone_b in the PayPal form. This is what i have done, but the phone number is still not added to the PayPal form.
In /catalog/controller/payment/pp_standard.php i have added the code:
Code: Select all
$this->data['night_phone_b'] = html_entity_decode($order_info['telephone'], ENT_QUOTES, 'UTF-8');
Code: Select all
<input type="hidden" name="night_phone_b" value="<?php echo $telephone; ?>" />
What i'am i doing wrong?
I have read this post -> http://forum.opencart.com/viewtopic.php ... =60#p65466 but that don't work.