|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Fields | |
| const | TRXTYPE_AUTH_ONLY = 'A' |
| const | TRXTYPE_SALE = 'S' |
Data Fields inherited from Config | |
| const | METHOD_EXPRESS = 'paypal_express' |
| const | METHOD_WPS_EXPRESS = 'wps_express' |
| const | METHOD_WPS_BML = 'wps_express_bml' |
| const | METHOD_WPP_BML = 'paypal_express_bml' |
| const | METHOD_WPP_DIRECT = 'paypal_direct' |
| const | METHOD_PAYMENT_PRO = 'paypal_payment_pro' |
| const | METHOD_WPP_PE_EXPRESS = 'payflow_express' |
| const | METHOD_WPP_PE_BML = 'payflow_express_bml' |
| const | METHOD_PAYFLOWPRO = 'payflowpro' |
| const | METHOD_PAYFLOWLINK = 'payflow_link' |
| const | METHOD_PAYFLOWADVANCED = 'payflow_advanced' |
| const | METHOD_HOSTEDPRO = 'hosted_pro' |
| const | METHOD_BILLING_AGREEMENT = 'paypal_billing_agreement' |
| const | EC_FLAVOR_DYNAMIC = 'dynamic' |
| const | EC_FLAVOR_STATIC = 'static' |
| const | EC_BUTTON_TYPE_SHORTCUT = 'ecshortcut' |
| const | EC_BUTTON_TYPE_MARK = 'ecmark' |
| const | PAYMENT_MARK_SMALL = 'small' |
| const | PAYMENT_MARK_MEDIUM = 'medium' |
| const | PAYMENT_MARK_LARGE = 'large' |
| const | DEFAULT_LOGO_TYPE = 'wePrefer_150x60' |
| const | AUTHORIZATION_AMOUNT_ONE = 1 |
| const | AUTHORIZATION_AMOUNT_FULL = 2 |
| const | REQUIRE_BILLING_ADDRESS_NO = 0 |
| const | REQUIRE_BILLING_ADDRESS_ALL = 1 |
| const | REQUIRE_BILLING_ADDRESS_VIRTUAL = 2 |
| const | FRAUD_ACTION_ACCEPT = 'Acept' |
| const | FRAUD_ACTION_DENY = 'Deny' |
| const | REFUND_TYPE_FULL = 'Full' |
| const | REFUND_TYPE_PARTIAL = 'Partial' |
| const | EC_SOLUTION_TYPE_SOLE = 'Sole' |
| const | EC_SOLUTION_TYPE_MARK = 'Mark' |
| const | WPS_TRANSPORT_IPN = 'ipn' |
| const | WPS_TRANSPORT_PDT = 'pdt' |
| const | WPS_TRANSPORT_IPN_PDT = 'ipn_n_pdt' |
| const | EC_BA_SIGNUP_AUTO = 'auto' |
| const | EC_BA_SIGNUP_ASK = 'ask' |
| const | EC_BA_SIGNUP_NEVER = 'never' |
| const | TRANSFER_CART_LINE_ITEMS = 'lineItemsEnabled' |
| const | TRANSFER_SHIPPING_OPTIONS = 'transferShippingOptions' |
| const | XML_PATH_PAYPAL_EXPRESS_SKIP_ORDER_REVIEW_STEP_FLAG = 'payment/paypal_express/skip_order_review_step' |
Data Fields inherited from AbstractConfig | |
| const | PAYMENT_ACTION_SALE = 'Sale' |
| const | PAYMENT_ACTION_AUTH = 'Authorization' |
| const | PAYMENT_ACTION_ORDER = 'Order' |
| const | METHOD_WPP_EXPRESS = 'paypal_express' |
Protected Member Functions | |
| _getSpecificConfigPath ($fieldName) | |
Protected Member Functions inherited from Config | |
| _getDynamicImageUrl ($type, $localeCode, $orderTotal, $pal) | |
| _getSupportedLocaleCode ($localeCode=null) | |
| _getSpecificConfigPath ($fieldName) | |
| _mapExpressFieldset ($fieldName) | |
| _mapBmlFieldset ($fieldName) | |
| _mapBmlPayflowFieldset ($fieldName) | |
| _mapDirectFieldset ($fieldName) | |
| _mapWppFieldset ($fieldName) | |
| _mapWpukFieldset ($fieldName) | |
| _mapGenericStyleFieldset ($fieldName) | |
| _mapGeneralFieldset ($fieldName) | |
| _mapMethodFieldset ($fieldName) | |
Protected Member Functions inherited from AbstractConfig | |
| _getSpecificConfigPath ($fieldName) | |
| _prepareValue ($key, $value) | |
| getProductMetadata () | |
Additional Inherited Members | |
Static Public Member Functions inherited from Config | |
| static | getIsCreditCardMethod ($code) |
Protected Attributes inherited from Config | |
| $_buildNotationPPMap | |
| $_ecStyleConfigMap | |
| $_supportedCurrencyCodes | |
| $_supportedCountryCodes | |
| $_supportedBuyerCountryCodes | |
| $_supportedImageLocales | |
| $directoryHelper | |
| $_storeManager | |
| $_cctypeFactory | |
| $_certFactory | |
Protected Attributes inherited from AbstractConfig | |
| $_methodCode | |
| $_storeId | |
| $pathPattern | |
| $productMetadata | |
| $_scopeConfig | |
| $methodInstance | |
Class PayflowConfig
Definition at line 14 of file PayflowConfig.php.
|
protected |
Map any supported payment method into a config path by specified field name
| string | $fieldName |
Definition at line 99 of file PayflowConfig.php.
| getPaymentAction | ( | ) |
Payment action getter compatible with payment model
Definition at line 66 of file PayflowConfig.php.
| getTransactionUrl | ( | $testMode = null | ) |
Getter for URL to perform Payflow requests, based on test mode by default
| bool | null | $testMode | Ability to specify test mode using |
Definition at line 52 of file PayflowConfig.php.
| getTrxType | ( | ) |
#- Mapper from Magento payment actions to PayPal-specific transaction types
Definition at line 32 of file PayflowConfig.php.
| isMethodActive | ( | $method | ) |
Check whether method active in configuration and supported for merchant country or not
| string | $method | Method code |
@SuppressWarnings(PHPMD.UnusedFormalParameter)
Definition at line 87 of file PayflowConfig.php.
| const TRXTYPE_AUTH_ONLY = 'A' |
#- #+ Payment transaction types
Definition at line 21 of file PayflowConfig.php.
| const TRXTYPE_SALE = 'S' |
Definition at line 23 of file PayflowConfig.php.