Test\Functional\TestController
Synopsis
class TestController
extends BraintreePageController
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- public void __construct()
- public void Link()
- public void Form()
- // Inherited methods from BraintreePageController
- protected void init()
- public Braintree BTPaymentForm()
- public HTTPResponse makePayment()
- public HTTPResponse processPayment()
- public Braintree BTEditPaymentForm()
- public HTTPResponse editPayment()
- public Form BTPreviousTransactionsForm()
Hierarchy
Members
private
- $allowed_actions
- $url_handlers
Methods
public
Inherited from AlexT\BTPayment\BraintreePageController
protected
- init() — Initialize the page
public
- BTEditPaymentForm() — Generate SilverStripe to host a Braintree Drop UI form
- BTPaymentForm() — Generate a SilverStripe form to host the Braintree Dropin UI
- BTPreviousTransactionsForm()
- editPayment() — Handle edit payment methods form
- makePayment() — Hanle payment form when submitted
- processPayment()