SilverStripe\Omnipay\Tests\Extensions\PaymentTestServiceExtensionHooks
Extension that can be used to test hooks on payment services
Synopsis
class PaymentTestServiceExtensionHooks
extends Extension
implements
TestOnly
{
- // members
- protected array $callStack = ;
- // methods
- public void Reset()
- public array getCallStack()
- public array getCalledMethods()
- public void updateServiceResponse()
- public void updatePartialPayment()
- public void onBeforeAuthorize()
- public void onBeforeCapture()
- public void onBeforePurchase()
- public void onBeforeRefund()
- public void onBeforeVoid()
- public void onBeforeCompleteAuthorize()
- public void onBeforeCompletePurchase()
- public void onAfterAuthorize()
- public void onAfterCapture()
- public void onAfterPurchase()
- public void onAfterRefund()
- public void onAfterVoid()
- public void onAfterCompletePurchase()
- public void onAfterCompleteAuthorize()
- public void onAfterSendAuthorize()
- public void onAfterSendCapture()
- public void onAfterSendPurchase()
- public void onAfterSendRefund()
- public void onAfterSendVoid()
- public void onBeforeCreateCard()
- public void onAfterCreateCard()
- public void onAfterSendCreateCard()
- public void onBeforeCompleteCreateCard()
- public void onAfterCompleteCreateCard()
Hierarchy
Extends
- SilverStripe\Core\Extension
Implements
- SilverStripe\Dev\TestOnly
Members
protected
- $callStack
Methods
public
- Reset()
- getCallStack() — Get an array of the extension methods that were called and their arguments
- getCalledMethods() — Get an array of the extension methods that were called
- onAfterAuthorize()
- onAfterCapture()
- onAfterCompleteAuthorize()
- onAfterCompleteCreateCard()
- onAfterCompletePurchase()
- onAfterCreateCard()
- onAfterPurchase()
- onAfterRefund()
- onAfterSendAuthorize()
- onAfterSendCapture()
- onAfterSendCreateCard()
- onAfterSendPurchase()
- onAfterSendRefund()
- onAfterSendVoid()
- onAfterVoid()
- onBeforeAuthorize()
- onBeforeCapture()
- onBeforeCompleteAuthorize()
- onBeforeCompleteCreateCard()
- onBeforeCompletePurchase()
- onBeforeCreateCard()
- onBeforePurchase()
- onBeforeRefund()
- onBeforeVoid()
- updatePartialPayment()
- updateServiceResponse()