function commerce_payflow_service_description in Commerce PayPal 7.2
Returns a service description and registration link for the specified method.
2 calls to commerce_payflow_service_description()
- commerce_payflow_link_settings_form in modules/
payflow/ commerce_payflow.module - Payment method callback: settings form.
- commerce_payflow_page_alter in modules/
payflow/ commerce_payflow.module - Implements hook_page_alter().
File
- modules/
payflow/ commerce_payflow.module, line 278 - Implements PayPal Payments Advanced (U.S. only) and Payflow Link Hosted Checkout pages and Transparent Redirect.
Code
function commerce_payflow_service_description($method_id) {
switch ($method_id) {
case 'payflow_link':
return t('Accept payment securely on your site via credit card, debit card, or PayPal using a merchant account of your choice. This payment method requires a PayPal Payflow account. <a href="!url">Sign up here</a> and edit this rule to start accepting payments.', array(
'!url' => 'https://www.paypal.com/webapps/mpp/referral/paypal-payflow-link?partner_id=VZ6B9QLQ8LZEE',
));
case 'paypal_ppa':
return t('Accept payment securely on your site via credit card, debit card, or PayPal using PayPal as your payment processor. This payment method requires a PayPal Payflow account. <a href="!url">Sign up here</a> and edit this rule to start accepting payments.', array(
'!url' => 'https://www.paypal.com/webapps/mpp/referral/paypal-payments-advanced?partner_id=VZ6B9QLQ8LZEE',
));
}
}