|
| actionGetClients () |
|
| serviceGetModulesWithPayments () |
|
| serviceIsCreditsOnly () |
|
| serviceIsAcceptingPayments ($iVendorId, $sPaymentType='') |
|
| serviceIsPaymentProvider ($iVendorId, $sVendorProvider, $sPaymentType='') |
|
| serviceGetPaymentProvider ($iVendorId, $sVendorProvider, $sPaymentType='') |
|
| serviceIsProviderOptions ($iVendorId, $sVendorProvider, $sPaymentType='') |
|
| serviceGetProviderOptions ($iVendorId, $sVendorProvider, $sPaymentType='') |
|
| serviceGetOptionsDefaultCurrencyCode () |
|
| serviceGetOptionsSiteAdmin () |
|
| actionAddToCart ($iSellerId, $iModuleId, $iItemId, $iItemCount, $sCustom='') |
|
| actionDeleteFromCart ($iSellerId, $iModuleId, $iItemId) |
|
| actionEmptyCart ($iSellerId) |
|
| actionAuthorizeCheckout ($sType) |
|
| serviceAuthorizeCheckout ($sType, $iSellerId, $sProvider, $aItems=[], $sRedirect='') |
|
| serviceCaptureAuthorizedCheckout ($sType, $sOrderAuth, $sRedirect='') |
|
| serviceInitializeCheckout ($sType, $iSellerId, $sProvider, $aItems=array(), $sRedirect='', $aCustoms=array()) |
|
| actionCall ($sProvider, $sAction, $mixedVendorId=BX_PAYMENT_EMPTY_ID) |
|
| registerSubscription ($aPending, $aParams=array()) |
|
| cancelSubscription ($mixedPending) |
|
| serviceGetPaymentData () |
|
| serviceGetCartItem ($mixedItemId) |
|
| serviceGetCartItems ($iCommissionaireId) |
|
| serviceRegisterCartItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder, $sLicense) |
|
| serviceUnregisterCartItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder, $sLicense) |
|
| serviceUpdateDependentModules ($sModule='all', $bInstall=true) |
|
| serviceGenerateLicense () |
|
| serviceGetCurrencyInfo ($iVendorId=0) |
|
| serviceGetOption ($sOption) |
|
| serviceGetProvider ($sProvider, $mixedVendorId=BX_PAYMENT_EMPTY_ID) |
|
| serviceGetProvidersCart ($iVendorId) |
|
| alert ($sAction, $iObjectId, $iSender=false, $aExtras=array()) |
|
| actionAjaxGetProfiles () |
|
| serviceModuleIcon () |
|
| serviceGetLink ($iContentId) |
|
| serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='') |
|
| serviceBrowse ($aParams=array()) |
|
| serviceBrowseFeatured ($sUnitView=false, $bEmptyMessage=false, $bAjaxPaginate=true) |
|
| serviceBrowseFavorite ($iProfileId=0, $aParams=array()) |
|
| serviceBrowseFavoriteLists ($iProfileId=0, $aParams=array()) |
|
| serviceBrowseCategory ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $aParams=[]) |
|
| serviceFavoritesListActions () |
|
| serviceFavoritesListInfo ($aParams=array()) |
|
| serviceBrowseContext ($iProfileId=0, $aParams=array()) |
|
| serviceEntityAdd ($iProfile, $aValues, $sDisplay=false) |
|
| serviceRedirectAfterAdd ($aContentInfo) |
|
| serviceGetObjectForm ($sType, $aParams=array()) |
|
| serviceEntityCreate ($sParams=false) |
|
| serviceGetCreatePostForm ($aParams=[]) |
|
| serviceEntityEdit ($iContentId=0, $sDisplay=false) |
|
| serviceEntityDelete ($iContentId=0) |
|
| serviceEntityTextBlock ($iContentId=0) |
|
| serviceEntityInfo ($iContentId=0, $sDisplay=false) |
|
| serviceEntityInfoFull ($iContentId=0) |
|
| serviceEntityInfoExtended ($iContentId=0) |
|
| serviceEntityLocation ($iContentId=0) |
|
| serviceEntityComments ($iContentId=0) |
|
| serviceEntityAttachments ($iContentId=0) |
|
| serviceDeleteEntity ($iContentId, $sFuncDelete='deleteData') |
|
| serviceMyEntriesActions ($iProfileId=0) |
|
| serviceEntityAllActions ($mixedContent=false, $aParams=array()) |
|
| serviceEntityActions ($iContentId=0) |
|
| serviceEntityReports ($iContentId=0) |
|
| serviceReportsCountByStatus ($iStatus) |
|
| serviceEntitySocialSharing ($mixedContent=false, $aParams=array()) |
|
| serviceEntityContext ($iContentId=0) |
|
| serviceGetLablesTree () |
|
| serviceGetNotificationsData () |
|
| serviceGetNotificationsPost ($aEvent) |
|
| serviceGetNotificationsComment ($aEvent) |
|
| serviceGetNotificationsReply ($aEvent) |
|
| serviceGetNotificationsVote ($aEvent) |
|
| serviceGetNotificationsReaction ($aEvent) |
|
| serviceGetNotificationsScoreUp ($aEvent) |
|
| serviceGetNotificationsScoreDown ($aEvent) |
|
| serviceGetTimelineData () |
|
| serviceGetTimelinePost ($aEvent, $aBrowseParams=array()) |
|
| serviceCheckAllowed ($sAction, $isPerformAction=false) |
|
| serviceCheckAllowedWithContent ($sAction, $iContentId, $isPerformAction=false) |
|
| serviceCheckAllowedWithContentForProfile ($sAction, $iContentId, $iProfileId, $isPerformAction=false) |
|
| serviceCategoriesMultiList ($bDisplayEmptyCats=true) |
|
| serviceCheckAllowedViewForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false) |
|
| checkAllowedBrowse () |
|
| checkAllowedView ($aDataEntry, $isPerformAction=false) |
|
| checkAllowedViewForProfile ($aDataEntry, $iProfileId, $isPerformAction=false) |
|
| checkAllowedAdd ($isPerformAction=false) |
|
| checkAllowedApprove ($aDataEntry, $isPerformAction=false) |
|
| checkAllowedEdit ($aDataEntry, $isPerformAction=false) |
|
| checkAllowedDelete (&$aDataEntry, $isPerformAction=false) |
|
| checkAllowedSetMembership (&$aDataEntry, $isPerformAction=false) |
|
| checkAllowedEditAnyEntry ($isPerformAction=false) |
|
| checkAllowedDeleteAnyEntry ($isPerformAction=false) |
|
| checkAllowedEditAnyEntryForProfile ($isPerformAction=false, $iProfileId=false) |
|
| checkAllowedDeleteAnyEntryForProfile ($isPerformAction=false, $iProfileId=false) |
|
| checkAllowedCommentsView ($aContentInfo, $isPerformAction=false) |
|
| checkAllowedCommentsPost ($aContentInfo, $isPerformAction=false) |
|
| __construct ($aModule) |
|
| isEnabled () |
|
| getName () |
|
| isLogged () |
|
| getUserId () |
|
| getUserPassword () |
|
Payment module by BoonEx
This module is needed to work with payment providers and organize the process of some item purchasing. Shopping Cart and Orders Manager are included.
Integration notes: To integrate your module with this one, you need:
- Get 'Add To Cart' button using serviceGetAddToCartLink service.
- Add info about your module in the 'bx_pmt_modules' table.
- Realize the following service methods in your Module class. a. serviceGetItems($iSellerId) - Is used in Orders Administration to get all products of the requested seller(vendor). b. serviceGetCartItem($iClientId, $iItemId) - Is used in Shopping Cart to get one product by specified id. c. serviceRegisterCartItem($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrderId) - Register purchased product. d. serviceUnregisterCartItem($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrderId) - Unregister the product purchased earlier.
- See also
- You may see an example of integration in Membership module.
Profile's Wall: no spy events
Spy: no spy events
Memberships/ACL: Doesn't depend on user's membership.
Service methods:
Is used to get "Add to cart" link for some item(s) in your module.
- See also
- BxPmtModule::serviceGetAddToCartLink BxDolService::call('payment', 'get_add_to_cart_link', array($iSellerId, $mixedModuleId, $iItemId, $iItemCount));
Check transaction(s) in database which satisty all conditions.
- See also
- BxPmtModule::serviceGetOrdersInfo BxDolService::call('payment', 'get_orders_info', array($aConditions), 'Orders');
Get total count of items in Shopping Cart.
- See also
- BxPmtModule::serviceGetCartItemsCount BxDolService::call('payment', 'get_cart_items_count', array($iUserId, $iOldCount));
- Note
- is needed for internal usage(integration with member tool bar).
Get Shopping cart content.
- See also
- BxPmtModule::serviceGetCartItems BxDolService::call('payment', 'get_cart_items');
- Note
- is needed for internal usage(integration with member tool bar).
Alerts: no alerts available