function commerce_paypal_ec_bml_button_url in Commerce PayPal 7.2
Returns the URL to a PayPal Credit button.
@todo Allow for localization by changing en_US to a supported locale code.
1 call to commerce_paypal_ec_bml_button_url()
- commerce_paypal_bml_order_form in modules/
ec/ commerce_paypal_ec.module - Displays a PayPal Credit button as a form that redirects to PayPal.
File
- modules/
ec/ commerce_paypal_ec.module, line 1604 - Implements PayPal Express Checkout in Drupal Commerce checkout.
Code
function commerce_paypal_ec_bml_button_url() {
return 'https://www.paypalobjects.com/webstatic/en_US/btn/btn_bml_SM.png';
}