You are here

function pay_method::available_currencies in Pay 6

Same name and namespace in other branches
  1. 7 includes/handlers/pay_method.inc \pay_method::available_currencies()

Your payment method should return an array of valid currencies, using 3-digit currency codes. Example:

return array('USD', 'EUR');

File

includes/handlers/pay_method.inc, line 32
The base class for payment activities. All payment method classes should extend this class.

Class

pay_method
@file The base class for payment activities. All payment method classes should extend this class.

Code

function available_currencies() {
  return array();
}