/**
  * Render the payment page for gateways that use a form post method
  *
  * @since 2.1.0
  * @see SV_WC_Payment_Gateway::payment_page()
  * @see SV_WC_Payment_Gateway_Hosted::use_form_post()
  * @see SV_WC_Payment_Gateway_Hosted::add_pay_page_handler()
  * @param int $order_id identifies the order
  */
 public function payment_page($order_id)
 {
     if (!$this->use_form_post()) {
         // default behavior: pay page is not used, direct-redirect from checkout
         parent::payment_page($order_id);
     } else {
         $this->generate_pay_form($order_id);
     }
 }
 /**
  * Render the payment page for gateways that use a form post method
  *
  * @since 2.1
  * @see SV_WC_Payment_Gateway::payment_page()
  * @see SV_WC_Payment_Gateway_Hosted::use_form_post()
  * @see SV_WC_Payment_Gateway_Hosted::add_pay_page_handler()
  * @param int $order_id identifies the order
  */
 public function payment_page($order_id)
 {
     if (!$this->use_form_post()) {
         // default behavior: pay page is not used, direct-redirect from checkout
         parent::payment_page($order_id);
     } else {
         echo '<p>' . __('Thank you for your order, please click the button below to pay.', $this->text_domain) . '</p>';
         echo $this->generate_pay_form($order_id);
     }
 }