UNA
Loading...
Searching...
No Matches
BxBaseModPaymentProvider Class Reference
Inheritance diagram for BxBaseModPaymentProvider:
BxDol BxPaymentProviderAppleInApp BxPaymentProviderChargebee BxPaymentProviderCredits BxPaymentProviderGeneric BxPaymentProviderOffline BxPaymentProviderPayPal BxPaymentProviderPayPalApi BxPaymentProviderStripeBasic

Public Member Functions

 __construct ($aConfig)
 initOptions ($aOptions)
 initOptionsByVendor ($iVendorId)
 isActive ()
 isHidden ()
 getOption ($sName)
 setOption ($sName, $mixedValue, $bSave=false)
 getReturnUrl ($aParams=array())
 getReturnDataUrl ($iVendorId, $aParams=array())
 getNotifyUrl ($iVendorId, $aParams=array())
 needRedirect ()
 addJsCss ()
 getJsObject ()
 finalizedCheckout ()
 isSubscriptionStatus ($sStatus, $aSubscription, $sStatusKey='status')
 getSubscription ($iPendingId, $sCustomerId, $sSubscriptionId)

Protected Member Functions

 getOptionsByPending ($iPendingId)
 getOptionsByVendor ($iVendorId)
 log ($mixedContents, $sTitle='')

Protected Attributes

 $MODULE
 $_oModule
 $_sLangsPrefix
 $_iId
 $_sName
 $_sCaption
 $_sPrefix
 $_iVendor
 $_aOptions
 $_bUseSsl
 $_bRedirectOnResult
 $_aSbsStatuses
 $_aIncludeJs
 $_aIncludeCss

Member Function Documentation

◆ log()

BxBaseModPaymentProvider::log ( $mixedContents,
$sTitle = '' )
protected

Writes $contents to a log file specified in the bp_options file or, if missing, defaults to a standard filename of 'bplog.txt'.

Parameters
mixed$contents
Returns
Exceptions
Exception#$e

◆ needRedirect()

BxBaseModPaymentProvider::needRedirect ( )

TODO: Check whether the method is needed or not. Is used on success only.

Member Data Documentation

◆ $_aSbsStatuses

BxBaseModPaymentProvider::$_aSbsStatuses
protected

Is needed to translate status received from Payment Provider to internal one.


The documentation for this class was generated from the following file:
  • modules/base/payment/classes/BxBaseModPaymentProvider.php