express_checkout.xml 69.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908
<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
    <group id="express_checkout" translate="label comment" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="60">
        <label>Express Checkout</label>
        <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Fieldset\Payment</frontend_model>
        <fieldset_css>paypal-other-section</fieldset_css>
        <comment>Add PayPal as an additional payment method to your checkout page.</comment>
        <attribute type="activity_path">payment/paypal_express/active</attribute>
        <group id="configuration_details" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="4">
            <comment>http://docs.magento.com/m2/ce/user_guide/payment/paypal-express-checkout.html</comment>
            <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Fieldset\Hint</frontend_model>
        </group>
        <group id="express_checkout_required" translate="label" showInDefault="1" showInWebsite="1" sortOrder="10">
            <label>Required PayPal Settings</label>
            <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Fieldset\Expanded</frontend_model>
            <group id="express_checkout_required_express_checkout" translate="label" showInDefault="1" showInWebsite="1" sortOrder="10">
                <label>Express Checkout</label>
                <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Fieldset\Expanded</frontend_model>
                <field id="business_account" translate="label comment tooltip" showInDefault="1" showInWebsite="1" sortOrder="5">
                    <label>Email Associated with PayPal Merchant Account (Optional)</label>
                    <frontend_class>not-required</frontend_class>
                    <comment>
                        <![CDATA[<a href="http://www.magentocommerce.com/paypal">Start accepting payments via PayPal!</a>]]>
                    </comment>
                    <tooltip>Don't have a PayPal account? Simply enter your email address.</tooltip>
                    <config_path>paypal/general/business_account</config_path>
                    <validate>validate-email</validate>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="api_authentication" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1">
                    <label>API Authentication Methods</label>
                    <config_path>paypal/wpp/api_authentication</config_path>
                    <source_model>Magento\Paypal\Model\Config::getApiAuthenticationMethods</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="api_username" translate="label" type="obscure" sortOrder="30" showInDefault="1" showInWebsite="1">
                    <label>API Username</label>
                    <config_path>paypal/wpp/api_username</config_path>
                    <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="api_password" translate="label" type="obscure" sortOrder="40" showInDefault="1" showInWebsite="1">
                    <label>API Password</label>
                    <config_path>paypal/wpp/api_password</config_path>
                    <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="api_signature" translate="label" type="obscure" sortOrder="50" showInDefault="1" showInWebsite="1">
                    <label>API Signature</label>
                    <config_path>paypal/wpp/api_signature</config_path>
                    <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
                    <attribute type="shared">1</attribute>
                    <depends>
                        <field id="api_authentication">0</field>
                    </depends>
                </field>
                <field id="api_cert" translate="label" type="file" sortOrder="60" showInDefault="1" showInWebsite="1">
                    <label>API Certificate</label>
                    <config_path>paypal/wpp/api_cert</config_path>
                    <backend_model>Magento\Paypal\Model\System\Config\Backend\Cert</backend_model>
                    <attribute type="shared">1</attribute>
                    <depends>
                        <field id="api_authentication">1</field>
                    </depends>
                </field>
                <field id="api_wizard" translate="button_label attribute sandbox_button_label" sortOrder="70" showInDefault="1" showInWebsite="1">

                    <attribute type="button_label">Get Credentials from PayPal</attribute>
                    <attribute type="button_url">
                        <![CDATA[https://www.paypal.com/webapps/merchantboarding/webflow/externalpartnerflow]]>
                    </attribute>

                    <attribute type="sandbox_button_label">Sandbox Credentials</attribute>
                    <attribute type="sandbox_button_url">
                        <![CDATA[https://www.sandbox.paypal.com/webapps/merchantboarding/webflow/externalpartnerflow]]>
                    </attribute>

                    <!-- partnerId -->
                    <attribute type="partner_id">NB9WWHYEMVUMS</attribute>
                    <!-- partnerLogoUrl -->
                    <attribute type="partner_logo_url">Magento_Backend/web/images/logo-magento.png</attribute>
                    <!-- receiveCredentials -->
                    <attribute type="receive_credentials">FALSE</attribute>
                    <!-- showPermissions -->
                    <attribute type="show_permissions">FALSE</attribute>
                    <!-- displayMode -->
                    <attribute type="display_mode">embedded</attribute>
                    <!-- productIntentID -->
                    <attribute type="product_intent_id">pp_express</attribute>

                    <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\ApiWizard</frontend_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="sandbox_flag" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1">
                    <label>Sandbox Mode</label>
                    <config_path>paypal/wpp/sandbox_flag</config_path>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="use_proxy" translate="label" type="select" sortOrder="90" showInDefault="1" showInWebsite="1">
                    <label>API Uses Proxy</label>
                    <config_path>paypal/wpp/use_proxy</config_path>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="proxy_host" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1">
                    <label>Proxy Host</label>
                    <config_path>paypal/wpp/proxy_host</config_path>
                    <attribute type="shared">1</attribute>
                    <depends>
                        <field id="use_proxy">1</field>
                    </depends>
                </field>
                <field id="proxy_port" translate="label" type="text" sortOrder="110" showInDefault="1" showInWebsite="1">
                    <label>Proxy Port</label>
                    <config_path>paypal/wpp/proxy_port</config_path>
                    <attribute type="shared">1</attribute>
                    <depends>
                        <field id="use_proxy">1</field>
                    </depends>
                </field>
            </group>
            <field id="enable_express_checkout" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1">
                <label>Enable this Solution</label>
                <config_path>payment/paypal_express/active</config_path>
                <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Field\Enable\Payment</frontend_model>
                <requires>
                    <group id="express_checkout_required_express_checkout"/>
                </requires>
            </field>
            <field id="enable_in_context_checkout" translate="label comment" type="select" sortOrder="21" showInDefault="1" showInWebsite="1">
                <label>Enable In-Context Checkout Experience</label>
                <comment>
                    <![CDATA[See PayPal Feature Support details and list of supported regions
                    <a href="https://developer.paypal.com/docs/classic/express-checkout/in-context/" target="_blank">here</a>.]]>
                </comment>
                <config_path>payment/paypal_express/in_context</config_path>
                <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Field\Enable\InContextApi</frontend_model>
                <requires>
                    <field id="enable_express_checkout"/>
                </requires>
            </field>
            <field id="merchant_id" translate="label" type="text" sortOrder="22" showInDefault="1" showInWebsite="1">
                <label>Merchant Account ID</label>
                <tooltip>You can look up your merchant ID by logging into https://www.paypal.com/. Click the profile icon on the top right side of the page and then select Profile and settings in the Business Profile menu. (If you do not see the profile icon at the top of the page, click Profile, which appears in the top menu when the My Account tab is selected.) Click My business info on the left, and the Merchant account ID is displayed in the list of profile items on the right.</tooltip>
                <config_path>payment/paypal_express/merchant_id</config_path>
                <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Field\Depends\MerchantId</frontend_model>
                <depends>
                    <field id="enable_in_context_checkout">1</field>
                </depends>
                <validate>required-entry</validate>
            </field>
            <field id="enable_express_checkout_bml" translate="label comment" type="select" sortOrder="23" showInDefault="0" showInWebsite="0">
                <label>Enable PayPal Credit</label>
                <comment><![CDATA[PayPal Express Checkout lets you give customers access to financing through PayPal Credit&#174; - at no additional cost to you.
                        You get paid up front, even though customers have more time to pay. A pre-integrated payment button lets customers pay quickly with PayPal Credit&#174;.
                        <a href="https://www.paypal.com/webapps/mpp/promotional-financing" target="_blank">Learn More</a>]]>
                </comment>
                <config_path>payment/paypal_express_bml/active</config_path>
                <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Field\Enable\BmlApi</frontend_model>
                <requires>
                    <field id="enable_express_checkout"/>
                </requires>
            </field>
            <field id="express_checkout_bml_sort_order" translate="label" type="text" sortOrder="25" showInDefault="0" showInWebsite="0" showInStore="0">
                <label>Sort Order PayPal Credit</label>
                <config_path>payment/paypal_express_bml/sort_order</config_path>
                <frontend_class>validate-number</frontend_class>
                <attribute type="shared">1</attribute>
                <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Field\Depends\BmlApiSortOrder</frontend_model>
                <depends>
                    <field id="enable_express_checkout_bml">1</field>
                </depends>
            </field>
            <group id="advertise_bml" translate="label comment" showInDefault="1" showInWebsite="1" sortOrder="30">
                <label>Advertise PayPal Credit</label>
                <comment>
                    <![CDATA[<a href="https://financing.paypal.com/ppfinportal/content/whyUseFinancing" target="_blank">Why Advertise Financing?</a><br/>
                        <strong>Give your sales a boost when you advertise financing.</strong><br/>PayPal helps turn browsers into buyers with financing
                        from PayPal Credit&#174;. Your customers have more time to pay, while you get paid up front – at no additional cost to you.
                        Use PayPal’s free banner ads that let you advertise PayPal Credit&#174; financing as a payment option when your customers check out with PayPal.
                        The PayPal Advertising Program has been shown to generate additional purchases as well as increase consumer's average purchase sizes by 15%
                        or more. <a href="https://financing.paypal.com/ppfinportal/content/forrester" target="_blank">See Details</a>.]]>
                </comment>
                <field id="bml_publisher_id" translate="label comment tooltip" showInDefault="1" showInWebsite="1" sortOrder="10">
                    <label>Publisher ID</label>
                    <comment><![CDATA[Required to display a banner]]></comment>
                    <config_path>payment/paypal_express_bml/publisher_id</config_path>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="bml_wizard" translate="button_label" sortOrder="15" showInDefault="1" showInWebsite="1">
                    <button_label>Get Publisher ID from PayPal</button_label>
                    <button_url><![CDATA[https://financing.paypal.com/ppfinportal/cart/index?dcp=4eff8563b9cc505e0b9afaff3256705081553c79]]></button_url>
                    <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\BmlApiWizard</frontend_model>
                </field>
                <group id="settings_bml_homepage" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
                    <label>Home Page</label>
                    <field id="bml_homepage_display" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="10">
                        <label>Display</label>
                        <config_path>payment/paypal_express_bml/homepage_display</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_homepage_position" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="20">
                        <label>Position</label>
                        <config_path>payment/paypal_express_bml/homepage_position</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlPosition::getBmlPositionsHP</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_homepage_size1" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="30">
                        <label>Size</label>
                        <config_path>payment/paypal_express_bml/homepage_size</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeHPH</source_model>
                        <attribute type="shared">1</attribute>
                        <depends>
                            <field id="bml_homepage_position">0</field>
                        </depends>
                    </field>
                    <field id="bml_homepage_size2" extends="payment_all_paypal/express_checkout/express_checkout_required/advertise_bml/settings_bml_homepage/bml_homepage_size1">
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeHPS</source_model>
                        <depends>
                            <field id="bml_homepage_position">1</field>
                        </depends>
                    </field>
                </group>
                <group id="settings_bml_categorypage" translate="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Catalog Category Page</label>
                    <field id="bml_categorypage_display" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="10">
                        <label>Display</label>
                        <config_path>payment/paypal_express_bml/categorypage_display</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_categorypage_position" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="20">
                        <label>Position</label>
                        <config_path>payment/paypal_express_bml/categorypage_position</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlPosition::getBmlPositionsCCP</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_categorypage_size1" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="30">
                        <label>Size</label>
                        <config_path>payment/paypal_express_bml/categorypage_size</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeCCPC</source_model>
                        <attribute type="shared">1</attribute>
                        <depends><field id="bml_categorypage_position">0</field></depends>
                    </field>
                    <field id="bml_categorypage_size2" extends="payment_all_paypal/express_checkout/express_checkout_required/advertise_bml/settings_bml_categorypage/bml_categorypage_size1">
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeCCPS</source_model>
                        <depends><field id="bml_categorypage_position">1</field></depends>
                    </field>
                </group>
                <group id="settings_bml_productpage" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="40">
                    <label>Catalog Product Page</label>
                    <field id="bml_productpage_display" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="10">
                        <label>Display</label>
                        <config_path>payment/paypal_express_bml/productpage_display</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_productpage_position" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="20">
                        <label>Position</label>
                        <config_path>payment/paypal_express_bml/productpage_position</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlPosition::getBmlPositionsCPP</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_productpage_size1" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="30">
                        <label>Size</label>
                        <config_path>payment/paypal_express_bml/productpage_size</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeCPPC</source_model>
                        <attribute type="shared">1</attribute>
                        <depends><field id="bml_productpage_position">0</field></depends>
                    </field>
                    <field id="bml_productpage_size2" extends="payment_all_paypal/express_checkout/express_checkout_required/advertise_bml/settings_bml_productpage/bml_productpage_size1">
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeCPPN</source_model>
                        <depends><field id="bml_productpage_position">1</field></depends>
                    </field>
                </group>
                <group id="settings_bml_checkout" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="50">
                    <label>Checkout Cart Page</label>
                    <field id="bml_checkout_display" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="10">
                        <label>Display</label>
                        <config_path>payment/paypal_express_bml/checkout_display</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_checkout_position" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="20">
                        <label>Position</label>
                        <config_path>payment/paypal_express_bml/checkout_position</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlPosition::getBmlPositionsCheckout</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="bml_checkout_size1" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="30">
                        <label>Size</label>
                        <config_path>payment/paypal_express_bml/checkout_size</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeCheckoutC</source_model>
                        <attribute type="shared">1</attribute>
                        <depends><field id="bml_checkout_position">0</field></depends>
                    </field>
                    <field id="bml_checkout_size2" extends="payment_all_paypal/express_checkout/express_checkout_required/advertise_bml/settings_bml_checkout/bml_checkout_size1">
                        <source_model>Magento\Paypal\Model\System\Config\Source\BmlSize::getBmlSizeCheckoutN</source_model>
                        <attribute type="shared">1</attribute>
                        <depends><field id="bml_checkout_position">1</field></depends>
                    </field>
                </group>
            </group>
        </group>
        <group id="settings_ec" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
            <label>Basic Settings - PayPal Express Checkout</label>
            <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Fieldset\Expanded</frontend_model>
            <field id="title" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Title</label>
                <comment>It is recommended to set this value to "PayPal" per store views.</comment>
                <config_path>payment/paypal_express/title</config_path>
                <attribute type="shared">1</attribute>
            </field>
            <field id="sort_order" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Sort Order</label>
                <config_path>payment/paypal_express/sort_order</config_path>
                <frontend_class>validate-number</frontend_class>
                <attribute type="shared">1</attribute>
            </field>
            <field id="payment_action" translate="label" type="select" sortOrder="30" showInDefault="1" showInWebsite="1">
                <label>Payment Action</label>
                <config_path>payment/paypal_express/payment_action</config_path>
                <source_model>Magento\Paypal\Model\System\Config\Source\PaymentActions\Express</source_model>
                <attribute type="shared">1</attribute>
            </field>
            <field id="visible_on_product" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Display on Product Details Page</label>
                <config_path>payment/paypal_express/visible_on_product</config_path>
                <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                <attribute type="shared">1</attribute>
            </field>
            <field id="authorization_honor_period" translate="label comment" type="text" sortOrder="50" showInDefault="1" showInWebsite="1">
                <label>Authorization Honor Period (days)</label>
                <comment>Specifies what the Authorization Honor Period is on the merchant&#8217;s PayPal account. It must mirror the setting in PayPal.</comment>
                <config_path>payment/paypal_express/authorization_honor_period</config_path>
                <attribute type="shared">1</attribute>
                <depends>
                    <field id="payment_action">Order</field>
                </depends>
            </field>
            <field id="order_valid_period" translate="label comment" type="text" sortOrder="60" showInDefault="1" showInWebsite="1">
                <label>Order Valid Period (days)</label>
                <comment>Specifies what the Order Valid Period is on the merchant&#x2019;s PayPal account. It must mirror the setting in PayPal.</comment>
                <config_path>payment/paypal_express/order_valid_period</config_path>
                <attribute type="shared">1</attribute>
                <depends>
                    <field id="payment_action">Order</field>
                </depends>
            </field>
            <field id="child_authorization_number" translate="label comment" type="text" sortOrder="70" showInDefault="1" showInWebsite="1">
                <label>Number of Child Authorizations</label>
                <comment>The default number of child authorizations in your PayPal account is 1. To do multiple authorizations please contact PayPal to request an increase.</comment>
                <config_path>payment/paypal_express/child_authorization_number</config_path>
                <attribute type="shared">1</attribute>
                <depends>
                    <field id="payment_action">Order</field>
                </depends>
            </field>
            <group id="settings_ec_advanced" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="80">
                <label>Advanced Settings</label>
                <fieldset_css>config-advanced</fieldset_css>
                <field id="visible_on_cart" translate="label comment" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Display on Shopping Cart</label>
                    <config_path>payment/paypal_express/visible_on_cart</config_path>
                    <comment>Also affects mini-shopping cart.</comment>
                    <source_model>Magento\Paypal\Model\System\Config\Source\Yesnoshortcut</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="allowspecific" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1">
                    <label>Payment Applicable From</label>
                    <config_path>payment/paypal_express/allowspecific</config_path>
                    <source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="specificcountry" translate="label" type="multiselect" sortOrder="20" showInDefault="1" showInWebsite="1">
                    <label>Countries Payment Applicable From</label>
                    <config_path>payment/paypal_express/specificcountry</config_path>
                    <source_model>Magento\Paypal\Model\System\Config\Source\BuyerCountry</source_model>
                    <attribute type="shared">1</attribute>
                    <depends>
                        <field id="allowspecific">1</field>
                    </depends>
                </field>
                <field id="debug" translate="label" type="select" sortOrder="30" showInDefault="1" showInWebsite="1">
                    <label>Debug Mode</label>
                    <config_path>payment/paypal_express/debug</config_path>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="verify_peer" translate="label" type="select" sortOrder="35" showInDefault="1" showInWebsite="1">
                    <label>Enable SSL verification</label>
                    <config_path>payment/paypal_express/verify_peer</config_path>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="line_items_enabled" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1">
                    <label>Transfer Cart Line Items</label>
                    <config_path>payment/paypal_express/line_items_enabled</config_path>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="transfer_shipping_options" translate="label tooltip comment" type="select" sortOrder="50" showInDefault="1" showInWebsite="1">
                    <label>Transfer Shipping Options</label>
                    <config_path>payment/paypal_express/transfer_shipping_options</config_path>
                    <tooltip>If this option is enabled, customer can change shipping address and shipping method on PayPal website. In live mode works via HTTPS protocol only.</tooltip>
                    <comment>Notice that PayPal can handle up to 10 shipping options. That is why Magento will transfer only first 10 cheapest shipping options if there are more than 10 available.</comment>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                    <depends>
                        <field id="line_items_enabled">1</field>
                    </depends>
                </field>
                <field id="button_flavor" translate="label" type="select" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Shortcut Buttons Flavor</label>
                    <config_path>paypal/wpp/button_flavor</config_path>
                    <source_model>Magento\Paypal\Model\Config::getExpressCheckoutButtonFlavors</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="solution_type" translate="label comment" type="select" sortOrder="70" showInDefault="1" showInWebsite="1">
                    <label>Enable PayPal Guest Checkout</label>
                    <comment>Ability for buyer to purchase without PayPal account.</comment>
                    <config_path>payment/paypal_express/solution_type</config_path>
                    <source_model>Magento\Paypal\Model\Config::getExpressCheckoutSolutionTypes</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="require_billing_address" translate="label comment" type="select" sortOrder="80" showInDefault="1" showInWebsite="1">
                    <label>Require Customer's Billing Address</label>
                    <comment>This feature needs be enabled first for the merchant account through PayPal technical support.</comment>
                    <config_path>payment/paypal_express/require_billing_address</config_path>
                    <source_model>Magento\Paypal\Model\System\Config\Source\RequireBillingAddress</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="allow_ba_signup" translate="label comment tooltip" type="select" sortOrder="90" showInDefault="1" showInWebsite="1">
                    <label>Billing Agreement Signup</label>
                    <comment>Whether to create a billing agreement, if there are no active billing agreements available.</comment>
                    <tooltip>
                        <![CDATA[Merchants need to apply to PayPal for enabling billing agreements feature. Do not enable this option until PayPal confirms that billing agreements are enabled for your merchant account.]]>
                    </tooltip>
                    <config_path>payment/paypal_express/allow_ba_signup</config_path>
                    <source_model>Magento\Paypal\Model\Config::getExpressCheckoutBASignupOptions</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <field id="skip_order_review_step" translate="label" type="select" sortOrder="95" showInDefault="1" showInWebsite="1">
                    <label>Skip Order Review Step</label>
                    <config_path>payment/paypal_express/skip_order_review_step</config_path>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <attribute type="shared">1</attribute>
                </field>
                <group id="express_checkout_billing_agreement" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="100">
                    <label>PayPal Billing Agreement Settings</label>
                    <field id="active" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1">
                        <label>Enabled</label>
                        <comment>
                            <![CDATA[Will appear as a payment option only for customers who have at least one active billing agreement.]]>
                        </comment>
                        <config_path>payment/paypal_billing_agreement/active</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Title</label>
                        <config_path>payment/paypal_billing_agreement/title</config_path>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="sort_order" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Sort Order</label>
                        <config_path>payment/paypal_billing_agreement/sort_order</config_path>
                        <frontend_class>validate-number</frontend_class>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="payment_action" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1">
                        <label>Payment Action</label>
                        <config_path>payment/paypal_billing_agreement/payment_action</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\PaymentActions</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="allowspecific" translate="label" type="select" sortOrder="50" showInDefault="1" showInWebsite="1">
                        <label>Payment Applicable From</label>
                        <config_path>payment/paypal_billing_agreement/allowspecific</config_path>
                        <source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="specificcountry" translate="label" type="multiselect" sortOrder="60" showInDefault="1" showInWebsite="1">
                        <label>Countries Payment Applicable From</label>
                        <config_path>payment/paypal_billing_agreement/specificcountry</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\BuyerCountry</source_model>
                        <attribute type="shared">1</attribute>
                        <depends>
                            <field id="allowspecific">1</field>
                        </depends>
                    </field>
                    <field id="debug" translate="label" type="select" sortOrder="70" showInDefault="1" showInWebsite="1">
                        <label>Debug Mode</label>
                        <config_path>payment/paypal_billing_agreement/debug</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="verify_peer" translate="label" type="select" sortOrder="75" showInDefault="1" showInWebsite="1">
                        <label>Enable SSL verification</label>
                        <config_path>payment/paypal_billing_agreement/verify_peer</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="line_items_enabled" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1">
                        <label>Transfer Cart Line Items</label>
                        <config_path>payment/paypal_billing_agreement/line_items_enabled</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="allow_billing_agreement_wizard" translate="label" type="select" sortOrder="90" showInDefault="1" showInWebsite="1">
                        <label>Allow in Billing Agreement Wizard</label>
                        <config_path>payment/paypal_billing_agreement/allow_billing_agreement_wizard</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                </group>
                <group id="express_checkout_settlement_report" translate="label" showInDefault="1" showInWebsite="1" sortOrder="110">
                    <label>Settlement Report Settings</label>
                    <field id="heading_sftp" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1">
                        <label>SFTP Credentials</label>
                        <frontend_model>Magento\Config\Block\System\Config\Form\Field\Heading</frontend_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_ftp_login" translate="label" type="obscure" sortOrder="20" showInDefault="1" showInWebsite="1">
                        <label>Login</label>
                        <config_path>paypal/fetch_reports/ftp_login</config_path>
                        <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_ftp_password" translate="label" type="obscure" sortOrder="30" showInDefault="1" showInWebsite="1">
                        <label>Password</label>
                        <config_path>paypal/fetch_reports/ftp_password</config_path>
                        <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_ftp_sandbox" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1">
                        <label>Sandbox Mode</label>
                        <config_path>paypal/fetch_reports/ftp_sandbox</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_ftp_ip" translate="label comment tooltip" type="text" sortOrder="50" showInDefault="1" showInWebsite="1">
                        <label>Custom Endpoint Hostname or IP-Address</label>
                        <comment>By default it is "reports.paypal.com".</comment>
                        <tooltip>Use colon to specify port. For example: "test.example.com:5224".</tooltip>
                        <config_path>paypal/fetch_reports/ftp_ip</config_path>
                        <attribute type="shared">1</attribute>
                        <depends>
                            <field id="settlement_reports_ftp_sandbox">0</field>
                        </depends>
                    </field>
                    <field id="settlement_reports_ftp_path" translate="label comeent" type="text" sortOrder="60" showInDefault="1" showInWebsite="1">
                        <label>Custom Path</label>
                        <comment>By default it is "/ppreports/outgoing".</comment>
                        <config_path>paypal/fetch_reports/ftp_path</config_path>
                        <attribute type="shared">1</attribute>
                        <depends>
                            <field id="settlement_reports_ftp_sandbox">0</field>
                        </depends>
                    </field>
                    <field id="heading_schedule" translate="label" sortOrder="70" showInDefault="1" showInWebsite="1">
                        <label>Scheduled Fetching</label>
                        <frontend_model>Magento\Config\Block\System\Config\Form\Field\Heading</frontend_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_active" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1">
                        <label>Enable Automatic Fetching</label>
                        <config_path>paypal/fetch_reports/active</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_schedule" translate="label comment" type="select" sortOrder="90" showInDefault="1">
                        <label>Schedule</label>
                        <comment>PayPal retains reports for 45 days.</comment>
                        <config_path>paypal/fetch_reports/schedule</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\FetchingSchedule</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="settlement_reports_time" translate="label" type="time" sortOrder="100" showInDefault="1">
                        <label>Time of Day</label>
                        <config_path>paypal/fetch_reports/time</config_path>
                        <attribute type="shared">1</attribute>
                    </field>
                </group>
                <group id="express_checkout_frontend" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="120">
                    <label>Frontend Experience Settings</label>
                    <field id="logo" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>PayPal Product Logo</label>
                        <comment>Displays on catalog pages and homepage.</comment>
                        <config_path>paypal/style/logo</config_path>
                        <source_model>Magento\Paypal\Model\System\Config\Source\Logo</source_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="paypal_pages" translate="label" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>PayPal Merchant Pages Style</label>
                        <frontend_model>Magento\Config\Block\System\Config\Form\Field\Heading</frontend_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="page_style" translate="label tooltip" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Page Style</label>
                        <config_path>paypal/style/page_style</config_path>
                        <tooltip>
                            <![CDATA[Allowable values: "paypal", "primary" (default), your_custom_value (a custom payment page style from your merchant account profile).]]>
                        </tooltip>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="paypal_hdrimg" translate="label tooltip" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Header Image URL</label>
                        <config_path>paypal/style/paypal_hdrimg</config_path>
                        <tooltip>
                            <![CDATA[The image at the top left of the checkout page. Max size is 750x90-pixel. <strong style="color:red">https</strong> is highly encouraged.]]>
                        </tooltip>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="paypal_hdrbackcolor" translate="label tooltip" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Header Background Color</label>
                        <config_path>paypal/style/paypal_hdrbackcolor</config_path>
                        <tooltip>
                            <![CDATA[The background color for the header of the checkout page. Case-insensitive six-character HTML hexadecimal color code in ASCII.]]>
                        </tooltip>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="paypal_hdrbordercolor" translate="label tooltip" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Header Border Color</label>
                        <config_path>paypal/style/paypal_hdrbordercolor</config_path>
                        <tooltip>2-pixel perimeter around the header space.</tooltip>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="paypal_payflowcolor" translate="label tooltip" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Page Background Color</label>
                        <config_path>paypal/style/paypal_payflowcolor</config_path>
                        <tooltip>
                            <![CDATA[The background color for the checkout page around the header and payment form.]]>
                        </tooltip>
                        <attribute type="shared">1</attribute>
                    </field>
                    <field id="checkout_display" translate="label" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="1">
                        <label>Customize Smart Buttons</label>
                        <frontend_model>Magento\Config\Block\System\Config\Form\Field\Heading</frontend_model>
                        <attribute type="shared">1</attribute>
                    </field>
                    <group id="checkout_page_button" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="90">
                        <label>Checkout Page</label>
                        <field id="checkout_page_button_customize" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="10">
                            <label>Customize Button</label>
                            <config_path>paypal/style/checkout_page_button_customize</config_path>
                            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_label" translate="label comment" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
                            <label>Label</label>
                            <comment><![CDATA[The installment feature is available only in these locales: en_MX, es_MX, en_BR, pt_BR.]]></comment>
                            <config_path>paypal/style/checkout_page_button_label</config_path>
                            <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Field\Depends\ButtonStylesLabel</frontend_model>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getLabel</source_model>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_mx_installment_period" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
                            <label>Mexico Installment Period</label>
                            <config_path>paypal/style/checkout_page_button_mx_installment_period</config_path>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getMxInstallmentPeriod</source_model>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                                <field id="checkout_page_button_label">installment</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_br_installment_period" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
                            <label>Brazil Installment Period</label>
                            <config_path>paypal/style/checkout_page_button_br_installment_period</config_path>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getBrInstallmentPeriod</source_model>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                                <field id="checkout_page_button_label">installment</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_layout" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="30">
                            <label>Layout</label>
                            <config_path>paypal/style/checkout_page_button_layout</config_path>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getLayout</source_model>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                                <field id="checkout_page_button_label" negative="1">credit</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_size" translate="label tooltip" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="40">
                            <label>Size</label>
                            <config_path>paypal/style/checkout_page_button_size</config_path>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getSize</source_model>
                            <tooltip>Select Responsive to ensure the PayPal button renders correctly on mobile devices.</tooltip>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_shape" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="50">
                            <label>Shape</label>
                            <config_path>paypal/style/checkout_page_button_shape</config_path>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getShape</source_model>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                        <field id="checkout_page_button_color" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="60">
                            <label>Color</label>
                            <config_path>paypal/style/checkout_page_button_color</config_path>
                            <source_model>Magento\Paypal\Model\System\Config\Source\ButtonStyles::getColor</source_model>
                            <depends>
                                <field id="checkout_page_button_customize">1</field>
                                <field id="checkout_page_button_label" negative="1">credit</field>
                            </depends>
                            <attribute type="shared">1</attribute>
                        </field>
                    </group>
                    <group id="product_page_button" translate="label comment" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="100">
                        <label>Product Pages</label>
                        <field id="product_page_button_customize" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_customize">
                            <config_path>paypal/style/product_page_button_customize</config_path>
                        </field>
                        <field id="product_page_button_label" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_label">
                            <config_path>paypal/style/product_page_button_label</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="product_page_button_mx_installment_period" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_mx_installment_period">
                            <config_path>paypal/style/product_page_button_mx_installment_period</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                                <field id="product_page_button_label">installment</field>
                            </depends>
                        </field>
                        <field id="product_page_button_br_installment_period" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_br_installment_period">
                            <config_path>paypal/style/product_page_button_br_installment_period</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                                <field id="product_page_button_label">installment</field>
                            </depends>
                        </field>
                        <field id="product_page_button_layout" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_layout">
                            <config_path>paypal/style/product_page_button_layout</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                                <field id="product_page_button_label" negative="1">credit</field>
                            </depends>
                        </field>
                        <field id="product_page_button_size"  extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_size">
                            <config_path>paypal/style/product_page_button_size</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="product_page_button_shape" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_shape">
                            <config_path>paypal/style/product_page_button_shape</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="product_page_button_color" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_color">
                            <config_path>paypal/style/product_page_button_color</config_path>
                            <depends>
                                <field id="product_page_button_customize">1</field>
                                <field id="product_page_button_label" negative="1">credit</field>
                            </depends>
                        </field>
                    </group>
                    <group id="cart_page_button" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="110">
                        <label>Cart Page</label>
                        <field id="cart_page_button_customize" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_customize">
                            <config_path>paypal/style/cart_page_button_customize</config_path>
                        </field>
                        <field id="cart_page_button_label" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_label">
                            <config_path>paypal/style/cart_page_button_label</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="cart_page_button_mx_installment_period" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_mx_installment_period">
                            <config_path>paypal/style/cart_page_button_mx_installment_period</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                                <field id="cart_page_button_label">installment</field>
                            </depends>
                        </field>
                        <field id="cart_page_button_br_installment_period" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_br_installment_period">
                            <config_path>paypal/style/cart_page_button_br_installment_period</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                                <field id="cart_page_button_label">installment</field>
                            </depends>
                        </field>
                        <field id="cart_page_button_layout" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_layout">
                            <config_path>paypal/style/cart_page_button_layout</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                                <field id="cart_page_button_label" negative="1">credit</field>
                            </depends>
                        </field>
                        <field id="cart_page_button_size"  extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_size">
                            <config_path>paypal/style/cart_page_button_size</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="cart_page_button_shape" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_shape">
                            <config_path>paypal/style/cart_page_button_shape</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="cart_page_button_color" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_color">
                            <config_path>paypal/style/cart_page_button_color</config_path>
                            <depends>
                                <field id="cart_page_button_customize">1</field>
                                <field id="cart_page_button_label" negative="1">credit</field>
                            </depends>
                        </field>
                    </group>
                    <group id="mini_cart_page_button" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="120">
                        <label>Mini Cart</label>
                        <field id="mini_cart_page_button_customize" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_customize">
                            <config_path>paypal/style/mini_cart_page_button_customize</config_path>
                        </field>
                        <field id="mini_cart_page_button_label" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_label">
                            <config_path>paypal/style/mini_cart_page_button_label</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="mini_cart_page_button_mx_installment_period" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_mx_installment_period">
                            <config_path>paypal/style/mini_cart_page_button_mx_installment_period</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                                <field id="mini_cart_page_button_label">installment</field>
                            </depends>
                        </field>
                        <field id="mini_cart_page_button_br_installment_period" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_br_installment_period">
                            <config_path>paypal/style/mini_cart_page_button_br_installment_period</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                                <field id="mini_cart_page_button_label">installment</field>
                            </depends>
                        </field>
                        <field id="mini_cart_page_button_layout" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_layout">
                            <config_path>paypal/style/mini_cart_page_button_layout</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                                <field id="mini_cart_page_button_label" negative="1">credit</field>
                            </depends>
                        </field>
                        <field id="mini_cart_page_button_size"  extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_size">
                            <config_path>paypal/style/mini_cart_page_button_size</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="mini_cart_page_button_shape" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_shape">
                            <config_path>paypal/style/mini_cart_page_button_shape</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                            </depends>
                        </field>
                        <field id="mini_cart_page_button_color" extends="payment_all_paypal/express_checkout/settings_ec/settings_ec_advanced/express_checkout_frontend/checkout_page_button/checkout_page_button_color">
                            <config_path>paypal/style/mini_cart_page_button_color</config_path>
                            <depends>
                                <field id="mini_cart_page_button_customize">1</field>
                                <field id="mini_cart_page_button_label" negative="1">credit</field>
                            </depends>
                        </field>
                    </group>
                    <group id="features" translate="label comment" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="130">
                        <label>Features</label>
                        <field id="disable_funding_options" translate="label comment" type="multiselect" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                            <label>Disable Funding Options</label>
                            <comment>
                                <![CDATA[PayPal will automatically display each enabled funding option to eligible buyers.
                                For example, PayPal Credit is only shown to buyers in countries where PayPal Credit is
                                offered and the currency offered by the merchant is USD.]]>
                            </comment>
                            <config_path>paypal/style/disable_funding_options</config_path>
                            <frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\MultiSelect\DisabledFundingOptions</frontend_model>
                            <source_model>Magento\Paypal\Model\System\Config\Source\DisableFundingOptions</source_model>
                            <attribute type="shared">1</attribute>
                            <can_be_empty>1</can_be_empty>
                        </field>
                    </group>
                </group>
            </group>
        </group>
    </group>
</include>