UNA
|
Public Member Functions | |
__construct ($aConfig) | |
initializeCheckout ($iPendingId, $aCartInfo, $sRedirect='') | |
finalizeCheckout (&$aData) | |
getCheckoutParamsSingle ($aParams, &$oGrid) | |
getVerificationCodeCharge ($iVendorId, $iCustomerId, $fAmount, $sCurrency) | |
checkVerificationCodeCharge ($iVendorId, $iCustomerId, $aResult) | |
getVerificationCodeSubscription ($iVendorId, $iCustomerId, $sSubscription, $sCurrency) | |
checkVerificationCodeSubscription ($iVendorId, $iCustomerId, $aResult) | |
Public Member Functions inherited from BxPaymentProviderStripeBasic | |
initOptions ($aOptions) | |
addJsCss () | |
getJsObject ($aParams=array()) | |
notify () | |
getButtonSingle ($iClientId, $iVendorId, $aParams=array()) | |
getButtonSingleJs ($iClientId, $iVendorId, $aParams=array()) | |
getButtonRecurring ($iClientId, $iVendorId, $aParams=array()) | |
getButtonRecurringJs ($iClientId, $iVendorId, $aParams=array()) | |
getMenuItemsActionsRecurring ($iClientId, $iVendorId, $aParams=array()) | |
getDetailsRecurring ($iPendingId, $sCustomerId, $sSubscriptionId) | |
changeDetailsRecurring ($iPendingId, $sCustomerId, $sSubscriptionId) | |
getBillingRecurring ($iPendingId, $sCustomerId, $sSubscriptionId) | |
changeBillingRecurring ($iPendingId, $sCustomerId, $sSubscriptionId) | |
cancelRecurring ($iPendingId, $sCustomerId, $sSubscriptionId) | |
getSubscription ($iPendingId, $sCustomerId, $sSubscriptionId) | |
Public Member Functions inherited from BxBaseModPaymentProvider | |
initOptionsByVendor ($iVendorId) | |
isActive () | |
isHidden () | |
getOption ($sName) | |
setOption ($sName, $mixedValue, $bSave=false) | |
getReturnUrl ($aParams=array()) | |
getReturnDataUrl ($iVendorId, $aParams=array()) | |
getNotifyUrl ($iVendorId, $aParams=array()) | |
needRedirect () | |
getJsObject () | |
finalizedCheckout () | |
isSubscriptionStatus ($sStatus, $aSubscription, $sStatusKey='status') | |
Public Member Functions inherited from iBxBaseModPaymentProvider | |
initializeCheckout ($iPendingId, $aCartInfo) | |
finalizedCheckout () | |
Protected Member Functions | |
_createToken ($aCard) | |
_createCustomer ($sType, $sToken, $aClient) | |
_createCharge ($sToken, $iPendingId, &$aClient, &$aCartInfo) | |
_createSubscription ($sToken, $iPendingId, &$aClient, &$aCartInfo) | |
_createCard ($sType, $sCustomerId, $sToken) | |
_retrieveCard ($sCustomerId, $sCardId='') | |
_retrieveCoupon ($sId) | |
_getButtonJs ($sType, $iClientId, $iVendorId, $aParams=array()) | |
_getVerificationCodeCharge ($iVendorId, $iCustomerId, $fAmount, $sCurrency) | |
_checkVerificationCodeCharge ($iVendorId, $iCustomerId, $aResult) | |
_getVerificationCodeSubscription ($iVendorId, $iCustomerId, $sSubscription, $sCurrency) | |
_checkVerificationCodeSubscription ($iVendorId, $iCustomerId, $aResult) | |
Protected Member Functions inherited from BxPaymentProviderStripeBasic | |
_getPublicKey () | |
_getSecretKey () | |
_retrieveCustomer ($sType, $sId) | |
_retrieveCharge ($sId) | |
_retrieveSubscription ($sCustomerId, $sSubscriptionId) | |
_cancelSubscription ($sCustomerId, $sSubscriptionId) | |
_retrievePaymentMethod ($sPaymentMethodId) | |
_retrieveProduct ($sId) | |
_listPlans ($iLimit=100) | |
_retrieveEvent ($sId) | |
_processEvent () | |
_processEventInvoicePaymentSucceeded (&$aEvent) | |
_processEventChargeRefunded (&$aEvent) | |
_processEventCustomerSubscriptionDeleted (&$aEvent) | |
_processException ($sMessage, &$oException) | |
_getData (&$aEvent, $bRetrieve=true) | |
_getDataInvoicePaymentSucceeded (&$aEvent, $bRetrieve=true) | |
_getDataChangeDetailsRecurring ($iPendingId) | |
_getButton ($sType, $iClientId, $iVendorId, $aParams=array()) | |
Protected Member Functions inherited from BxBaseModPaymentProvider | |
getOptionsByPending ($iPendingId) | |
getOptionsByVendor ($iVendorId) | |
log ($mixedContents, $sTitle='') | |
Additional Inherited Members | |
Protected Attributes inherited from BxPaymentProviderStripeBasic | |
$_sFormDetails | |
$_sFormDisplayDetailsEdit | |
$_sFormCard | |
$_sFormDisplayCardAdd | |
$_iMode | |
$_bCheckAmount | |
$_bProrate | |
$_oCustomer | |
Protected Attributes inherited from BxBaseModPaymentProvider | |
$MODULE | |
$_oModule | |
$_sLangsPrefix | |
$_iId | |
$_sName | |
$_sCaption | |
$_sPrefix | |
$_iVendor | |
$_aOptions | |
$_bUseSsl | |
$_bRedirectOnResult | |
$_aSbsStatuses | |
$_aIncludeJs | |
$_aIncludeCss | |
BxPaymentProviderStripe::__construct | ( | $aConfig | ) |
Reimplemented from BxPaymentProviderStripeBasic.
|
protected |
bx_payment
stripe_create_charge
charge_object
- [object] by ref, an instance of charge, redurned by payment provider, can be overridden in hook processingcharge_params
- [array] by ref, array with charge parameters, can be overridden in hook processing
|
protected |
bx_payment
stripe_create_customer
type
- [string] payment type: single or recurringcustomer_object
- [object] by ref, an instance of customer, redurned by payment provider, can be overridden in hook processingcustomer_params
- [array] by ref, array with customer parameters, can be overridden in hook processing
|
protected |
bx_payment
stripe_create_subscription
customer
- [object] by ref, an instance of customer, can be overridden in hook processingsubscription_object
- [object] by ref, an instance of subscription, redurned by payment provider, can be overridden in hook processingsubscription_params
- [array] by ref, array with subscription parameters, can be overridden in hook processing
|
protected |
bx_payment
stripe_get_button
type
- [string] by ref, payment type ('single' or 'recurring'), can be overridden in hook processingpublic_key
- [string] by ref, Stripe public key, can be overridden in hook processing
BxPaymentProviderStripe::checkVerificationCodeCharge | ( | $iVendorId, | |
$iCustomerId, | |||
$aResult ) |
bx_payment
stripe_verify_charge
provider
- [object] an instance of provider, vendor_id
- [int] vendor (seller) profile idcustomer_id
- [int] customer (buyer) profile idresult
- [array] results array received from payment provideroverride_result
- [boolean] by ref, is verification passed or not, can be overridden in hook processing
BxPaymentProviderStripe::checkVerificationCodeSubscription | ( | $iVendorId, | |
$iCustomerId, | |||
$aResult ) |
It's equivalent to 'bx_payment', 'stripe_verify_charge' - hook to override code verification for 'charge' action
BxPaymentProviderStripe::finalizeCheckout | ( | & | $aData | ) |
Implements iBxBaseModPaymentProvider.
BxPaymentProviderStripe::getVerificationCodeCharge | ( | $iVendorId, | |
$iCustomerId, | |||
$fAmount, | |||
$sCurrency ) |
bx_payment
stripe_get_code_charge
provider
- [object] an instance of provider, vendor_id
- [int] vendor (seller) profile idcustomer_id
- [int] customer (buyer) profile idamount
- [float] charge amountcurrency
- [string] charge currency codeoverride_result
- [string] by ref, verification code, can be overridden in hook processing
BxPaymentProviderStripe::getVerificationCodeSubscription | ( | $iVendorId, | |
$iCustomerId, | |||
$sSubscription, | |||
$sCurrency ) |
bx_payment
stripe_get_code_subscription
provider
- [object] an instance of provider, vendor_id
- [int] vendor (seller) profile idcustomer_id
- [int] customer (buyer) profile idsubscription
- [string] unique subscription idcurrency
- [string] charge currency codeoverride_result
- [string] by ref, verification code, can be overridden in hook processing