Overview

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • auth
        • ldap
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
      • exchange
        • rates
          • currency
            • layer
          • fixer
          • open
            • exchange
              • rates
          • x
            • rates
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • perforated
            • invoice
          • quickbooks
            • invoice
          • templates
            • default
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • reports
        • aging
          • invoices
        • client
          • data
            • portability
        • custom
          • report
        • invoice
          • creation
        • package
          • revenue
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • core
      • Automation
        • Tasks
          • Common
          • Task
        • Type
          • Common
          • Cron
      • Pricing
        • ItemComparator
        • MetaItem
        • Modifier
          • Type
            • Description
              • Type
                • Discount
                • Option
                • Service
                • Tax
            • Discount
            • Price
            • Proration
        • Presenter
          • Build
            • Invoice
            • InvoiceData
            • Options
            • Service
            • ServiceChange
            • ServiceData
          • Collection
          • Format
            • Fields
            • Type
              • Discount
              • Item
              • Option
              • Options
              • Package
              • Pricing
              • Service
              • Tax
          • Items
            • Invoice
            • Service
          • Type
      • ServiceProviders
      • Util
        • Captcha
          • Captchas
          • Common
        • Common
          • Traits
        • Events
          • Common
          • Handlers
          • Observers
        • Filters
          • Common
        • GeoIp
        • Input
          • Fields
            • Common
        • Tax
        • Widgets
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • helpers
      • color
      • data
        • structure
  • None
  • PHP

Classes

  • Gateway
  • Gateways
  • MerchantGateway
  • NonmerchantGateway

Interfaces

  • MerchantAch
  • MerchantAchOffsite
  • MerchantCc
  • MerchantCcForm
  • MerchantCcOffsite
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Interface MerchantCcForm

Merchant Credit Card custom form interface. Defines all methods that a credit card form payment gateway must implement.

Modifiying the form can allow the gateway to add reference_id and client_reference_id fields or javascript to make calls to a gateway's JS API

Package: blesta\components\gateways
Copyright: Copyright (c) 2019, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/gateways/lib/merchant_cc_form.php
Methods summary
public mixed
# buildCcForm( )

Returns all HTML markup required to render credit card payment form

Returns all HTML markup required to render credit card payment form

Returns

mixed

A string of HTML markup required to render an credit card payment form, or an array of HTML markup

public string
# buildPaymentConfirmation( string $reference_id, string $transaction_id, integer $amount )

Gets an Html form to use as an addition to the regular payment confirmation pages in Blesta

Gets an Html form to use as an addition to the regular payment confirmation pages in Blesta

Parameters

$reference_id
The reference ID of an entity related to the remote transaction
$transaction_id
The reference ID of the remote transaction
$amount
The amount of the remote transaction

Returns

string
The Html, if any, for confirming payments
Blesta API documentation generated by ApiGen