UNA
BxDolPayments Class Reference
Inheritance diagram for BxDolPayments:
BxDolFactory iBxDolSingleton

Public Member Functions

 isPaymentProvider ($iVendorId, $sVendorProvider, $sPaymentType='')
 
 getPaymentProvider ($iVendorId, $sVendorProvider, $sPaymentType='')
 
 getCartJs ($sType='', $iVendorId=0)
 
 addToCart ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $aCustom=array())
 
 getAddToCartJs ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $aCustom=array())
 
 getAddToCartLink ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $aCustom=array())
 
 subscribeWithAddons ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sItemAddons='', $sRedirect='', $aCustom=array())
 
 getSubscribeJs ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sRedirect='', $aCustom=array())
 
 getSubscribeJsWithAddons ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sItemAddons='', $sRedirect='', $aCustom=array())
 
 getSubscribeLink ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sRedirect='', $aCustom=array())
 

Member Function Documentation

◆ addToCart()

BxDolPayments::addToCart (   $iVendorId,
  $mixedModuleId,
  $iItemId,
  $iItemCount,
  $aCustom = array() 
)

Adds an item to cart in background mode.

◆ getAddToCartJs()

BxDolPayments::getAddToCartJs (   $iVendorId,
  $mixedModuleId,
  $iItemId,
  $iItemCount,
  $bNeedRedirect = false,
  $aCustom = array() 
)

Returns "Add To Cart" JavaScript code to use in onclick attribute.

◆ getAddToCartLink()

BxDolPayments::getAddToCartLink (   $iVendorId,
  $mixedModuleId,
  $iItemId,
  $iItemCount,
  $bNeedRedirect = false,
  $aCustom = array() 
)

Returns the whole "Add To Cart" link including HTML tag BUTTON and cart JavaScript code.

◆ getCartJs()

BxDolPayments::getCartJs (   $sType = '',
  $iVendorId = 0 
)

Returns cart JavaScript code which should be included in the page to make "Add To Cart" and "Subscribe" buttons work properly.

◆ getPaymentProvider()

BxDolPayments::getPaymentProvider (   $iVendorId,
  $sVendorProvider,
  $sPaymentType = '' 
)
Deprecated:
since version 11.0.0
See also
BxDolPayments::getProviderOptions

◆ getSubscribeJs()

BxDolPayments::getSubscribeJs (   $iVendorId,
  $sVendorProvider,
  $mixedModuleId,
  $iItemId,
  $iItemCount = 1,
  $sRedirect = '',
  $aCustom = array() 
)

Returns "Subscribe" JavaScript code to use in onclick attribute.

◆ getSubscribeJsWithAddons()

BxDolPayments::getSubscribeJsWithAddons (   $iVendorId,
  $sVendorProvider,
  $mixedModuleId,
  $iItemId,
  $iItemCount = 1,
  $sItemAddons = '',
  $sRedirect = '',
  $aCustom = array() 
)

Returns "Subscribe" JavaScript code to use in onclick attribute.

◆ getSubscribeLink()

BxDolPayments::getSubscribeLink (   $iVendorId,
  $sVendorProvider,
  $mixedModuleId,
  $iItemId,
  $iItemCount = 1,
  $sRedirect = '',
  $aCustom = array() 
)

Returns the whole "Subscribe" link including HTML tag BUTTON and cart JavaScript code.

◆ isPaymentProvider()

BxDolPayments::isPaymentProvider (   $iVendorId,
  $sVendorProvider,
  $sPaymentType = '' 
)
Deprecated:
since version 11.0.0
See also
BxDolPayments::isProviderOptions

◆ subscribeWithAddons()

BxDolPayments::subscribeWithAddons (   $iVendorId,
  $sVendorProvider,
  $mixedModuleId,
  $iItemId,
  $iItemCount = 1,
  $sItemAddons = '',
  $sRedirect = '',
  $aCustom = array() 
)

Subscribe an item in background mode.


The documentation for this class was generated from the following file: