\SecurePayTechPayment
Configuration ============= You need to define the merchant id and key in the _config.php of your project
Synopsis
class SecurePayTechPayment
extends Payment
{
- // members
- protected static array $credit_cards = ;
- protected static $spt_merchant_id;
- protected static $spt_merchant_key;
- // methods
- public static void set_spt_merchant_id()
- public static void get_spt_merchant_id()
- public static void set_spt_merchant_key()
- public void getPaymentFormFields()
- public void getPaymentFormRequirements()
- public void processPayment()
- public void http_post()
- protected void responseCodes()
- protected void getResponseMessage()
- protected void testCodesInCents()
- protected void cardsToUse()
- protected void getCardData()
Hierarchy
Extends
- Payment
Members
protected
- $credit_cards
- $spt_merchant_id
- $spt_merchant_key
Methods
protected
public
- getPaymentFormFields()
- getPaymentFormRequirements() — Returns the required fields to add to the order form, when using this payment method.
- get_spt_merchant_id()
- http_post()
- processPayment() — Process payment using HTTPS POST
- set_spt_merchant_id()
- set_spt_merchant_key()