$this->load->model('payment/pp_pro_iframe');
$this->load->language('payment/pp_pro_iframe');
$this->data['text_transaction'] = $this->language->get('text_transaction');
$this->data['text_product_lines'] = $this->language->get('text_product_lines');
$this->data['text_ebay_txn_id'] = $this->language->get('text_ebay_txn_id');
$this->data['text_name'] = $this->language->get('text_name');
$this->data['text_qty'] = $this->language->get('text_qty');
$this->data['text_price'] = $this->language->get('text_price');
$this->data['text_number'] = $this->language->get('text_number');
$this->data['text_coupon_id'] = $this->language->get('text_coupon_id');
$this->data['text_coupon_amount'] = $this->language->get('text_coupon_amount');
$this->data['text_coupon_currency'] = $this->language->get('text_coupon_currency');
$this->data['text_loyalty_currency'] = $this->language->get('text_loyalty_currency');
$this->data['text_loyalty_disc_amt'] = $this->language->get('text_loyalty_disc_amt');
$this->data['text_options_name'] = $this->language->get('text_options_name');
$this->data['text_tax_amt'] = $this->language->get('text_tax_amt');
$this->data['text_currency_code'] = $this->language->get('text_currency_code');
$this->data['text_amount'] = $this->language->get('text_amount');
$this->data['text_gift_msg'] = $this->language->get('text_gift_msg');
$this->data['text_gift_receipt'] = $this->language->get('text_gift_receipt');
$this->data['text_gift_wrap_name'] = $this->language->get('text_gift_wrap_name');
$this->data['text_gift_wrap_amt'] = $this->language->get('text_gift_wrap_amt');
$this->data['text_buyer_email_market'] = $this->language->get('text_buyer_email_market');
$this->data['text_survey_question'] = $this->language->get('text_survey_question');
$this->data['text_survey_chosen'] = $this->language->get('text_survey_chosen');
$this->data['text_receiver_business'] = $this->language->get('text_receiver_business');
$this->data['text_receiver_email'] = $this->language->get('text_receiver_email');
$this->data['text_receiver_id'] = $this->language->get('text_receiver_id');
$this->data['text_buyer_email'] = $this->language->get('text_buyer_email');
$this->data['text_payer_id'] = $this->language->get('text_payer_id');
$this->data['text_payer_status'] = $this->language->get('text_payer_status');
$this->data['text_country_code'] = $this->language->get('text_country_code');
$this->data['text_payer_business'] = $this->language->get('text_payer_business');
$this->data['text_payer_salute'] = $this->language->get('text_payer_salute');
$this->data['text_payer_firstname'] = $this->language->get('text_payer_firstname');
$this->data['text_payer_middlename'] = $this->language->get('text_payer_middlename');
$this->data['text_payer_lastname'] = $this->language->get('text_payer_lastname');
$this->data['text_payer_suffix'] = $this->language->get('text_payer_suffix');
$this->data['text_address_owner'] = $this->language->get('text_address_owner');
$this->data['text_address_status'] = $this->language->get('text_address_status');
$this->data['text_ship_sec_name'] = $this->language->get('text_ship_sec_name');
$this->data['text_ship_name'] = $this->language->get('text_ship_name');
$this->data['text_ship_street1'] = $this->language->get('text_ship_street1');
$this->data['text_ship_street2'] = $this->language->get('text_ship_street2');
$this->data['text_ship_city'] = $this->language->get('text_ship_city');
$this->data['text_ship_state'] = $this->language->get('text_ship_state');
$this->data['text_ship_zip'] = $this->language->get('text_ship_zip');
$this->data['text_ship_country'] = $this->language->get('text_ship_country');
$this->data['text_ship_phone'] = $this->language->get('text_ship_phone');
$this->data['text_ship_sec_add1'] = $this->language->get('text_ship_sec_add1');
$this->data['text_ship_sec_add2'] = $this->language->get('text_ship_sec_add2');
$this->data['text_ship_sec_city'] = $this->language->get('text_ship_sec_city');
$this->data['text_ship_sec_state'] = $this->language->get('text_ship_sec_state');
$this->data['text_ship_sec_zip'] = $this->language->get('text_ship_sec_zip');
$this->data['text_ship_sec_country'] = $this->language->get('text_ship_sec_country');
$this->data['text_ship_sec_phone'] = $this->language->get('text_ship_sec_phone');
$this->data['text_trans_id'] = $this->language->get('text_trans_id');
$this->data['text_receipt_id'] = $this->language->get('text_receipt_id');
$this->data['text_parent_trans_id'] = $this->language->get('text_parent_trans_id');
$this->data['text_trans_type'] = $this->language->get('text_trans_type');
$this->data['text_payment_type'] = $this->language->get('text_payment_type');
$this->data['text_order_time'] = $this->language->get('text_order_time');
$this->data['text_fee_amount'] = $this->language->get('text_fee_amount');
$this->data['text_settle_amount'] = $this->language->get('text_settle_amount');
$this->data['text_tax_amount'] = $this->language->get('text_tax_amount');
$this->data['text_exchange'] = $this->language->get('text_exchange');
$this->data['text_payment_status'] = $this->language->get('text_payment_status');
$this->data['text_pending_reason'] = $this->language->get('text_pending_reason');
$this->data['text_reason_code'] = $this->language->get('text_reason_code');
$this->data['text_protect_elig'] = $this->language->get('text_protect_elig');
$this->data['text_protect_elig_type'] = $this->language->get('text_protect_elig_type');
$this->data['text_store_id'] = $this->language->get('text_store_id');
$this->data['text_terminal_id'] = $this->language->get('text_terminal_id');
$this->data['text_invoice_number'] = $this->language->get('text_invoice_number');
$this->data['text_custom'] = $this->language->get('text_custom');
$this->data['text_note'] = $this->language->get('text_note');
$this->data['text_sales_tax'] = $this->language->get('text_sales_tax');
$this->data['text_buyer_id'] = $this->language->get('text_buyer_id');
$this->data['text_close_date'] = $this->language->get('text_close_date');
$this->data['text_multi_item'] = $this->language->get('text_multi_item');
$this->data['text_sub_amt'] = $this->language->get('text_sub_amt');
$this->data['text_sub_period'] = $this->language->get('text_sub_period');
$this->data['button_back'] = $this->language->get('button_back');
$this->data['breadcrumbs'] = array();
$this->data['breadcrumbs'][] = array(
'text' => $this->language->get('text_home'),
'href' => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),
'separator' => false
);
$this->data['breadcrumbs'][] = array(
'text' => $this->language->get('heading_title'),
'href' => $this->url->link('payment/pp_pro_iframe', 'token=' . $this->session->data['token'], 'SSL'),
'separator' => ' :: '
);
$this->data['breadcrumbs'][] = array(
'text' => $this->language->get('text_transaction'),
'href' => $this->url->link('payment/pp_pro_iframe/viewTransaction', 'token=' . $this->session->data['token'] . '&transaction_id=' . $this->request->get['transaction_id'], 'SSL'),
'separator' => ' :: '
);
$transaction = $this->model_payment_pp_pro_iframe->getTransaction($this->request->get['transaction_id']);
$transaction = array_map('urldecode', $transaction);
$this->data['transaction'] = $transaction;
$this->data['view_link'] = $this->url->link('payment/pp_pro_iframe/viewTransaction', 'token=' . $this->session->data['token'], 'SSL');
$this->data['token'] = $this->session->data['token'];
$this->document->setTitle($this->language->get('text_transaction'));
if (isset($this->request->get['order_id'])) {
$this->data['back'] = $this->url->link('sale/order/info', 'token=' . $this->session->data['token'] . '&order_id=' . $this->request->get['order_id'], 'SSL');
} else {
$this->data['back'] = '';
}
$this->template = 'payment/pp_pro_iframe_transaction.tpl';
$this->children = array(
'common/header',
'common/footer'
);
$this->response->setOutput($this->render());