$this->language->load('payment/google_checkout');
$this->data['button_confirm'] = $this->language->get('button_confirm');
if (!$this->config->get('google_checkout_test')) {
$this->data['action'] = 'https://checkout.google.com/api/checkout/v2/checkout/Merchant/' . $this->config->get('google_checkout_merchant_id');
} else {
$this->data['action'] = 'https://sandbox.google.com/checkout/api/checkout/v2/checkout/Merchant/' . $this->config->get('google_checkout_merchant_id');
}
$this->data['merchant'] = $this->config->get('google_checkout_merchant_id');
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/payment/google_checkout.tpl')) {
$this->template = $this->config->get('config_template') . '/template/payment/google_checkout.tpl';
} else {
$this->template = 'default/template/payment/google_checkout.tpl';
}
$this->render();