AlexT\BTPayment\BraintreeEditPageController
Class BraintreeEditPageController
Any SilverStripe page controller wishes to display a Braintree Dropin UI form to remove/add payment method must extend
this class
Synopsis
class BraintreeEditPageController
extends BraintreePageController
{
- // methods
- protected void init()
- // 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
Methods
protected
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()