You are here

function commerce_paypal_ec_mark_url in Commerce PayPal 7.2

Returns the URL to a remote PayPal mark.

@todo Determine if we shouldn't actually be using a remote URL like https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg. The logo there isn't actually 37x23 pixels and doesn't look like any other PayPal logo.

See also

https://www.paypal.com/webapps/mpp/logo-center

1 call to commerce_paypal_ec_mark_url()
theme_paypal_ec_mark_image in modules/ec/commerce_paypal_ec.module
Returns a themed PayPal mark image.

File

modules/ec/commerce_paypal_ec.module, line 1618
Implements PayPal Express Checkout in Drupal Commerce checkout.

Code

function commerce_paypal_ec_mark_url() {
  return file_create_url(drupal_get_path('module', 'commerce_paypal_ec') . '/images/paypal-ec-logo.gif');
}