function _uc_paypal_reversal_message in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_paypal/uc_paypal.module \_uc_paypal_reversal_message()
- 7.3 payment/uc_paypal/uc_paypal.module \_uc_paypal_reversal_message()
1 call to _uc_paypal_reversal_message()
- uc_paypal_ipn in payment/
uc_paypal/ uc_paypal.module
File
- payment/
uc_paypal/ uc_paypal.module, line 1534 - Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!
Code
function _uc_paypal_reversal_message($reason) {
switch ($reason) {
case 'chargeback':
return t('The customer has initiated a chargeback.');
case 'guarantee':
return t('The customer triggered a money-back guarantee.');
case 'buyer-complaint':
return t('The customer filed a complaint about the transaction.');
case 'refund':
return t('You gave the customer a refund.');
case 'other':
default:
return t('Reason unknown; contact PayPal Customer Service for more information.');
}
}