UNA
|
Public Member Functions | |
__construct ($aConfig) | |
actionGetSessionRecurring () | |
authorizeCheckout ($iPendingId, $aCartInfo, $sRedirect='') | |
captureAuthorizedCheckout ($sOrderAuth, $mixedPending, $aInfo) | |
initializeCheckout ($iPendingId, $aCartInfo, $sRedirect='') | |
finalizeCheckout (&$aData) | |
getButtonSingle ($iClientId, $iVendorId, $aParams=array()) | |
overwriteCheckoutParamsSingle ($aParams, &$oGrid) | |
createSessionAuthorize ($sType, $iClientId, $iSellerId, $sItems, $aSessionParams=[]) | |
createSessionPaymentEmbedded ($sType, $iClientId, $iSellerId, $sItems, $aSessionParams=[]) | |
createTax ($sName, $fPercentage, $bInclusive=false) | |
retrieveTax ($sId) | |
getVerificationCodeSession ($iVendorId, $iCustomerId, $fAmount, $sCurrency) | |
checkVerificationCodeSession ($iVendorId, $iCustomerId, $aResult) | |
Public Member Functions inherited from BxPaymentProviderStripeBasic | |
initOptions ($aOptions) | |
addJsCss () | |
getJsObject ($aParams=array()) | |
notify () | |
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 | |
_getStripe () | |
_retrieveCustomer ($sType, $sId) | |
_createSession ($sType, $aParams, &$aClient, &$aCartInfo) | |
_getSession ($sType, $sId) | |
_retrieveSession ($sId) | |
_retrieveSetupIntent ($sId) | |
_createPaymentIntent ($sSetupIntentId, $fAmount, $sCurrency, $bConfirm=true) | |
_retrievePaymentIntent ($sId) | |
_retrieveSubscription ($sCustomerId, $sSubscriptionId) | |
_createToken ($aCard) | |
_createCard ($sType, $sCustomerId, $sToken) | |
_retrieveCard ($sCustomerId, $sCardId='') | |
_retrievePaymentMethod ($sPaymentMethodId) | |
_getButton ($sType, $iClientId, $iVendorId, $aParams=array()) | |
_getButtonJs ($sType, $iClientId, $iVendorId, $aParams=array()) | |
_getVerificationCodeSession ($iVendorId, $iCustomerId, $fAmount, $sCurrency) | |
_checkVerificationCodeSession ($iVendorId, $iCustomerId, $aResult) | |
_processException ($sMessage, &$oException) | |
Protected Member Functions inherited from BxPaymentProviderStripeBasic | |
_getPublicKey () | |
_getSecretKey () | |
_retrieveCharge ($sId) | |
_cancelSubscription ($sCustomerId, $sSubscriptionId) | |
_retrieveProduct ($sId) | |
_listPlans ($iLimit=100) | |
_retrieveEvent ($sId) | |
_processEvent () | |
_processEventInvoicePaymentSucceeded (&$aEvent) | |
_processEventChargeRefunded (&$aEvent) | |
_processEventCustomerSubscriptionDeleted (&$aEvent) | |
_getData (&$aEvent, $bRetrieve=true) | |
_getDataInvoicePaymentSucceeded (&$aEvent, $bRetrieve=true) | |
_getDataChangeDetailsRecurring ($iPendingId) | |
Protected Member Functions inherited from BxBaseModPaymentProvider | |
getOptionsByPending ($iPendingId) | |
getOptionsByVendor ($iVendorId) | |
log ($mixedContents, $sTitle='') | |
Protected Attributes | |
$_oStripe | |
$_iAmountPrecision | |
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 | |
BxPaymentProviderStripeV3::__construct | ( | $aConfig | ) |
Reimplemented from BxPaymentProviderStripeBasic.
|
protected |
bx_payment
stripe_v3_create_payment_intent
setup_intent_id
- [string] by ref, unique SetupIntent id, can be overridden in hook processingpayment_intent_object
- [object] by ref, an instance of PaymentIntent, redurned by payment provider, can be overridden in hook processing
|
protected |
bx_payment
stripe_v3_create_session
session_object
- [object] by ref, an instance of session, redurned by payment provider, can be overridden in hook processingsession_params
- [array] by ref, array with session parameters, can be overridden in hook processing
|
protected |
Reimplemented from BxPaymentProviderStripeBasic.
|
protected |
bx_payment
stripe_v3_get_button
type
- [string] by ref, payment type ('single' or 'recurring'), can be overridden in hook processingpublic_key
- [string] by ref, public key from Stripe account, can be overridden in hook processing
|
protected |
Reimplemented from BxPaymentProviderStripeBasic.
|
protected |
It's equivalent to 'bx_payment', 'stripe_retrieve_customer' - hook to override customer data retrieved from payment provider
Reimplemented from BxPaymentProviderStripeBasic.
|
protected |
bx_payment
stripe_v3_retrieve_payment_intent
payment_intent_id
- [string] by ref, unique PaymentIntent id, can be overridden in hook processingpayment_intent_object
- [object] by ref, an instance of PaymentIntent, redurned by payment provider, can be overridden in hook processing
|
protected |
Reimplemented from BxPaymentProviderStripeBasic.
|
protected |
bx_payment
stripe_v3_retrieve_session
session_id
- [string] by ref, unique session id, can be overridden in hook processingsession_object
- [object] by ref, an instance of session, redurned by payment provider, can be overridden in hook processing
|
protected |
bx_payment
stripe_v3_retrieve_setup_intent
setup_intent_id
- [string] by ref, unique SetupIntent id, can be overridden in hook processingsetup_intent_object
- [object] by ref, an instance of SetupIntent, redurned by payment provider, can be overridden in hook processing
|
protected |
bx_payment
stripe_v3_retrieve_subscription
subscription_id
- [string] by ref, unique subscription id, can be overridden in hook processingsubscription_object
- [object] by ref, an instance of subscription, redurned by payment provider, can be overridden in hook processing
Reimplemented from BxPaymentProviderStripeBasic.
BxPaymentProviderStripeV3::checkVerificationCodeSession | ( | $iVendorId, | |
$iCustomerId, | |||
$aResult ) |
bx_payment
stripe_v3_verify_session
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
BxPaymentProviderStripeV3::createSessionAuthorize | ( | $sType, | |
$iClientId, | |||
$iSellerId, | |||
$sItems, | |||
$aSessionParams = [] ) |
Note. Isn't used for now in default version.
BxPaymentProviderStripeV3::createTax | ( | $sName, | |
$fPercentage, | |||
$bInclusive = false ) |
bx_payment
stripe_v3_create_tax
tax_object
- [object] by ref, an instance of tax, redurned by payment provider, can be overridden in hook processingtax_params
- [array] by ref, array with tax parameters, can be overridden in hook processing
BxPaymentProviderStripeV3::finalizeCheckout | ( | & | $aData | ) |
Implements iBxBaseModPaymentProvider.
BxPaymentProviderStripeV3::getButtonSingle | ( | $iClientId, | |
$iVendorId, | |||
$aParams = array() ) |
Reimplemented from BxPaymentProviderStripeBasic.
BxPaymentProviderStripeV3::getVerificationCodeSession | ( | $iVendorId, | |
$iCustomerId, | |||
$fAmount, | |||
$sCurrency ) |
bx_payment
stripe_v3_get_code_session
provider
- [object] an instance of provider, vendor_id
- [int] vendor (seller) profile idcustomer_id
- [int] customer (buyer) profile idamount
- [float] session amountcurrency
- [string] session currency codeoverride_result
- [string] by ref, verification code, can be overridden in hook processing
BxPaymentProviderStripeV3::retrieveTax | ( | $sId | ) |
bx_payment
stripe_v3_retrieve_tax
tax_id
- [string] by ref, unique tax id, can be overridden in hook processingtax_object
- [object] by ref, an instance of tax, redurned by payment provider, can be overridden in hook processing