function _uc_paypal_pending_message in Ubercart 6.2
Same name and namespace in other branches
- 5 payment/uc_paypal/uc_paypal.module \_uc_paypal_pending_message()
- 7.3 payment/uc_paypal/uc_paypal.module \_uc_paypal_pending_message()
Return a message for the pending reason of a PayPal payment.
1 call to _uc_paypal_pending_message()
- uc_paypal_ipn in payment/
uc_paypal/ uc_paypal.pages.inc - Process Instant Payment Notifiations from PayPal.
File
- payment/
uc_paypal/ uc_paypal.module, line 1246 - Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!
Code
function _uc_paypal_pending_message($reason) {
switch ($reason) {
case 'address':
return t('Customer did not include a confirmed shipping address per your address settings.');
case 'authorization':
return t('Waiting on you to capture the funds per your authorization settings.');
case 'echeck':
return t('eCheck has not yet cleared.');
case 'intl':
return t('You must manually accept or deny this international payment from your Account Overview.');
case 'multi-currency':
case 'multi_currency':
return t('You must manually accept or deny a payment of this currency from your Account Overview.');
case 'unilateral':
return t('Your e-mail address is not yet registered or confirmed.');
case 'upgrade':
return t('You must upgrade your account to Business or Premier status to receive credit card payments.');
case 'verify':
return t('You must verify your account before you can accept this payment.');
case 'other':
default:
return t('Reason "@reason" unknown; contact PayPal Customer Service for more information.', array(
'@reason' => $reason,
));
}
}