/** * Construct */ function __construct($gateway_prefs) { $types = mycred_get_types(); $default_exchange = array(); foreach ($types as $type => $label) { $default_exchange[$type] = 1; } parent::__construct(array('id' => 'skrill', 'label' => 'Skrill Payment', 'gateway_logo_url' => plugins_url('assets/images/skrill.png', myCRED_PURCHASE), 'defaults' => array('sandbox' => 0, 'currency' => '', 'account' => '', 'word' => '', 'account_title' => '', 'account_logo' => '', 'confirmation_note' => '', 'email_receipt' => 0, 'item_name' => 'Purchase of myCRED %plural%', 'exchange' => $default_exchange)), $gateway_prefs); }
/** * Construct */ function __construct($gateway_prefs) { $types = mycred_get_types(); $default_exchange = array(); foreach ($types as $type => $label) { $default_exchange[$type] = 1; } parent::__construct(array('id' => 'bitpay', 'label' => 'Bitpay', 'gateway_logo_url' => plugins_url('assets/images/bitpay.png', myCRED_PURCHASE), 'defaults' => array('api_key' => '', 'currency' => 'USD', 'exchange' => $default_exchange, 'item_name' => __('Purchase of myCRED %plural%', 'mycred'), 'speed' => 'high', 'notifications' => 1)), $gateway_prefs); }
/** * Construct */ function __construct($gateway_prefs) { $types = mycred_get_types(); $default_exchange = array(); foreach ($types as $type => $label) { $default_exchange[$type] = 1; } parent::__construct(array('id' => 'paypal-standard', 'label' => 'PayPal', 'gateway_logo_url' => plugins_url('assets/images/paypal.png', myCRED_PURCHASE), 'defaults' => array('sandbox' => 0, 'currency' => '', 'account' => '', 'item_name' => 'Purchase of myCRED %plural%', 'exchange' => $default_exchange)), $gateway_prefs); }
/** * Construct */ function __construct($gateway_prefs) { global $netbilling_errors; $types = mycred_get_types(); $default_exchange = array(); foreach ($types as $type => $label) { $default_exchange[$type] = 1; } parent::__construct(array('id' => 'netbilling', 'label' => 'NETbilling', 'gateway_logo_url' => plugins_url('assets/images/netbilling.png', myCRED_PURCHASE), 'defaults' => array('sandbox' => 0, 'account' => '', 'site_tag' => '', 'item_name' => 'Purchase of myCRED %plural%', 'exchange' => $default_exchange, 'cryptokey' => '', 'currency' => 'USD')), $gateway_prefs); }
/** * Construct */ function __construct($gateway_prefs) { parent::__construct(array('id' => 'zombaio', 'label' => 'Zombaio', 'gateway_logo_url' => plugins_url('assets/images/zombaio.png', myCRED_PURCHASE), 'defaults' => array('sandbox' => 0, 'site_id' => '', 'pricing_id' => '', 'gwpass' => '', 'logo_url' => '', 'lang' => 'ZOM', 'bypass_ipn' => 0)), $gateway_prefs); }