payment\PaymentExpressGateway_PxPay_Mock
Synopsis
class PaymentExpressGateway_PxPay_Mock
extends PaymentExpressGateway_PxPay
{
- // constants
- const MOCK_TXN_ID = 'ID5192f4a1MOCK';
- // Inherited members from PaymentExpressGateway_PxPay
- protected $pxPayUrl;
- protected $pxPayUserID;
- protected $pxPayKey;
- protected $txnID;
- protected array $supportedCurrencies;
- // methods
- public void makeProcessRequest()
- public void makeCheckRequest()
- public void getTxnID()
- public void setTxnID()
- // Inherited methods from PaymentExpressGateway_PxPay
- public void getSupportedCurrencies()
- protected void onBeforeMakeRequest()
- public void process()
- public void getTxnID()
- public void makeProcessRequest()
- public PaymentGateway_Result check()
- public void makeCheckRequest()
Hierarchy
Constants
Name | Value |
---|---|
MOCK_TXN_ID | 'ID5192f4a1MOCK' |
Members
protected
- $pxPayKey
- $pxPayUrl
- $pxPayUserID
- $supportedCurrencies
- $txnID
Methods
public
Inherited from payment\PaymentExpressGateway_PxPay
protected
public
- check() — Check that the payment was successful using "Process Response" API (http://www.paymentexpress.com/Technical_Resources/Ecommerce_Hosted/PxPay.aspx).
- getSupportedCurrencies()
- getTxnID()
- makeCheckRequest()
- makeProcessRequest()
- process()