SilverShop\Forms\PaymentForm
Synopsis
class PaymentForm
extends CheckoutForm
{
- // members
- protected $successlink;
- protected $failurelink;
- protected OrderProcessor $orderProcessor;
- // Inherited members from CheckoutForm
- protected CheckoutComponentConfig $config;
- protected $redirectlink;
- // methods
- public void __construct()
- public void setSuccessLink()
- public void getSuccessLink()
- public void setFailureLink()
- public void getFailureLink()
- public void checkoutSubmit()
- public void submitpayment()
- public void setOrderProcessor()
- public OrderProcessor getOrderProcessor()
- // Inherited methods from CheckoutForm
- public void __construct()
- public void setRedirectLink()
- public void checkoutSubmit()
- public void getConfig()
Hierarchy
Extends
Members
protected
- $config — SilverShop\Checkout\CheckoutComponentConfig
- $failurelink — string
- $orderProcessor — SilverShop\Checkout\OrderProcessor
- $redirectlink
- $successlink — string
Methods
public
- __construct()
- checkoutSubmit()
- getFailureLink()
- getOrderProcessor()
- getSuccessLink()
- setFailureLink()
- setOrderProcessor()
- setSuccessLink()
- submitpayment() — Behaviour can be overwritten by creating a processPaymentResponse method on the controller owning this form. It takes a Symfony\Component\HttpFoundation\Response argument, and expects an SS_HTTPResponse in return.