orders->get_order((int)$order_id); $payment_method = $this->payment->get_payment_method($order->payment_method_id); $payment_settings = $this->payment->get_payment_settings($payment_method->id); $amount = $this->money->convert($order->total_price, $payment_method->currency_id, false); $success_url = $this->config->root_url.'/order/'.$order->url; $fail_url = $this->config->root_url.'/order/'.$order->url; $button = "
"; return $button; } }