Edit on GitHub

PayPal

<?php
$url = 'http://'. $_SERVER["HTTP_HOST"] . "/en/checkout/";
$config = [
    'ReturnURL' => $url . 'payment-status?mode=success&internal_id=' . base64_encode($paymentInformation->getInternalPaymentId())
    , 'CancelURL' => $url . 'payment?error=cancel'
    , 'OrderDescription' => 'My Order at pimcore.org'
    , 'cpp-header-image' => '111b25'
    , 'cpp-header-border-color' => '111b25'
    , 'cpp-payflow-color' => 'f5f5f5'
    , 'cpp-cart-border-color' => 'f5f5f5'
    , 'cpp-logo-image' => 'http://'. $_SERVER["HTTP_HOST"] . '/static/images/logo_paypal.png'
];