public function PaymentForm()
 {
     if (!(bool) $this->Cart()) {
         return false;
     }
     $config = new CheckoutComponentConfig(ShoppingCart::curr(), false);
     $config->AddComponent(new OnsitePaymentCheckoutComponent());
     $form = PaymentForm::create($this, "PaymentForm", $config);
     $form->setActions(new FieldList(FormAction::create("submitpayment", "Submit Payment")));
     $form->setFailureLink($this->Link());
     $this->extend('updatePaymentForm', $form);
     return $form;
 }