You are here

function commerce_paypal_ec_button_url in Commerce PayPal 7.2

Returns the URL to an Express Checkout button.

@todo Allow for localization by changing en_US to a supported locale code.

1 call to commerce_paypal_ec_button_url()
commerce_paypal_ec_order_form in modules/ec/commerce_paypal_ec.module
Displays an Express Checkout button as a form that redirects to PayPal.

File

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

Code

function commerce_paypal_ec_button_url() {
  return 'https://www.paypalobjects.com/en_US/i/btn/btn_xpressCheckout.gif';
}