Plugin Directory

Changeset 3145670


Ignore:
Timestamp:
09/03/2024 04:18:35 AM (19 months ago)
Author:
oaron
Message:

Version 3.7

Location:
pay-via-barion-for-woocommerce/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • pay-via-barion-for-woocommerce/trunk/assets/checkout.js

    r3065659 r3145670  
    1 const settings = window.wc.wcSettings.getSetting( 'barion_data', {} );
    2 const label = window.wp.htmlEntities.decodeEntities( settings.title ) || window.wp.i18n.__( 'Barion', 'pay-via-barion-for-woocommerce' );
    3 const Content = () => {
    4     return React.createElement("div", { dangerouslySetInnerHTML: { __html: window.wp.htmlEntities.decodeEntities(settings.description || '') } });
     1const barionSettings = window.wc.wcSettings.getSetting( 'barion_data', {} );
     2const barionLabel = window.wp.htmlEntities.decodeEntities( barionSettings.title ) || window.wp.i18n.__( 'Barion', 'pay-via-barion-for-woocommerce' );
     3const barionContent = () => {
     4    return React.createElement("div", { dangerouslySetInnerHTML: { __html: window.wp.htmlEntities.decodeEntities(barionSettings.description || '') } });
    55};
    66
    77const createLabel = () => {
    88  return React.createElement('div', {},
    9     React.createElement('img', {
    10       src: settings.logo,
    11       alt: window.wp.htmlEntities.decodeEntities(settings.title || __('Barion', 'pay-via-barion-for-woocommerce')),
    12     }),
    13         React.createElement('span', {
     9           React.createElement('span', {
    1410      'aria-hidden': "true"
    15     }, window.wp.htmlEntities.decodeEntities(settings.title || __('Barion', 'pay-via-barion-for-woocommerce')))
    16   );
     11    }, window.wp.htmlEntities.decodeEntities(barionSettings.title || __('Barion', 'pay-via-barion-for-woocommerce')))
     12  ),
     13   React.createElement('img', {
     14      src: barionSettings.logo,
     15      alt: window.wp.htmlEntities.decodeEntities(barionSettings.title || __('Barion', 'pay-via-barion-for-woocommerce')),
     16    });
    1717};
    1818
     
    2020  name: 'barion',
    2121  label: createLabel(),
    22   content: Object(window.wp.element.createElement)(Content, null),
    23   edit: Object(window.wp.element.createElement)(Content, null),
     22  content: Object(window.wp.element.createElement)(barionContent, null),
     23  edit: Object(window.wp.element.createElement)(barionContent, null),
    2424  canMakePayment: () => true,
    25   placeOrderButtonLabel: window.wp.i18n.__('Proceed to Barion', 'pay-via-barion-for-woocommerce'),
    26   ariaLabel: window.wp.htmlEntities.decodeEntities(settings.title || __('Barion', 'pay-via-barion-for-woocommerce')),
     25  placeOrderButtonLabel: barionSettings.order_button_label,
     26  ariaLabel: window.wp.htmlEntities.decodeEntities(barionSettings.title || __('Barion', 'pay-via-barion-for-woocommerce')),
    2727  supports: {
    28     features: settings.supports,
     28    features: barionSettings.supports,
    2929  },
    3030};
  • pay-via-barion-for-woocommerce/trunk/class-wc-gateway-barion.php

    r3065339 r3145670  
    126126        return 'https://www.barion.com/en/';
    127127    }
     128
     129public function get_order_button_text() {
     130    return $this->order_button_text;
     131}
     132
     133public function get_rejected_status() {
     134    return $this->settings["rejected_status"];
     135}
     136public function get_expired_status() {
     137    return $this->settings["expired_status"];
     138}
    128139
    129140    function init_form_fields() {
  • pay-via-barion-for-woocommerce/trunk/includes/class-wc-gateway-barion-block-checkout.php

    r3065339 r3145670  
    4444            'title' => $this->gateway->title,
    4545            'description' => $this->gateway->description,
    46             'logo' => $this->gateway->plugin_url().'/assets/barion-strip.svg'
     46            'logo' => $this->gateway->plugin_url().'/assets/barion-strip.svg',
     47            'order_button_label' =>$this->gateway->get_order_button_text()
    4748        ];
    4849    }
  • pay-via-barion-for-woocommerce/trunk/includes/class-wc-gateway-barion-ipn-handler.php

    r3065339 r3145670  
    2222    public function check_barion_ipn() {
    2323        if(empty($_GET) || empty($_GET['paymentId']))
    24             return;
     24            exit;
    2525
    2626
     
    3030            WC_Gateway_Barion::log('GetPaymentState returned errors. Payment details: ' . json_encode($payment_details));
    3131
    32             return;
     32            exit;
    3333        }
     34$args = array(
     35    'numberposts' => 1,
     36    'meta_key'    => '_order_number',
     37    'meta_value'  => $payment_details->PaymentRequestId,
     38    'post_type'   => 'shop_order',
     39    'post_status' => 'any'
     40);
    3441
    35         $order = new WC_Order($payment_details->PaymentRequestId);
     42$orders = get_posts($args);
    3643
     44if ($orders) {
     45        $order_id = $orders[0]->ID;
     46
     47    // A WC_Order objektum létrehozása a rendelés azonosító alapján
     48    $order = wc_get_order($order_id);
     49   
     50} else {
     51   $order = new WC_Order($payment_details->PaymentRequestId);
     52}
     53
     54       
    3755        if(empty($order)) {
    3856            WC_Gateway_Barion::log('Invalid PaymentRequestId: ' . $_GET['paymentId'] . '. Payment details: ' . json_encode($payment_details));
    3957
    40             return;
     58            exit;
    4159        }
    4260
     
    4563        if(apply_filters('woocommerce_barion_custom_callback_handler', false, $order, $payment_details)) {
    4664            $order->add_order_note(__('Barion callback was handled by a custom handler.', 'pay-via-barion-for-woocommerce'));
    47             return;
     65            exit;
     66        }
     67$payment_method = $order->get_payment_method();
     68 if($payment_method !='barion') {
     69            $order->add_order_note(__('Barion callback ignored as the user has chosen another payment method.', 'pay-via-barion-for-woocommerce'));
     70            exit;
    4871        }
    4972
    5073        if($order->has_status(array('processing', 'completed'))) {
    5174            $order->add_order_note(__('Barion callback ignored as the payment was already completed.', 'pay-via-barion-for-woocommerce'));
    52             return;
     75            exit;
    5376        }
    5477
    5578        if($order->has_status(array('on-hold'))) {
    5679            $order->add_order_note(__('Barion callback ignored as the user has chosen another payment method.', 'pay-via-barion-for-woocommerce'));
    57             return;
     80            exit;
    5881        }
    5982
    6083        if($payment_details->Status == PaymentStatus::Succeeded) {
    6184            if($order->has_status('completed')) {
    62                 return;
     85                exit;
    6386            }
    6487
     
    6689            $this->gateway->payment_complete($order, $this->find_transaction_id($payment_details, $order));
    6790
    68             return;
     91            exit;
    6992        }
    7093
    7194        if($payment_details->Status == PaymentStatus::Canceled) {
     95                        if (empty($this->gateway->get_rejected_status()) ||$this->gateway->get_rejected_status() =='no') {
    7296            $order->update_status('cancelled', __('Payment canceled via Barion.', 'pay-via-barion-for-woocommerce'));
     97            } else {
     98                $order->update_status($this->gateway->get_rejected_status(), __('Payment changed via Barion.', 'pay-via-barion-for-woocommerce'));
     99            }
    73100
    74             return;
     101            exit;
    75102        }
    76103
    77104        if($payment_details->Status == PaymentStatus::Expired) {
     105            if (empty($this->gateway->get_expired_status()) ||$this->gateway->get_expired_status() =='no') {
    78106            $order->update_status('cancelled', __('Payment is expired (customer progressed to Barion, but then left the page without paying).', 'pay-via-barion-for-woocommerce'));
     107            } else {
     108                $order->update_status($this->gateway->get_expired_status(), __('Payment is expired (customer progressed to Barion, but then left the page without paying).', 'pay-via-barion-for-woocommerce'));
     109            }
     110           
    79111
    80             return;
     112            exit;
    81113        }
    82114
    83115        $order->update_status('failed', __('Payment failed via Barion.', 'pay-via-barion-for-woocommerce'));
    84116        WC_Gateway_Barion::log('Payment failed. Payment details: ' . json_encode($payment_details));
     117        exit;
    85118    }
    86119
  • pay-via-barion-for-woocommerce/trunk/includes/class-wc-gateway-barion-request.php

    r2812576 r3145670  
    199199        $shippingAddress->City = $order->get_shipping_city();
    200200        $shippingAddress->Zip = $order->get_shipping_postcode();
    201         $shippingAddress->Street = $order->get_shipping_address_1();
    202         $shippingAddress->Street2 = $order->get_shipping_address_2();
     201        $shippingAddress->Street = substr($order->get_shipping_address_1(), 0, 50);
     202        $shippingAddress->Street2 =substr($order->get_shipping_address_2(), 0, 50);
    203203        $shippingAddress->Street3 = "";
    204204        $shippingAddress->FullName = $order->get_formatted_shipping_full_name();
     
    227227        $billingAddress->City = $order->get_billing_city();
    228228        $billingAddress->Zip = $order->get_billing_postcode();
    229         $billingAddress->Street = $order->get_billing_address_1();
    230         $billingAddress->Street2 = $order->get_billing_address_2();
     229        $billingAddress->Street =substr($order->get_billing_address_1(), 0, 50);
     230        $billingAddress->Street2 = substr($order->get_billing_address_2(), 0, 50);
    231231        $billingAddress->Street3 = "";
    232232
  • pay-via-barion-for-woocommerce/trunk/includes/class-wc-gateway-barion-return-from-payment.php

    r3065339 r3145670  
    3131
    3232        if($order->has_status('cancelled')) {
    33             wp_redirect($order->get_cancel_order_url_raw());
     33            //wp_redirect($order->get_cancel_order_url_raw());
     34            wp_redirect($order->get_cancel_order_url());
    3435            exit;
    3536        }
     
    4546
    4647            if($payment_details->Status == PaymentStatus::Canceled) {
    47                 wp_redirect($order->get_cancel_order_url_raw());
     48                //wp_redirect($order->get_cancel_order_url_raw());
     49                wp_redirect($order->get_cancel_order_url());
    4850                exit;
    4951            }
  • pay-via-barion-for-woocommerce/trunk/includes/settings-barion.php

    r2149182 r3145670  
    6363        'class'           => 'wc-enhanced-select'
    6464    ),
    65     'environment' => array(
     65     'rejected_status' => array(
     66        'title'           => __('Order status after rejected payment', 'pay-via-barion-for-woocommerce'),
     67        'type'            => 'select',
     68        'options'         => array_merge(array("no" =>__("Default", "pay-via-barion-for-woocommerce")), wc_get_order_statuses()),
     69        'default'         => 'no',
     70        'description'     => __('Choose the status of the order after rejected Barion payment.', 'pay-via-barion-for-woocommerce'),
     71        'desc_tip'        => true,
     72        'class'           => 'wc-enhanced-select'
     73    ),
     74     'expired_status' => array(
     75        'title'           => __('Order status after expired payment', 'pay-via-barion-for-woocommerce'),
     76        'type'            => 'select',
     77        'options'         => array_merge(array("no" =>__("Default", "pay-via-barion-for-woocommerce")), wc_get_order_statuses()),
     78        'default'         => 'no',
     79        'description'     => __('Choose the status of the order after expired Barion payment.', 'pay-via-barion-for-woocommerce'),
     80        'desc_tip'        => true,
     81        'class'           => 'wc-enhanced-select'
     82    ),
     83   
     84       'environment' => array(
    6685        'title'           => __('Barion Environment', 'pay-via-barion-for-woocommerce'),
    6786        'type'            => 'select',
  • pay-via-barion-for-woocommerce/trunk/index.php

    r3065660 r3145670  
    44Plugin URI: http://github.com/szelpe/woocommerce-barion
    55Description: Adds the ability to WooCommerce to pay via Barion
    6 Version: 3.6.1
    7 Author: Aron Ocsvari <ufgyfelszolgalat@bitron.hu>
     6Version: 3.7
     7Author: Aron Ocsvari <ugyfelszolgalat@bitron.hu>
    88Author URI: https://bitron.hu
    99License: GNU General Public License v3.0
     
    1111
    1212WC requires at least: 3.0.0
    13 WC tested up to: 8.7.0
     13WC tested up to: 9.2.3
    1414
    1515Text Domain: pay-via-barion-for-woocommerce
     
    7474       
    7575        } );
     76        //Adds notification to dashboard
     77        add_action('admin_notices', array($this, 'custom_admin_ad_notice'));
     78        add_action('wp_ajax_custom_admin_ad_dismiss', array($this, 'custom_admin_ad_dismiss'));
    7679    }
     80    /**
     81    * Shows a notification about Full Barion pixel
     82    **/
     83    function custom_admin_ad_notice() {
     84        if (get_user_meta(get_current_user_id(), 'custom_admin_ad_dismissed', true)) {
     85            return; // Ha igen, nem jelenítjük meg az értesítést
     86        }
    7787
     88       ?>
     89    <div class="notice notice-info is-dismissible custom-admin-ad-notice">
     90        <p><?php _e('Reduce your Barion commission by using Full Pixel. Click here for more information: <a target ="_blank" href ="https://bitron.hu/barion-pixel-for-woocommerce">Full Barion Pixel for WooCommerce</a>', 'pay-via-barion-for-woocommerce'); ?></p>
     91    </div>
     92
     93    <script>
     94        jQuery(document).on('click', '.custom-admin-ad-notice .notice-dismiss', function() {
     95                                            jQuery.post(ajaxurl, {
     96                action: 'custom_admin_ad_dismiss'
     97            });
     98           
     99        });
     100    </script>
     101    <?php
     102}
     103
     104/**
     105* Saves the dismiss option
     106**/
     107function custom_admin_ad_dismiss() {
     108        update_user_meta(get_current_user_id(), 'custom_admin_ad_dismissed', true);
     109    wp_die();
     110}
    78111    /**
    79112     * Add the Gateway to WooCommerce
  • pay-via-barion-for-woocommerce/trunk/languages/pay-via-barion-for-woocommerce-hu_HU.po

    r3065339 r3145670  
    55"Project-Id-Version: Barion Payment Gateway for WooCommerce 0.5.0\n"
    66"Report-Msgid-Bugs-To: https://github.com/szelpe/woocommerce-barion/issues\n"
    7 "POT-Creation-Date: 2024-04-02 20:48:07+00:00\n"
    8 "PO-Revision-Date: 2024-04-02 23:01+0100\n"
     7"POT-Creation-Date: 2024-08-27 13:25:36+00:00\n"
     8"PO-Revision-Date: 2024-08-27 15:36+0100\n"
    99"Last-Translator: \n"
    1010"Language-Team: EMAIL@ADDRESS\n"
     
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1717
    18 #: class-wc-gateway-barion.php:43 includes/settings-barion.php:20
     18#: class-wc-gateway-barion.php:47 includes/settings-barion.php:20
    1919msgid "Barion"
    2020msgstr "Barion"
    2121
    22 #: class-wc-gateway-barion.php:44
     22#: class-wc-gateway-barion.php:48
    2323msgid ""
    2424"Barion payment gateway sends customers to Barion to enter their payment "
     
    3131"információkért tekintsd meg a %srendszerállapot%s oldalt."
    3232
    33 #: class-wc-gateway-barion.php:46
     33#: class-wc-gateway-barion.php:50
    3434msgid "Proceed to Barion"
    3535msgstr "Fizetés Barionnal"
    3636
    37 #: class-wc-gateway-barion.php:62
     37#: class-wc-gateway-barion.php:66
    3838msgid " [TEST MODE]"
    3939msgstr " [TESZT MÓD]"
    4040
    41 #: class-wc-gateway-barion.php:63
     41#: class-wc-gateway-barion.php:67
    4242msgid ""
    4343"<br/><br/>Test mode is <strong>active</strong>.  Test credit card details: %s"
    4444msgstr "<br/><br/>A teszt mód <strong>aktív</strong>.  Teszt kártyaadatok: %s"
    4545
    46 #: class-wc-gateway-barion.php:113
     46#: class-wc-gateway-barion.php:117
    4747msgid "Barion acceptance mark"
    4848msgstr "Barion védjegy"
    4949
    50 #: class-wc-gateway-barion.php:136
     50#: class-wc-gateway-barion.php:151
    5151msgid "Gateway Disabled"
    5252msgstr ""
    5353
    54 #: class-wc-gateway-barion.php:137
     54#: class-wc-gateway-barion.php:152
    5555msgid "Barion does not support your store currency. Supported currencies: %s"
    5656msgstr "A Barion nem támogatja az üzleted pénznemét. Támogatott pénznemek: %s"
    5757
    58 #: class-wc-gateway-barion.php:222
     58#: class-wc-gateway-barion.php:237
    5959msgid "User redirected to the Barion payment page."
    6060msgstr "A felhasználó át lesz irányítva a Barion fizetési oldalára."
    6161
    62 #: class-wc-gateway-barion.php:242
     62#: class-wc-gateway-barion.php:257
    6363msgid "Refund Failed: No transaction ID"
    6464msgstr "Visszatérítés sikertelen. Nincs transaction ID"
    6565
    66 #: class-wc-gateway-barion.php:250
     66#: class-wc-gateway-barion.php:265
    6767msgid "Refunded %s - Refund ID: %s"
    6868msgstr "%s visszatérítve - Refund ID: %s"
    6969
    70 #: class-wc-gateway-barion.php:255
     70#: class-wc-gateway-barion.php:270
    7171msgid "Barion refund failed."
    7272msgstr "Barion visszatérítés sikertelen."
    7373
    74 #: class-wc-gateway-barion.php:303
     74#: class-wc-gateway-barion.php:318
    7575msgid "Order status updated based on the settings."
    7676msgstr "A rendelés állapota a beállításoknak megfelelően frissítve lett."
    7777
    78 #: includes/class-wc-gateway-barion-ipn-handler.php:35
     78#: includes/class-wc-gateway-barion-ipn-handler.php:61
    7979msgid "Barion callback received."
    8080msgstr "Barion visszahívás."
    8181
    82 #: includes/class-wc-gateway-barion-ipn-handler.php:38
    83 #, fuzzy
     82#: includes/class-wc-gateway-barion-ipn-handler.php:64
    8483msgid "Barion callback was handled by a custom handler."
     84msgstr "A Barion visszahívását egy egyedi hívás kezelte."
     85
     86#: includes/class-wc-gateway-barion-ipn-handler.php:69
     87msgid "Barion callback ignored as the payment was already completed."
    8588msgstr ""
    8689"A Barion visszahívás figyelmen kívül lett hagyva, mivel a fizetés már "
    8790"befejeződött."
    8891
    89 #: includes/class-wc-gateway-barion-ipn-handler.php:43
    90 msgid "Barion callback ignored as the payment was already completed."
    91 msgstr ""
    92 "A Barion visszahívás figyelmen kívül lett hagyva, mivel a fizetés már "
    93 "befejeződött."
    94 
    95 #: includes/class-wc-gateway-barion-ipn-handler.php:48
     92#: includes/class-wc-gateway-barion-ipn-handler.php:74
    9693msgid "Barion callback ignored as the user has chosen another payment method."
    9794msgstr ""
     
    9996"közben meg lett változtatva."
    10097
    101 #: includes/class-wc-gateway-barion-ipn-handler.php:57
     98#: includes/class-wc-gateway-barion-ipn-handler.php:83
    10299msgid "Payment succeeded via Barion."
    103100msgstr "Sikeres fizetés a Barionon keresztül."
    104101
    105 #: includes/class-wc-gateway-barion-ipn-handler.php:64
     102#: includes/class-wc-gateway-barion-ipn-handler.php:91
    106103msgid "Payment canceled via Barion."
    107104msgstr "Visszamondott vásárlás a Barion oldalán."
    108105
    109 #: includes/class-wc-gateway-barion-ipn-handler.php:70
     106#: includes/class-wc-gateway-barion-ipn-handler.php:93
     107msgid "Payment changed via Barion."
     108msgstr "A fizetés Barionon keresztül módosult"
     109
     110#: includes/class-wc-gateway-barion-ipn-handler.php:101
     111#: includes/class-wc-gateway-barion-ipn-handler.php:103
    110112msgid ""
    111113"Payment is expired (customer progressed to Barion, but then left the page "
     
    115117"nélkül elhagyta)"
    116118
    117 #: includes/class-wc-gateway-barion-ipn-handler.php:75
     119#: includes/class-wc-gateway-barion-ipn-handler.php:110
    118120msgid "Payment failed via Barion."
    119121msgstr "Meghiúsult vásárlás a Barion oldalán."
     
    129131#: includes/settings-barion.php:12
    130132msgid "Enable/Disable"
    131 msgstr ""
     133msgstr "Engedélyezés/Letiltás"
    132134
    133135#: includes/settings-barion.php:14
     
    137139#: includes/settings-barion.php:18
    138140msgid "Title"
    139 msgstr ""
     141msgstr "Cím"
    140142
    141143#: includes/settings-barion.php:21
    142144msgid "This controls the title which the user sees during checkout."
    143 msgstr ""
     145msgstr "Itt adható meg a fizetési mód címe, ami a pénztár oldalon jelenik meg."
    144146
    145147#: includes/settings-barion.php:25
    146148msgid "Description"
    147 msgstr ""
     149msgstr "Leírás"
    148150
    149151#: includes/settings-barion.php:27
     
    157159msgid "This controls the description which the user sees during checkout."
    158160msgstr ""
     161"Itt adható meg a fizetési módhoz tartozó leírás, amit a felhasználó a "
     162"pénztár oldalon lát."
    159163
    160164#: includes/settings-barion.php:32
     
    168172#: includes/settings-barion.php:38
    169173msgid "Barion Email"
    170 msgstr ""
     174msgstr "Barion e-mail"
    171175
    172176#: includes/settings-barion.php:40
     
    176180#: includes/settings-barion.php:46
    177181msgid "Barion Pixel Id"
    178 msgstr ""
     182msgstr "Barion Pixel azonosító"
    179183
    180184#: includes/settings-barion.php:48
    181 #, fuzzy
    182185msgid "Your Barion Pixel Id"
    183 msgstr "Barionon regisztrált e-mail címed"
     186msgstr "Barion pixel azonosítód"
    184187
    185188#: includes/settings-barion.php:52
     
    197200
    198201#: includes/settings-barion.php:66
     202msgid "Order status after rejected payment"
     203msgstr "Rendelés állapota visszautasított fizetés után"
     204
     205#: includes/settings-barion.php:68 includes/settings-barion.php:77
     206msgid "Default"
     207msgstr ""
     208
     209#: includes/settings-barion.php:70
     210msgid "Choose the status of the order after rejected Barion payment."
     211msgstr ""
     212"Kiválaszthatod, hogy visszautasított fizetés után milyen állapotba kerüljön "
     213"a rendelés."
     214
     215#: includes/settings-barion.php:75
     216msgid "Order status after expired payment"
     217msgstr "Rendelés állapota lejárt fizetés után"
     218
     219#: includes/settings-barion.php:79
     220msgid "Choose the status of the order after expired Barion payment."
     221msgstr ""
     222"Kiválaszthatod, hogy lejárt fizetés után milyen állapotba kerüljön a "
     223"rendelés."
     224
     225#: includes/settings-barion.php:85
    199226msgid "Barion Environment"
    200227msgstr "Barion Környezet"
    201228
    202 #: includes/settings-barion.php:70
     229#: includes/settings-barion.php:89
    203230msgid ""
    204231"You can select the Test environment to test payments. You'll need to create "
     
    208235"nyitnod a <a href=\"%s\" target=\"_blank\">Barion teszt oldalon</a>."
    209236
    210 #: includes/settings-barion.php:75
     237#: includes/settings-barion.php:94
    211238msgid "Newsletter"
    212239msgstr "Hírlevél"
    213240
    214 #: includes/settings-barion.php:76
     241#: includes/settings-barion.php:95
    215242msgid "Get free emails on how to grow your business like crazy"
    216243msgstr "Kérek ingyenes tippeket az üzletem robbanásszerű növeléséhez"
    217244
    218 #: includes/settings-barion.php:79
     245#: includes/settings-barion.php:98
    219246msgid ""
    220247"You may unsubscribe any time and we will never share your email address."
    221248msgstr ""
    222249"Bármikor leiratkozhatsz és soha nem osztjuk meg senkivel az email címedet."
     250
     251#: index.php:90
     252msgid ""
     253"Reduce your Barion commission by using Full Pixel. Click here for more "
     254"information: <a target =\"_blank\" href =\"https://bitron.hu/barion-pixel-"
     255"for-woocommerce\">Full Barion Pixel for WooCommerce</a>"
     256msgstr ""
     257"Csökkentsük a Barion jutalékát a full pixel integrációval. Bővebb "
     258"infórmációért katt ide:  <a target =\"_blank\" href =\"https://bitron.hu/"
     259"barion-pixel-for-woocommerce\">Full Barion Pixel for WooCommerce</a>"
    223260
    224261#. Plugin Name of the plugin/theme
     
    232269#. Description of the plugin/theme
    233270msgid "Adds the ability to WooCommerce to pay via Barion"
    234 msgstr ""
     271msgstr "Bankkártyás fizetési lehetőséget biztosít a Barion használatával."
    235272
    236273#. Author of the plugin/theme
    237 msgid "Peter Szel <szelpeter@szelpeter.hu>"
     274msgid "Aron Ocsvari <ugyfelszolgalat@bitron.hu>"
    238275msgstr ""
    239276
    240277#. Author URI of the plugin/theme
    241 msgid "http://szelpeter.hu"
     278msgid "https://bitron.hu"
    242279msgstr ""
    243280
  • pay-via-barion-for-woocommerce/trunk/languages/pay-via-barion-for-woocommerce.pot

    r3065339 r3145670  
    1 # Copyright (C) 2024 Peter Szel <szelpeter@szelpeter.hu>
     1# Copyright (C) 2024 Aron Ocsvari <ugyfelszolgalat@bitron.hu>
    22# This file is distributed under the GNU General Public License v3.0.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Barion Payment Gateway for WooCommerce 3.5.1\n"
     5"Project-Id-Version: Barion Payment Gateway for WooCommerce 3.6.1\n"
    66"Report-Msgid-Bugs-To: https://github.com/szelpe/woocommerce-barion/issues\n"
    7 "POT-Creation-Date: 2024-04-02 20:48:07+00:00\n"
     7"POT-Creation-Date: 2024-08-27 13:25:36+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    1414"X-Generator: grunt-wp-i18n 1.0.3\n"
    1515
    16 #: class-wc-gateway-barion.php:43 includes/settings-barion.php:20
     16#: class-wc-gateway-barion.php:47 includes/settings-barion.php:20
    1717msgid "Barion"
    1818msgstr ""
    1919
    20 #: class-wc-gateway-barion.php:44
     20#: class-wc-gateway-barion.php:48
    2121msgid ""
    2222"Barion payment gateway sends customers to Barion to enter their payment "
     
    2525msgstr ""
    2626
    27 #: class-wc-gateway-barion.php:46
     27#: class-wc-gateway-barion.php:50
    2828msgid "Proceed to Barion"
    2929msgstr ""
    3030
    31 #: class-wc-gateway-barion.php:62
     31#: class-wc-gateway-barion.php:66
    3232msgid " [TEST MODE]"
    3333msgstr ""
    3434
    35 #: class-wc-gateway-barion.php:63
     35#: class-wc-gateway-barion.php:67
    3636msgid ""
    3737"<br/><br/>Test mode is <strong>active</strong>.  Test credit card details: "
     
    3939msgstr ""
    4040
    41 #: class-wc-gateway-barion.php:113
     41#: class-wc-gateway-barion.php:117
    4242msgid "Barion acceptance mark"
    4343msgstr ""
    4444
    45 #: class-wc-gateway-barion.php:136
     45#: class-wc-gateway-barion.php:151
    4646msgid "Gateway Disabled"
    4747msgstr ""
    4848
    49 #: class-wc-gateway-barion.php:137
     49#: class-wc-gateway-barion.php:152
    5050msgid "Barion does not support your store currency. Supported currencies: %s"
    5151msgstr ""
    5252
    53 #: class-wc-gateway-barion.php:222
     53#: class-wc-gateway-barion.php:237
    5454msgid "User redirected to the Barion payment page."
    5555msgstr ""
    5656
    57 #: class-wc-gateway-barion.php:242
     57#: class-wc-gateway-barion.php:257
    5858msgid "Refund Failed: No transaction ID"
    5959msgstr ""
    6060
    61 #: class-wc-gateway-barion.php:250
     61#: class-wc-gateway-barion.php:265
    6262msgid "Refunded %s - Refund ID: %s"
    6363msgstr ""
    6464
    65 #: class-wc-gateway-barion.php:255
     65#: class-wc-gateway-barion.php:270
    6666msgid "Barion refund failed."
    6767msgstr ""
    6868
    69 #: class-wc-gateway-barion.php:303
     69#: class-wc-gateway-barion.php:318
    7070msgid "Order status updated based on the settings."
    7171msgstr ""
    7272
    73 #: includes/class-wc-gateway-barion-ipn-handler.php:35
     73#: includes/class-wc-gateway-barion-ipn-handler.php:61
    7474msgid "Barion callback received."
    7575msgstr ""
    7676
    77 #: includes/class-wc-gateway-barion-ipn-handler.php:38
     77#: includes/class-wc-gateway-barion-ipn-handler.php:64
    7878msgid "Barion callback was handled by a custom handler."
    7979msgstr ""
    8080
    81 #: includes/class-wc-gateway-barion-ipn-handler.php:43
     81#: includes/class-wc-gateway-barion-ipn-handler.php:69
    8282msgid "Barion callback ignored as the payment was already completed."
    8383msgstr ""
    8484
    85 #: includes/class-wc-gateway-barion-ipn-handler.php:48
     85#: includes/class-wc-gateway-barion-ipn-handler.php:74
    8686msgid "Barion callback ignored as the user has chosen another payment method."
    8787msgstr ""
    8888
    89 #: includes/class-wc-gateway-barion-ipn-handler.php:57
     89#: includes/class-wc-gateway-barion-ipn-handler.php:83
    9090msgid "Payment succeeded via Barion."
    9191msgstr ""
    9292
    93 #: includes/class-wc-gateway-barion-ipn-handler.php:64
     93#: includes/class-wc-gateway-barion-ipn-handler.php:91
    9494msgid "Payment canceled via Barion."
    9595msgstr ""
    9696
    97 #: includes/class-wc-gateway-barion-ipn-handler.php:70
     97#: includes/class-wc-gateway-barion-ipn-handler.php:93
     98msgid "Payment changed via Barion."
     99msgstr ""
     100
     101#: includes/class-wc-gateway-barion-ipn-handler.php:101
     102#: includes/class-wc-gateway-barion-ipn-handler.php:103
    98103msgid ""
    99104"Payment is expired (customer progressed to Barion, but then left the page "
     
    101106msgstr ""
    102107
    103 #: includes/class-wc-gateway-barion-ipn-handler.php:75
     108#: includes/class-wc-gateway-barion-ipn-handler.php:110
    104109msgid "Payment failed via Barion."
    105110msgstr ""
     
    180185
    181186#: includes/settings-barion.php:66
     187msgid "Order status after rejected payment"
     188msgstr ""
     189
     190#: includes/settings-barion.php:68 includes/settings-barion.php:77
     191msgid "Default"
     192msgstr ""
     193
     194#: includes/settings-barion.php:70
     195msgid "Choose the status of the order after rejected Barion payment."
     196msgstr ""
     197
     198#: includes/settings-barion.php:75
     199msgid "Order status after expired payment"
     200msgstr ""
     201
     202#: includes/settings-barion.php:79
     203msgid "Choose the status of the order after expired Barion payment."
     204msgstr ""
     205
     206#: includes/settings-barion.php:85
    182207msgid "Barion Environment"
    183208msgstr ""
    184209
    185 #: includes/settings-barion.php:70
     210#: includes/settings-barion.php:89
    186211msgid ""
    187212"You can select the Test environment to test payments. You'll need to create "
     
    189214msgstr ""
    190215
    191 #: includes/settings-barion.php:75
     216#: includes/settings-barion.php:94
    192217msgid "Newsletter"
    193218msgstr ""
    194219
    195 #: includes/settings-barion.php:76
     220#: includes/settings-barion.php:95
    196221msgid "Get free emails on how to grow your business like crazy"
    197222msgstr ""
    198223
    199 #: includes/settings-barion.php:79
     224#: includes/settings-barion.php:98
    200225msgid "You may unsubscribe any time and we will never share your email address."
     226msgstr ""
     227
     228#: index.php:90
     229msgid ""
     230"Reduce your Barion commission by using Full Pixel. Click here for more "
     231"information: <a target =\"_blank\" href "
     232"=\"https://bitron.hu/barion-pixel-for-woocommerce\">Full Barion Pixel for "
     233"WooCommerce</a>"
    201234msgstr ""
    202235
     
    214247
    215248#. Author of the plugin/theme
    216 msgid "Peter Szel <szelpeter@szelpeter.hu>"
     249msgid "Aron Ocsvari <ugyfelszolgalat@bitron.hu>"
    217250msgstr ""
    218251
    219252#. Author URI of the plugin/theme
    220 msgid "http://szelpeter.hu"
     253msgid "https://bitron.hu"
    221254msgstr ""
    222255
  • pay-via-barion-for-woocommerce/trunk/readme.txt

    r3084619 r3145670  
    55Tested up to: 6.5
    66WC requires at least: 3.0.0
    7 WC tested up to: 8.7.0
     7WC tested up to: 9.2.3
    88Requires PHP: 5.6
    99Stable tag: trunk
     
    8989
    9090== Changelog ==
     91= 3.7 =
     92- Fixed labels on order buttons in checkout blocks;
     93- Resolved issues with IPN failures;
     94- Added support for Sequential Order Number for WooCommerce.
     95- Handle rejected and expired statuses
     96- Limit the length of Street fields to a maximum of 50 characters
     97- Show notification about Full Barion pixel
    9198= 3.6.1 =
    9299- Display payment method name alongside the logo
Note: See TracChangeset for help on using the changeset viewer.