| Amiro.Ru / Manual | |||||||
|
Packages:
DB Debug Driver_PaymentSystem Environment Library Module ModuleComponent Package Plugin Plugin_AJAXResponder Plugin_Sample Service Template TxCommand TxService Hyper_AmiCatalog Hyper_AmiClean Hyper_AmiEshopShipping Hyper_AmiExt Hyper_AmiFiles Hyper_AmiMultifeeds Hyper_AmiSearch Hyper_AmiUsers Config_AmiCatalog_Items Config_AmiClean_AmiNewsList Config_AmiClean_AmiSample Config_AmiClean_EshopOrder Config_AmiClean_Webservice Config_AmiEshopShipping_Fields Config_AmiEshopShipping_Methods Config_AmiEshopShipping_Types Config_AmiFake_AmiroPayDrvExample Config_AmiFiles_Files Config_AmiMultifeeds_Articles Config_AmiMultifeeds_Blog Config_AmiMultifeeds_FAQ Config_AmiMultifeeds_News Config_AmiMultifeeds_PhotoGallery Config_AmiMultifeeds_Stickers Config_AmiUsers_Users Module_Catalog Module_Pages Module_Sample Module_SearchHistory |
Loading search... The Example_PaymentSystemDriver classBILL_driver_base | --AMI_PaymentSystemDriver | --Example_PaymentSystemDriver • IntroductionExample pay driver. • Class synopsis/* Inherited Properties */
// Driver path relative to pay_drivers/
/* Methods */
// Get checkout button HTML form
public
getPayButton ( &$aRes, array $aData, [ bool $bAutoRedirect = false ], array $aRes ) returns bool;
// Get the form that will be autosubmitted to payment system. This step is required for some shooping cart actions.
// Return real system order id from data that provided by payment system.
public
getProcessOrder ( array $aGet, array $aPost, &$aRes, array $aAdditionalParams, array $aRes ) returns int;
// Verify the order by payment system background responce. In success case 'confirmed' status will be setup for order.
public
payCallback ( array $aGet, array $aPost, &$aRes, array $aCheckData, array $aOrderData, array $aRes ) returns int;
// Verify the order from user back link. In success case 'accepted' status will be setup for order.
public
payProcess ( array $aGet, array $aPost, &$aRes, array $aCheckData, array $aOrderData, array $aRes ) returns bool;
/* Inherited Methods */
// Get checkout button HTML form.
public
AMI_PaymentSystemDriver::getPayButton ( &$aRes, $aData, [ bool $bAutoRedirect = false ] ) returns bool;
// Get the form that will be autosubmitted to payment system. This step is required for some shooping cart actions.
// Return real system order id from data that provided by payment system.
public
AMI_PaymentSystemDriver::getProcessOrder ( $aGet, $aPost, &$aRes, $aAdditionalParams ) returns int;
// Do required operations after the payment is confirmed with payment system call.
// Verify the order by payment system background responce. In success case 'confirmed' status will be setup for order.
public
AMI_PaymentSystemDriver::payCallback ( $aGet, $aPost, &$aRes, $aCheckData, $aOrderData ) returns int;
// Verify the order from user back link. In success case 'accepted' status will be setup for order.
public
AMI_PaymentSystemDriver::payProcess ( $aGet, $aPost, &$aRes, $aCheckData, $aOrderData ) returns bool;
// Returns scope as HTML form hidden fields.
}
• Class DetailsHow to create your own pay driver:
• Class Methods// Get checkout button HTML form
public
getPayButton ( &$aRes, array $aData, [ bool $bAutoRedirect = false ], array $aRes ) returns bool;
Overrides: AMI_PaymentSystemDriver::getPayButton(). // Get the form that will be autosubmitted to payment system. This step is required for some shooping cart actions.
Overrides: AMI_PaymentSystemDriver::getPayButtonParams(). // Return real system order id from data that provided by payment system.
public
getProcessOrder ( array $aGet, array $aPost, &$aRes, array $aAdditionalParams, array $aRes ) returns int;
Overrides: AMI_PaymentSystemDriver::getProcessOrder(). Tags:
// Verify the order by payment system background responce. In success case 'confirmed' status will be setup for order.
public
payCallback ( array $aGet, array $aPost, &$aRes, array $aCheckData, array $aOrderData, array $aRes ) returns int;
Overrides: AMI_PaymentSystemDriver::payCallback(). Tags:
// Verify the order from user back link. In success case 'accepted' status will be setup for order.
public
payProcess ( array $aGet, array $aPost, &$aRes, array $aCheckData, array $aOrderData, array $aRes ) returns bool;
Overrides: AMI_PaymentSystemDriver::payProcess(). Tags:
|