Skip to content
Snippets Groups Projects
Commit a01fee67 authored by Panagiotis Moutsopoulos's avatar Panagiotis Moutsopoulos
Browse files

Issue #2802267: Change the bank's name form Alphabank to Alpha Bank

parent eee63428
No related branches found
No related tags found
No related merge requests found
name = AlphaBank GR - Redirection
description = Handles Payments with redirection for Alphabank DeltaPay. Requires <a href="http://drupal.org/project/commerce_static_checkout_url">commerce_static_checkout_url</a>.
description = Handles Payments with redirection for Alpha Bank DeltaPay. Requires <a href="http://drupal.org/project/commerce_static_checkout_url">commerce_static_checkout_url</a>.
package = Commerce - Payment
dependencies[] = commerce
dependencies[] = commerce_payment
......
......@@ -2,7 +2,7 @@
/**
* @file
* Provides Redirection Payment method with Alphabank for Drupal Commerce.
* Provides Redirection Payment method with Alpha Bank for Drupal Commerce.
*/
// URLs.
......@@ -61,10 +61,10 @@ function commerce_alphabank_redirect_commerce_payment_method_info() {
$payment_methods['commerce_alphabank_redirect'] = array(
'base' => 'commerce_alphabank_redirect',
'title' => t('Credit card - on a secure environment provided by Alphabank Greece'),
'display' => t('Credit Card (Alphabank)'),
'short_title' => t('Alphabank'),
'description' => t('Integration with Alphabank using redirection.'),
'title' => t('Credit card - on a secure environment provided by Alpha Bank Greece'),
'display' => t('Credit Card (Alpha Bank)'),
'short_title' => t('Alpha Bank'),
'description' => t('Integration with Alpha Bank using redirection.'),
'active' => TRUE,
'offsite' => TRUE,
'offsite_autoredirect' => commerce_static_checkout_url_get_auto_redirect(),
......@@ -100,7 +100,7 @@ function commerce_alphabank_redirect_settings_form($settings = NULL) {
$form['mid'] = array(
'#type' => 'textfield',
'#title' => t('Mid'),
'#description' => t('Mid from Alphabank'),
'#description' => t('Mid from Alpha Bank'),
'#required' => TRUE,
'#default_value' => $settings['mid'],
);
......@@ -108,7 +108,7 @@ function commerce_alphabank_redirect_settings_form($settings = NULL) {
$form['shared_secret_key'] = array(
'#type' => 'textfield',
'#title' => t('Shared secret key'),
'#description' => t('Shared secret key from Alphabank'),
'#description' => t('Shared secret key from Alpha Bank'),
'#required' => TRUE,
'#default_value' => $settings['shared_secret_key'],
);
......@@ -211,7 +211,7 @@ function commerce_alphabank_redirect_redirect_form($form, &$form_state, $order,
// Return an error if the enabling action's settings haven't been configured.
if (empty($payment_method['settings']['mid'])) {
drupal_set_message(t('Alphabank Form Integration is not configured for use. Merchant has not been specified.'), 'error');
drupal_set_message(t('Alpha Bank Form Integration is not configured for use. Merchant has not been specified.'), 'error');
return array();
}
......@@ -222,7 +222,7 @@ function commerce_alphabank_redirect_redirect_form($form, &$form_state, $order,
$currencies = array_keys($supported_currencies);
if (!in_array($total['currency_code'], $currencies)) {
drupal_set_message(t('Current Site Currency is not supported by Alphabank proxy pay'), 'error');
drupal_set_message(t('Current Site Currency is not supported by Alpha Bank proxy pay'), 'error');
return array();
}
......@@ -233,7 +233,7 @@ function commerce_alphabank_redirect_redirect_form($form, &$form_state, $order,
}
/**
* Creates the Alphabank Form.
* Creates the Alpha Bank Form.
*/
function commerce_alphabank_redirect_order_form($form, &$form_state, $order, $total, $settings) {
......@@ -288,7 +288,7 @@ function commerce_alphabank_redirect_order_form($form, &$form_state, $order, $to
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Proceed to Alphabank'),
'#value' => t('Proceed to Alpha Bank'),
);
return $form;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment