Plugin Directory

Changeset 3404173


Ignore:
Timestamp:
11/27/2025 02:23:07 PM (4 months ago)
Author:
apiki
Message:

commit new version 1.3.17

Location:
wc-koin-official
Files:
14 added
60 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wc-koin-official/tags/1.3.17/app/Controllers/Gateways/Gateway.php

    r3393160 r3404173  
    5454                do_action('wc_koin_official-after_success_order', $wc_order);
    5555
    56                 $wc_order->update_status(
    57                     $status,
    58                     sprintf(
    59                         "<strong>%s</strong> :",
    60                         WKO_PLUGIN_NAME
    61                     ),
    62                     false
    63                 );
     56                //If the order will be captured instantly, don't go through an intermediate status
     57                if ($koin_status->type !== 'Authorized') {
     58                    $wc_order->update_status(
     59                        $status,
     60                        sprintf(
     61                            "<strong>%s</strong> :",
     62                            WKO_PLUGIN_NAME
     63                        ),
     64                        false
     65                    );
     66                }
    6467
    6568                $this->finishSuccessOrder($wc_order, $body);
     
    160163        global $woocommerce;
    161164
    162         wc_reduce_stock_levels($order->get_id());
     165        wc_maybe_reduce_stock_levels($order->get_id());
    163166
    164167        $order->add_order_note(sprintf(
     
    810813        $discount = 0;
    811814
    812         foreach ($wc_order->get_items('fee') as $item_id => $item_fee) {
     815        foreach ($wc_order->get_items('fee') as $item_fee) {
    813816            $total = floatval($item_fee->get_total());
    814817
  • wc-koin-official/tags/1.3.17/app/Controllers/Koin.php

    r3279008 r3404173  
    1717 * @since 1.0.0
    1818 */
    19 class Koin 
     19class Koin
    2020{
    2121    private $meta;
    2222    private $logs;
    2323
    24     public function __construct()
    25     {
     24    public function __construct()
     25    {
    2626        $this->meta = new PostMeta;
    2727        $this->logs = new Logs;
    28     }
     28    }
    2929
    3030    /**
     
    3535     * @return array
    3636     */
    37     public function get_order( $order_id, $koin_order_id = false )
     37    public function get_order($order_id, $koin_order_id = false)
    3838    {
    39         if ( ! $koin_order_id ) {
    40             $koin_order_id = $this->meta->get( $order_id, 'koin_order_id' );
     39        if (! $koin_order_id) {
     40            $koin_order_id = $this->meta->get($order_id, '_order_id');
    4141
    42             if ( ! $koin_order_id || ! intval( $koin_order_id ) ) {
     42            if (! $koin_order_id) {
    4343                return [
    4444                    'success'   => false,
    45                     'message' => __( 'Could not fetch order_id from database.', 'wc-koin-official' )
     45                    'message' => __('Could not fetch order_id from database.', 'wc-koin-official')
    4646                ];
    4747            }
    4848        }
    4949
    50         $koin = new Get( $koin_order_id );
     50        $koin = new Get($koin_order_id);
    5151        $response = $koin->handle_request();
    5252
    53         if ( is_wp_error( $response ) || ! $response ) {
     53        if (is_wp_error($response) || ! $response) {
    5454
    55             $message = __( 'Error when making the request', 'wc-koin-official' );
     55            $message = __('Error when making the request', 'wc-koin-official');
    5656
    57             $this->logs->get_order_error( $message, $response );
     57            $this->logs->get_order_error($message, $response);
    5858
    5959            return [
     
    7272     * @return array
    7373     */
    74     public function create_order( $body )
     74    public function create_order($body)
    7575    {
    76         $koin = new Create( $body );
     76        $koin = new Create($body);
    7777        $response = $koin->handle_request();
    7878
    79         if ( is_wp_error( $response ) || ! $response ) {
     79        if (is_wp_error($response) || ! $response) {
    8080
    81             $message = __( 'Error when making the request', 'wc-koin-official' );
     81            $message = __('Error when making the request', 'wc-koin-official');
    8282
    83             $this->logs->create_order_error( $message, $response );
     83            $this->logs->create_order_error($message, $response);
    8484
    8585            return [
     
    9393
    9494    /**
    95      * 
     95     *
    9696     */
    9797    public function capture_order($order_id)
     
    100100        $response = $request->handle_request();
    101101
    102         if (!is_wp_error( $response )) {
     102        if (!is_wp_error($response)) {
    103103            return $response;
    104104        }
     
    118118     * @return array
    119119     */
    120     public function cancel_order( $order_id, $koin_order_id )
     120    public function cancel_order($order_id, $koin_order_id)
    121121    {
    122         if ( ! $order_id || ! $koin_order_id ) {
     122        if (! $order_id || ! $koin_order_id) {
    123123            return [
    124124                'error'   => true,
    125                 'message' => __( 'Could not fetch order_id from database.', 'wc-koin-official' )
     125                'message' => __('Could not fetch order_id from database.', 'wc-koin-official')
    126126            ];
    127127        }
    128128
    129         $koin = new Cancel( $koin_order_id );
    130         $response = $koin->handle_request();
    131 
    132         return $response;
     129        $koin = new Cancel($koin_order_id);
     130        return $koin->handle_request();
    133131    }
    134132
     
    151149
    152150        $koin = new Refund($body);
    153        
     151
    154152        $response = $koin->handle_request();
    155153
  • wc-koin-official/tags/1.3.17/app/Controllers/Render/CreditThankyou.php

    r2951603 r3404173  
    99/**
    1010 * Render the credit thankyou page
    11  * 
     11 *
    1212 * @package Controller\Render
    1313 * @since 1.0.0
     
    2424    private function get_order()
    2525    {
    26         $key = sanitize_text_field( $_REQUEST['key'] );
     26        $key = sanitize_text_field($_REQUEST['key']);
    2727
    28         if ( $key ) {
    29             $order = wc_get_order_id_by_order_key( $key );
     28        if ($key) {
     29            $order = wc_get_order_id_by_order_key($key);
     30            $this->vars['order'] = $order;
    3031            $this->get_metas($order);
    3132        }
     
    4849    private function get_logo()
    4950    {
    50         $this->vars['logo'] = Config::__image( 'koin/b-koin-258.png' );
     51        $this->vars['logo'] = Config::__image('koin/b-koin-258.png');
    5152    }
    5253
     
    5556        $this->get_order();
    5657        $this->get_logo();
    57        
    58         $this->render( 'templates/thankyou-page/credit.php', $this->vars );
     58
     59        $this->render('templates/thankyou-page/credit.php', $this->vars);
    5960    }
    6061}
  • wc-koin-official/tags/1.3.17/app/Controllers/Status.php

    r3155300 r3404173  
    1414class Status
    1515{
    16     public function __construct()
    17     {
     16    public function __construct()
     17    {
    1818        $this->register_koin_custom_statuses();
    1919
    20         add_filter( 'wc_order_statuses', [ $this, 'add_koin_custom_statuses' ], 10, 1 );
    21         add_action( 'woocommerce_order_status_changed', [ $this, 'on_koin_status_changed' ], 10, 3 );
    22     }
     20        add_filter('wc_order_statuses', [$this, 'add_koin_custom_statuses'], 10, 1);
     21        add_action('woocommerce_order_status_changed', [$this, 'on_koin_status_changed'], 10, 3);
     22        add_action('woocommerce_order_status_awaiting-analysis_to_failed', [$this, 'maybeRestoreStock'], 10);
     23    }
    2324
    2425    /**
     
    3031    {
    3132        return [
    32             'wc-awaiting-payment'  => __( 'Awaiting payment', 'wc-koin-official' ),
    33             'wc-awaiting-analysis' => __( 'Under analysist', 'wc-koin-official' )
     33            'wc-awaiting-payment'  => __('Awaiting payment', 'wc-koin-official'),
     34            'wc-awaiting-analysis' => __('Under analysist', 'wc-koin-official')
    3435        ];
    3536    }
     
    4445        $statuses = $this->get_koin_status();
    4546
    46         foreach( $statuses as $key => $status ) {
    47             register_post_status( $key, [
    48                 'label'                     => $status ,
     47        foreach ($statuses as $key => $status) {
     48            register_post_status($key, [
     49                'label'                     => $status,
    4950                'public'                    => true,
    5051                'exclude_from_search'       => false,
    5152                'show_in_admin_all_list'    => true,
    5253                'show_in_admin_status_list' => true,
    53             ] );
     54            ]);
    5455        }
    5556    }
     
    6162     * @return array
    6263     */
    63     public function add_koin_custom_statuses( $order_statuses ) {
     64    public function add_koin_custom_statuses($order_statuses)
     65    {
    6466        $statuses = $this->get_koin_status();
    6567
    66         foreach( $statuses as $key => $status ) {
     68        foreach ($statuses as $key => $status) {
    6769            if (!isset($order_statuses[$key])) {
    6870                $order_statuses[$key] = $status;
     
    8183     * @return void
    8284     */
    83     public function on_koin_status_changed( $id, $from, $to )
     85    public function on_koin_status_changed($id, $from, $to)
    8486    {
    85         $order = wc_get_order( $id );
     87        $order = wc_get_order($id);
    8688
    8789        $payment_method  = $order->get_payment_method();
    8890        $payment_methods = Utils::koin_payment_methods();
    8991
    90         if ( array_intersect( $payment_methods, [ $payment_method ] ) ) {
    91             if ( $to === 'cancelled' ) {
    92                 new CancellOrder( $id );
     92        if (array_intersect($payment_methods, [$payment_method]) && $to === 'cancelled') {
     93            $koin = new Koin();
     94            $koin_response = $koin->get_order($id);
     95
     96            $should_cancel = false;
     97            $koin_status = null;
     98
     99            if (! isset($koin_response['error']) && isset($koin_response['body'])) {
     100                $body = json_decode($koin_response['body']);
     101
     102                if (isset($body->status->type)) {
     103                    $koin_status = $body->status->type;
     104
     105                    $cancellable_statuses = ['Opened', 'Authorized'];
     106
     107                    if (in_array($koin_status, $cancellable_statuses)) {
     108                        $should_cancel = true;
     109                    }
     110                }
     111            }
     112
     113            if ($should_cancel) {
     114                new CancellOrder($id);
    93115            }
    94116        }
    95117    }
    96118
     119    /**
     120     * Restores stock levels for an order if the payment method is a Koin payment method.
     121     *
     122     * This method is triggered when an order status changes from awaiting-analysis to failed. It checks if the order
     123     * uses a Koin payment method and, if so, attempts to restore the stock levels
     124     * for the order items.
     125     *
     126     * @param int    $order_id    The ID of the order being processed.
     127     * @return void
     128     */
     129    public function maybeRestoreStock($order_id)
     130    {
     131        $order = wc_get_order($order_id);
     132
     133
     134        $payment_method = $order->get_payment_method();
     135        $payment_methods = Utils::koin_payment_methods();
     136
     137        if (!in_array($payment_method, $payment_methods)) {
     138            return;
     139        }
     140
     141        wc_maybe_increase_stock_levels($order_id);
     142    }
    97143}
  • wc-koin-official/tags/1.3.17/app/Controllers/Woocommerce.php

    r3364572 r3404173  
    9393        new Webhooks;
    9494        new Status;
     95        new Emails;
    9596        new CheckoutFieldManager;
    9697        new BlockCheckoutFieldManager;
  • wc-koin-official/tags/1.3.17/app/Helpers/Config.php

    r3393160 r3404173  
    9595    public static function __version()
    9696    {
    97         return '1.3.16';
     97        return '1.3.17';
    9898    }
    9999
  • wc-koin-official/tags/1.3.17/app/Helpers/Hooks.php

    r3355584 r3404173  
    44
    55
     6use WKO\Controllers\Emails;
    67use WKO\Controllers\Woocommerce;
    78
     
    8081    'registerGatewayUpdateTotal'
    8182]);
     83
     84add_filter('woocommerce_email_classes', [
     85    'WKO\Controllers\Emails',
     86    'register_email_classes'
     87], 10, 1);
     88
     89add_filter('woocommerce_email_actions', [
     90    'WKO\Controllers\Emails',
     91    'add_email_actions'
     92], 10, 1);
     93
     94add_action('plugins_loaded', function () {
     95    new Emails();
     96}, 20);
  • wc-koin-official/tags/1.3.17/app/Services/Koin/Requests/Orders/Refund.php

    r3393160 r3404173  
    2828        $this->order_id = $body['order_id'];
    2929        $this->koin_order_id = $this->post_m->get($body['order_id'], '_order_id');
     30        $this->header   = [];
    3031    }
    3132
  • wc-koin-official/tags/1.3.17/app/Services/Koin/Requests/Request.php

    r3258688 r3404173  
    2828    protected function send()
    2929    {
    30         $_header = [
     30        $default_header = [
    3131            'Accept'           => 'application/json',
    3232            'Content-Type'     => 'application/json',
    3333            'W-Module-Version' => HelpersConfig::__version(),
    34             'Authorization'    => $this->get_auth()
     34            'Authorization'    => $this->get_auth(),
     35            'Content-Length'   => $this->body ? strlen(json_encode($this->body)) : 0
    3536        ];
    3637
    37         $header = array_merge($_header, $this->header);
    38 
    39         if (! $this->body) {
    40             $this->body = [];
    41         }
     38        $header = is_array($this->header) ? array_merge($default_header, $this->header) : $default_header;
    4239
    4340        $args = [
    4441            'headers' => $header,
    4542            'timeout' => 10000,
    46             'body'    => json_encode($this->body),
    4743            'method'  => $this->method
    4844        ];
     45
     46        if ($this->body) {
     47            $args['body'] = json_encode($this->body);
     48        }
    4949
    5050        if (get_option('wc_koin_settings_environment') === 'sandbox') {
  • wc-koin-official/tags/1.3.17/app/Views/templates/thankyou-page/credit.php

    r3377575 r3404173  
    11<?php
    2 if (! defined('ABSPATH')) exit;
     2if (! defined('ABSPATH')) {
     3    exit;
     4}
    35
     6$order_status = wc_get_order($order)->get_status();
     7
     8// Define message based on order status
     9switch ($order_status) {
     10    case 'awaiting-analysis':
     11        $message = __('Your credit card payment is under analysis. We will notify you as soon as it is confirmed.', 'wc-koin-official');
     12        break;
     13    case 'failed':
     14        $message = __('Your credit card payment failed. Please try again', 'wc-koin-official');
     15        break;
     16    default:
     17        $message = __('Card payment successful!', 'wc-koin-official');
     18        break;
     19}
    420?>
    521
     
    723    <img src="<?php echo esc_url($logo) ?>" alt="Koin Logo">
    824    <div>
    9         <p><?php echo esc_html__("Card payment successful!", 'wc-koin-official'); ?></p>
     25        <p><?php echo esc_html($message); ?></p>
    1026    </div>
    1127</div>
  • wc-koin-official/tags/1.3.17/composer.json

    r3393160 r3404173  
    33    "description": "Koin Official Payments for Woocommerce",
    44    "type": "wordpress-plugin",
    5     "version": "1.3.16",
     5    "version": "1.3.17",
    66    "license": "GPL-3.0",
    77    "require": {
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-es_AR.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en cuotas (Pague en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr "Reembolso fallido."
    11451145
    1146 #: app/Controllers/Koin.php:148
     1146#: app/Controllers/Koin.php:146
    11471147msgid "Missing required parameters for refund."
    11481148msgstr "Faltan parámetros necesarios para el reembolso."
    11491149
    1150 #: app/Controllers/Koin.php:159
     1150#: app/Controllers/Koin.php:157
    11511151msgid "Failed to process refund request."
    11521152msgstr "Error al procesar la solicitud de reembolso."
     
    11961196msgstr "Pedido recibido y en análisis."
    11971197
    1198 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1198#: app/Services/Koin/Requests/Orders/Refund.php:40
    11991199msgid "Invalid order ID or Koin order ID"
    12001200msgstr "ID de pedido o ID de pedido de Koin inválido"
    12011201
    1202 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1202#: app/Services/Koin/Requests/Orders/Refund.php:62
    12031203msgid "Error"
    12041204msgstr "Error"
    12051205
    1206 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1206#: app/Services/Koin/Requests/Orders/Refund.php:69
    12071207msgid "==== KOIN REFUND SUCCESS ===="
    12081208msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12091209
    1210 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1210#: app/Services/Koin/Requests/Orders/Refund.php:72
    12111211msgid "The refund was processed successfully."
    12121212msgstr "El reembolso se procesó con éxito."
    12131213
    1214 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1214#: app/Services/Koin/Requests/Orders/Refund.php:79
    12151215msgid "The refund worked successfully."
    12161216msgstr "El reembolso funcionó con éxito."
    12171217
    1218 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1218#: app/Services/Koin/Requests/Orders/Refund.php:91
    12191219msgid "==== KOIN REFUND ERROR ===="
    12201220msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    13781378msgstr "Interés de la tarjeta"
    13791379
    1380 #: app/Controllers/Gateways/Gateway.php:193
     1380#: app/Controllers/Gateways/Gateway.php:196
    13811381msgid "Payment rejected! Invalid card details. Please, try again."
    13821382msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13981398msgstr "Tarjeta de débito"
    13991399
    1400 #: app/Views/templates/thankyou-page/credit.php:9
     1400#: app/Views/templates/thankyou-page/credit.php:17
    14011401msgid "Card payment successful!"
    14021402msgstr "¡Pago con tarjeta exitoso!"
     
    14061406msgid "Credit or Debit Card - Koin"
    14071407msgstr "Tarjeta de crédito o débito - Koin"
     1408
     1409#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1410msgid "Awaiting Analysis Order"
     1411msgstr "En análisis"
     1412
     1413#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1414msgid "This email is sent to customers when their order is under analysis."
     1415msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1416
     1417#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1418msgid "Your {site_title} order has been received"
     1419msgstr "Se ha recibido tu pedido de {site_title}"
     1420
     1421#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1422msgid "Thank you for your order"
     1423msgstr "Gracias por tu pedido"
     1424
     1425#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1426msgid "We will notify you once your payment has been confirmed."
     1427msgstr "Te notificaremos una vez que se confirme tu pago."
     1428
     1429#. translators: %s: Customer first name
     1430#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1431#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1432msgid "Hi %s,"
     1433msgstr "Hola %s,"
     1434
     1435#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1436#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1437msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1438msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1439
     1440#: app/Views/templates/thankyou-page/credit.php:11
     1441msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1442msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1443
     1444#: app/Views/templates/thankyou-page/credit.php:14
     1445msgid "Your credit card payment failed. Please try again"
     1446msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-es_CL.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en Cuotas (Paga en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr ""
     
    11461146"stage"
    11471147
    1148 #: app/Controllers/Koin.php:148
     1148#: app/Controllers/Koin.php:146
    11491149msgid "Missing required parameters for refund."
    11501150msgstr "Faltan parámetros requeridos para el reembolso."
     
    11941194msgstr "Pedido recibido y en análisis."
    11951195
    1196 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1196#: app/Services/Koin/Requests/Orders/Refund.php:40
    11971197msgid "Invalid order ID or Koin order ID"
    11981198msgstr "ID de pedido o ID de pedido Koin inválido"
    11991199
    1200 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1200#: app/Services/Koin/Requests/Orders/Refund.php:62
    12011201msgid "Error"
    12021202msgstr "Error"
    12031203
    1204 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1204#: app/Services/Koin/Requests/Orders/Refund.php:69
    12051205msgid "==== KOIN REFUND SUCCESS ===="
    12061206msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12071207
    1208 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1208#: app/Services/Koin/Requests/Orders/Refund.php:72
    12091209msgid "The refund was processed successfully."
    12101210msgstr "El reembolso fue procesado exitosamente."
    12111211
    1212 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1212#: app/Services/Koin/Requests/Orders/Refund.php:79
    12131213msgid "The refund worked successfully."
    12141214msgstr "El reembolso funcionó exitosamente."
    12151215
    1216 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1216#: app/Services/Koin/Requests/Orders/Refund.php:91
    12171217msgid "==== KOIN REFUND ERROR ===="
    12181218msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    12381238msgstr "Ingrese la meta_key de su campo de documento existente en el proceso de pago que debe ser utilizado por Koin. Este campo es obligatorio cuando 'Sobrescribir campos de documento' está habilitado."
    12391239
    1240 #: app/Controllers/Koin.php:159
     1240#: app/Controllers/Koin.php:157
    12411241msgid "Failed to process refund request."
    12421242msgstr "Error al procesar la solicitud de reembolso."
     
    13801380msgstr "Interés de la tarjeta"
    13811381
    1382 #: app/Controllers/Gateways/Gateway.php:193
     1382#: app/Controllers/Gateways/Gateway.php:196
    13831383msgid "Payment rejected! Invalid card details. Please, try again."
    13841384msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    14001400msgstr "Tarjeta de débito"
    14011401
    1402 #: app/Views/templates/thankyou-page/credit.php:9
     1402#: app/Views/templates/thankyou-page/credit.php:17
    14031403msgid "Card payment successful!"
    14041404msgstr "¡Pago con tarjeta exitoso!"
     
    14081408msgid "Credit or Debit Card - Koin"
    14091409msgstr "Tarjeta de crédito o débito - Koin"
     1410
     1411#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1412msgid "Awaiting Analysis Order"
     1413msgstr "En análisis"
     1414
     1415#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1416msgid "This email is sent to customers when their order is under analysis."
     1417msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1418
     1419#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1420msgid "Your {site_title} order has been received"
     1421msgstr "Se ha recibido tu pedido de {site_title}"
     1422
     1423#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1424msgid "Thank you for your order"
     1425msgstr "Gracias por tu pedido"
     1426
     1427#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1428msgid "We will notify you once your payment has been confirmed."
     1429msgstr "Te notificaremos una vez que se confirme tu pago."
     1430
     1431#. translators: %s: Customer first name
     1432#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1433#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1434msgid "Hi %s,"
     1435msgstr "Hola %s,"
     1436
     1437#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1438#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1439msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1440msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1441
     1442#: app/Views/templates/thankyou-page/credit.php:11
     1443msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1444msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1445
     1446#: app/Views/templates/thankyou-page/credit.php:14
     1447msgid "Your credit card payment failed. Please try again"
     1448msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-es_CO.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en Cuotas (Pague en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr ""
     
    11461146"stage"
    11471147
    1148 #: app/Controllers/Koin.php:148
     1148#: app/Controllers/Koin.php:146
    11491149msgid "Missing required parameters for refund."
    11501150msgstr "Faltan parámetros requeridos para el reembolso."
     
    11941194msgstr "Pedido recibido y en análisis."
    11951195
    1196 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1196#: app/Services/Koin/Requests/Orders/Refund.php:40
    11971197msgid "Invalid order ID or Koin order ID"
    11981198msgstr "ID de pedido o ID de pedido Koin inválido"
    11991199
    1200 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1200#: app/Services/Koin/Requests/Orders/Refund.php:62
    12011201msgid "Error"
    12021202msgstr "Error"
    12031203
    1204 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1204#: app/Services/Koin/Requests/Orders/Refund.php:69
    12051205msgid "==== KOIN REFUND SUCCESS ===="
    12061206msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12071207
    1208 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1208#: app/Services/Koin/Requests/Orders/Refund.php:72
    12091209msgid "The refund was processed successfully."
    12101210msgstr "El reembolso fue procesado exitosamente."
    12111211
    1212 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1212#: app/Services/Koin/Requests/Orders/Refund.php:79
    12131213msgid "The refund worked successfully."
    12141214msgstr "El reembolso funcionó exitosamente."
    12151215
    1216 #: app/Controllers/Koin.php:159
     1216#: app/Controllers/Koin.php:157
    12171217msgid "Failed to process refund request."
    12181218msgstr "Error al procesar la solicitud de reembolso."
    12191219
    1220 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1220#: app/Services/Koin/Requests/Orders/Refund.php:91
    12211221msgid "==== KOIN REFUND ERROR ===="
    12221222msgstr "==== ERROR DE REEMBOLSO DE KOIN ===="
     
    13801380msgstr "Interés de la tarjeta"
    13811381
    1382 #: app/Controllers/Gateways/Gateway.php:193
     1382#: app/Controllers/Gateways/Gateway.php:196
    13831383msgid "Payment rejected! Invalid card details. Please, try again."
    13841384msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    14001400msgstr "Tarjeta de débito"
    14011401
    1402 #: app/Views/templates/thankyou-page/credit.php:9
     1402#: app/Views/templates/thankyou-page/credit.php:17
    14031403msgid "Card payment successful!"
    14041404msgstr "¡Pago con tarjeta exitoso!"
     
    14081408msgid "Credit or Debit Card - Koin"
    14091409msgstr "Tarjeta de crédito o débito - Koin"
     1410
     1411#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1412msgid "Awaiting Analysis Order"
     1413msgstr "En análisis"
     1414
     1415#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1416msgid "This email is sent to customers when their order is under analysis."
     1417msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1418
     1419#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1420msgid "Your {site_title} order has been received"
     1421msgstr "Se ha recibido tu pedido de {site_title}"
     1422
     1423#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1424msgid "Thank you for your order"
     1425msgstr "Gracias por tu pedido"
     1426
     1427#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1428msgid "We will notify you once your payment has been confirmed."
     1429msgstr "Te notificaremos una vez que se confirme tu pago."
     1430
     1431#. translators: %s: Customer first name
     1432#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1433#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1434msgid "Hi %s,"
     1435msgstr "Hola %s,"
     1436
     1437#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1438#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1439msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1440msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1441
     1442#: app/Views/templates/thankyou-page/credit.php:11
     1443msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1444msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1445
     1446#: app/Views/templates/thankyou-page/credit.php:14
     1447msgid "Your credit card payment failed. Please try again"
     1448msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-es_ES.po

    r3393160 r3404173  
    314314
    315315#: app/Controllers/Gateways/Credit.php:415
    316 #: app/Controllers/Gateways/Gateway.php:644
     316#: app/Controllers/Gateways/Gateway.php:647
    317317msgid "Invalid address fields! Please check that the fields are filled in correctly."
    318318msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    319319
    320 #: app/Controllers/Gateways/Gateway.php:95
     320#: app/Controllers/Gateways/Gateway.php:98
    321321msgid "An unknown error has occurred. Please, contact Us."
    322322msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    323323
    324 #: app/Controllers/Gateways/Gateway.php:167
     324#: app/Controllers/Gateways/Gateway.php:170
    325325msgid "Waiting for credit confirmation from Koin."
    326326msgstr "Esperando confirmación de crédito de Koin."
    327327
    328 #: app/Controllers/Gateways/Gateway.php:175
     328#: app/Controllers/Gateways/Gateway.php:178
    329329msgid "Test mode activate! In this mode transactions are not real."
    330330msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    331331
    332 #: app/Controllers/Gateways/Gateway.php:190
     332#: app/Controllers/Gateways/Gateway.php:193
    333333msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    334334msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    335335
    336 #: app/Controllers/Gateways/Gateway.php:196
     336#: app/Controllers/Gateways/Gateway.php:199
    337337msgid "Payment rejected! It was not possible to make the payment."
    338338msgstr "¡Pago rechazado! No fue posible realizar el pago."
    339339
    340 #: app/Controllers/Gateways/Gateway.php:225
     340#: app/Controllers/Gateways/Gateway.php:228
    341341#: app/Controllers/Webhooks/Order.php:131
    342342msgid "Order captured:"
    343343msgstr "Pedido capturado:"
    344344
    345 #: app/Controllers/Gateways/Gateway.php:256
     345#: app/Controllers/Gateways/Gateway.php:259
    346346msgid "It was not possible to make the payment. Payment rejected!"
    347347msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    348348
    349 #: app/Controllers/Gateways/Gateway.php:923
     349#: app/Controllers/Gateways/Gateway.php:926
    350350msgid "Payment method discount"
    351351msgstr "Descuento por método de pago"
     
    594594msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    595595
    596 #: app/Controllers/Status.php:32
     596#: app/Controllers/Status.php:33
    597597msgid "Awaiting payment"
    598598msgstr "Esperando pago"
    599599
    600 #: app/Controllers/Status.php:33
     600#: app/Controllers/Status.php:34
    601601msgid "Under analysist"
    602602msgstr "En análisis"
     
    11391139msgstr "Koin - Pix en Cuotas (Pagar en cuotas sin tarjeta)"
    11401140
    1141 #: app/Controllers/Gateways/Gateway.php:143
     1141#: app/Controllers/Gateways/Gateway.php:146
    11421142msgid "Refund failed."
    11431143msgstr ""
     
    11451145"stage"
    11461146
    1147 #: app/Controllers/Koin.php:148
     1147#: app/Controllers/Koin.php:146
    11481148msgid "Missing required parameters for refund."
    11491149msgstr "Faltan parámetros requeridos para el reembolso."
     
    11931193msgstr "Pedido recibido y en análisis."
    11941194
    1195 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1195#: app/Services/Koin/Requests/Orders/Refund.php:40
    11961196msgid "Invalid order ID or Koin order ID"
    11971197msgstr "ID de pedido o ID de pedido de Koin inválido"
    11981198
    1199 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1199#: app/Services/Koin/Requests/Orders/Refund.php:62
    12001200msgid "Error"
    12011201msgstr "Error"
    12021202
    1203 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1203#: app/Services/Koin/Requests/Orders/Refund.php:69
    12041204msgid "==== KOIN REFUND SUCCESS ===="
    12051205msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12061206
    1207 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1207#: app/Services/Koin/Requests/Orders/Refund.php:72
    12081208msgid "The refund was processed successfully."
    12091209msgstr "El reembolso se procesó con éxito."
    12101210
    1211 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1211#: app/Services/Koin/Requests/Orders/Refund.php:79
    12121212msgid "The refund worked successfully."
    12131213msgstr "El reembolso funcionó con éxito."
    12141214
    1215 #: app/Controllers/Koin.php:159
     1215#: app/Controllers/Koin.php:157
    12161216msgid "Failed to process refund request."
    12171217msgstr "Error al procesar la solicitud de reembolso."
    12181218
    1219 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1219#: app/Services/Koin/Requests/Orders/Refund.php:91
    12201220msgid "==== KOIN REFUND ERROR ===="
    12211221msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    13791379msgstr "Interés de la tarjeta"
    13801380
    1381 #: app/Controllers/Gateways/Gateway.php:193
     1381#: app/Controllers/Gateways/Gateway.php:196
    13821382msgid "Payment rejected! Invalid card details. Please, try again."
    13831383msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13991399msgstr "Tarjeta de débito"
    14001400
    1401 #: app/Views/templates/thankyou-page/credit.php:9
     1401#: app/Views/templates/thankyou-page/credit.php:17
    14021402msgid "Card payment successful!"
    14031403msgstr "¡Pago con tarjeta exitoso!"
     
    14071407msgid "Credit or Debit Card - Koin"
    14081408msgstr "Tarjeta de crédito o débito - Koin"
     1409
     1410#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1411msgid "Awaiting Analysis Order"
     1412msgstr "En análisis"
     1413
     1414#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1415msgid "This email is sent to customers when their order is under analysis."
     1416msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1417
     1418#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1419msgid "Your {site_title} order has been received"
     1420msgstr "Se ha recibido tu pedido de {site_title}"
     1421
     1422#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1423msgid "Thank you for your order"
     1424msgstr "Gracias por tu pedido"
     1425
     1426#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1427msgid "We will notify you once your payment has been confirmed."
     1428msgstr "Te notificaremos una vez que se confirme tu pago."
     1429
     1430#. translators: %s: Customer first name
     1431#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1432#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1433msgid "Hi %s,"
     1434msgstr "Hola %s,"
     1435
     1436#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1437#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1438msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1439msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1440
     1441#: app/Views/templates/thankyou-page/credit.php:11
     1442msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1443msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1444
     1445#: app/Views/templates/thankyou-page/credit.php:14
     1446msgid "Your credit card payment failed. Please try again"
     1447msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-es_MX.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en cuotas (Pague en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr "El reembolso falló."
    11451145
    1146 #: app/Controllers/Koin.php:148
     1146#: app/Controllers/Koin.php:146
    11471147msgid "Missing required parameters for refund."
    11481148msgstr "Faltan parámetros requeridos para el reembolso."
     
    11921192msgstr "Pedido recibido y en análisis."
    11931193
    1194 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1194#: app/Services/Koin/Requests/Orders/Refund.php:40
    11951195msgid "Invalid order ID or Koin order ID"
    11961196msgstr "ID de pedido o ID de pedido Koin inválido"
    11971197
    1198 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1198#: app/Services/Koin/Requests/Orders/Refund.php:62
    11991199msgid "Error"
    12001200msgstr "Error"
    12011201
    1202 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1202#: app/Services/Koin/Requests/Orders/Refund.php:69
    12031203msgid "==== KOIN REFUND SUCCESS ===="
    12041204msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12051205
    1206 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1206#: app/Services/Koin/Requests/Orders/Refund.php:72
    12071207msgid "The refund was processed successfully."
    12081208msgstr "El reembolso se procesó correctamente."
    12091209
    1210 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1210#: app/Services/Koin/Requests/Orders/Refund.php:79
    12111211msgid "The refund worked successfully."
    12121212msgstr "El reembolso funcionó correctamente."
    12131213
    1214 #: app/Controllers/Koin.php:159
     1214#: app/Controllers/Koin.php:157
    12151215msgid "Failed to process refund request."
    12161216msgstr "Error al procesar la solicitud de reembolso."
    12171217
    1218 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1218#: app/Services/Koin/Requests/Orders/Refund.php:91
    12191219msgid "==== KOIN REFUND ERROR ===="
    12201220msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    13781378msgstr "Interés de la tarjeta"
    13791379
    1380 #: app/Controllers/Gateways/Gateway.php:193
     1380#: app/Controllers/Gateways/Gateway.php:196
    13811381msgid "Payment rejected! Invalid card details. Please, try again."
    13821382msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13981398msgstr "Tarjeta de débito"
    13991399
    1400 #: app/Views/templates/thankyou-page/credit.php:9
     1400#: app/Views/templates/thankyou-page/credit.php:17
    14011401msgid "Card payment successful!"
    14021402msgstr "¡Pago con tarjeta exitoso!"
     
    14061406msgid "Credit or Debit Card - Koin"
    14071407msgstr "Tarjeta de crédito o débito - Koin"
     1408
     1409#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1410msgid "Awaiting Analysis Order"
     1411msgstr "En análisis"
     1412
     1413#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1414msgid "This email is sent to customers when their order is under analysis."
     1415msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1416
     1417#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1418msgid "Your {site_title} order has been received"
     1419msgstr "Se ha recibido tu pedido de {site_title}"
     1420
     1421#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1422msgid "Thank you for your order"
     1423msgstr "Gracias por tu pedido"
     1424
     1425#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1426msgid "We will notify you once your payment has been confirmed."
     1427msgstr "Te notificaremos una vez que se confirme tu pago."
     1428
     1429#. translators: %s: Customer first name
     1430#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1431#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1432msgid "Hi %s,"
     1433msgstr "Hola %s,"
     1434
     1435#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1436#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1437msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1438msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1439
     1440#: app/Views/templates/thankyou-page/credit.php:11
     1441msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1442msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1443
     1444#: app/Views/templates/thankyou-page/credit.php:14
     1445msgid "Your credit card payment failed. Please try again"
     1446msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-es_PE.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en Cuotas (Paga en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr "El reembolso falló."
    11451145
    1146 #: app/Controllers/Koin.php:148
     1146#: app/Controllers/Koin.php:146
    11471147msgid "Missing required parameters for refund."
    11481148msgstr "Faltan parámetros requeridos para el reembolso."
     
    11921192msgstr "Pedido recibido y en análisis."
    11931193
    1194 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1194#: app/Services/Koin/Requests/Orders/Refund.php:40
    11951195msgid "Invalid order ID or Koin order ID"
    11961196msgstr "ID de pedido o ID de pedido Koin inválido"
    11971197
    1198 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1198#: app/Services/Koin/Requests/Orders/Refund.php:62
    11991199msgid "Error"
    12001200msgstr "Error"
    12011201
    1202 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1202#: app/Services/Koin/Requests/Orders/Refund.php:69
    12031203msgid "==== KOIN REFUND SUCCESS ===="
    12041204msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12051205
    1206 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1206#: app/Services/Koin/Requests/Orders/Refund.php:72
    12071207msgid "The refund was processed successfully."
    12081208msgstr "El reembolso se procesó con éxito."
    12091209
    1210 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1210#: app/Services/Koin/Requests/Orders/Refund.php:79
    12111211msgid "The refund worked successfully."
    12121212msgstr "El reembolso funcionó con éxito."
    12131213
    1214 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1214#: app/Services/Koin/Requests/Orders/Refund.php:91
    12151215msgid "==== KOIN REFUND ERROR ===="
    12161216msgstr "==== ERROR DE REEMBOLSO KOIN ===="
    12171217
    1218 #: app/Controllers/Koin.php:159
     1218#: app/Controllers/Koin.php:157
    12191219msgid "Failed to process refund request."
    12201220msgstr "Error al procesar la solicitud de reembolso."
     
    13781378msgstr "Interés de la tarjeta"
    13791379
    1380 #: app/Controllers/Gateways/Gateway.php:193
     1380#: app/Controllers/Gateways/Gateway.php:196
    13811381msgid "Payment rejected! Invalid card details. Please, try again."
    13821382msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13981398msgstr "Tarjeta de débito"
    13991399
    1400 #: app/Views/templates/thankyou-page/credit.php:9
     1400#: app/Views/templates/thankyou-page/credit.php:17
    14011401msgid "Card payment successful!"
    14021402msgstr "¡Pago con tarjeta exitoso!"
     
    14061406msgid "Credit or Debit Card - Koin"
    14071407msgstr "Tarjeta de crédito o débito - Koin"
     1408
     1409#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1410msgid "Awaiting Analysis Order"
     1411msgstr "En análisis"
     1412
     1413#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1414msgid "This email is sent to customers when their order is under analysis."
     1415msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1416
     1417#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1418msgid "Your {site_title} order has been received"
     1419msgstr "Se ha recibido tu pedido de {site_title}"
     1420
     1421#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1422msgid "Thank you for your order"
     1423msgstr "Gracias por tu pedido"
     1424
     1425#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1426msgid "We will notify you once your payment has been confirmed."
     1427msgstr "Te notificaremos una vez que se confirme tu pago."
     1428
     1429#. translators: %s: Customer first name
     1430#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1431#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1432msgid "Hi %s,"
     1433msgstr "Hola %s,"
     1434
     1435#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1436#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1437msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1438msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1439
     1440#: app/Views/templates/thankyou-page/credit.php:11
     1441msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1442msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1443
     1444#: app/Views/templates/thankyou-page/credit.php:14
     1445msgid "Your credit card payment failed. Please try again"
     1446msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official-pt_BR.po

    r3393160 r3404173  
    426426
    427427#: app/Controllers/Gateways/Credit.php:415
    428 #: app/Controllers/Gateways/Gateway.php:644
     428#: app/Controllers/Gateways/Gateway.php:647
    429429msgid "Invalid address fields! Please check that the fields are filled in correctly."
    430430msgstr "Campos de endereço inválidos! Por favor, verifique se os campos estão preenchidos corretamente."
    431431
    432 #: app/Controllers/Gateways/Gateway.php:95
     432#: app/Controllers/Gateways/Gateway.php:98
    433433msgid "An unknown error has occurred. Please, contact Us."
    434434msgstr "Ocorreu um erro desconhecido. Por favor, entre em contato conosco."
    435435
    436 #: app/Controllers/Gateways/Gateway.php:143
     436#: app/Controllers/Gateways/Gateway.php:146
    437437msgid "Refund failed."
    438438msgstr "Falha no reembolso."
    439439
    440 #: app/Controllers/Gateways/Gateway.php:167
     440#: app/Controllers/Gateways/Gateway.php:170
    441441msgid "Waiting for credit confirmation from Koin."
    442442msgstr "Aguardando confirmação de crédito da Koin."
    443443
    444 #: app/Controllers/Gateways/Gateway.php:175
     444#: app/Controllers/Gateways/Gateway.php:178
    445445msgid "Test mode activate! In this mode transactions are not real."
    446446msgstr "Modo de teste ativado! Neste modo as transações não são reais."
    447447
    448 #: app/Controllers/Gateways/Gateway.php:190
     448#: app/Controllers/Gateways/Gateway.php:193
    449449msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    450450msgstr "Pagamento rejeitado! A transação foi recusada devido a um erro de processamento. Por favor, entre em contato conosco."
    451451
    452 #: app/Controllers/Gateways/Gateway.php:196
     452#: app/Controllers/Gateways/Gateway.php:199
    453453msgid "Payment rejected! It was not possible to make the payment."
    454454msgstr "Pagamento rejeitado! Não foi possível realizar o pagamento."
    455455
    456 #: app/Controllers/Gateways/Gateway.php:225
     456#: app/Controllers/Gateways/Gateway.php:228
    457457#: app/Controllers/Webhooks/Order.php:131
    458458msgid "Order captured:"
    459459msgstr "Pedido capturado:"
    460460
    461 #: app/Controllers/Gateways/Gateway.php:256
     461#: app/Controllers/Gateways/Gateway.php:259
    462462msgid "It was not possible to make the payment. Payment rejected!"
    463463msgstr "Não foi possível realizar o pagamento. Pagamento rejeitado!"
    464464
    465 #: app/Controllers/Gateways/Gateway.php:923
     465#: app/Controllers/Gateways/Gateway.php:926
    466466msgid "Payment method discount"
    467467msgstr "Desconto do método de pagamento"
     
    530530msgstr "Erro ao fazer a solicitação"
    531531
    532 #: app/Controllers/Koin.php:148
     532#: app/Controllers/Koin.php:146
    533533msgid "Missing required parameters for refund."
    534534msgstr "Parâmetros necessários para reembolso ausentes."
    535535
    536 #: app/Controllers/Koin.php:159
     536#: app/Controllers/Koin.php:157
    537537msgid "Failed to process refund request."
    538538msgstr "Falha ao processar a solicitação de reembolso."
     
    965965msgstr "Para visualizar os logs clique no link: "
    966966
    967 #: app/Controllers/Status.php:32
     967#: app/Controllers/Status.php:33
    968968msgid "Awaiting payment"
    969969msgstr "Aguardando pagamento"
    970970
    971 #: app/Controllers/Status.php:33
     971#: app/Controllers/Status.php:34
    972972msgid "Under analysist"
    973973msgstr "Em análise"
     
    10461046msgstr "neste link"
    10471047
    1048 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1048#: app/Services/Koin/Requests/Orders/Refund.php:40
    10491049msgid "Invalid order ID or Koin order ID"
    10501050msgstr "ID do pedido ou ID do pedido Koin inválido"
    10511051
    1052 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1052#: app/Services/Koin/Requests/Orders/Refund.php:62
    10531053msgid "Error"
    10541054msgstr "Erro"
    10551055
    1056 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1056#: app/Services/Koin/Requests/Orders/Refund.php:69
    10571057msgid "==== KOIN REFUND SUCCESS ===="
    10581058msgstr "==== REEMBOLSO KOIN BEM-SUCEDIDO ===="
    10591059
    1060 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1060#: app/Services/Koin/Requests/Orders/Refund.php:72
    10611061msgid "The refund was processed successfully."
    10621062msgstr "O reembolso foi processado com sucesso."
    10631063
    1064 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1064#: app/Services/Koin/Requests/Orders/Refund.php:79
    10651065msgid "The refund worked successfully."
    10661066msgstr "O reembolso funcionou com sucesso."
    10671067
    1068 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1068#: app/Services/Koin/Requests/Orders/Refund.php:91
    10691069msgid "==== KOIN REFUND ERROR ===="
    10701070msgstr "==== ERRO DE REEMBOLSO KOIN ===="
     
    13791379msgstr "Juros do Cartão"
    13801380
    1381 #: app/Controllers/Gateways/Gateway.php:193
     1381#: app/Controllers/Gateways/Gateway.php:196
    13821382msgid "Payment rejected! Invalid card details. Please, try again."
    13831383msgstr "Pagamento rejeitado! Dados do cartão inválidos. Por favor, tente novamente."
     
    13991399msgstr "Cartão de Débito"
    14001400
    1401 #: app/Views/templates/thankyou-page/credit.php:9
     1401#: app/Views/templates/thankyou-page/credit.php:17
    14021402msgid "Card payment successful!"
    14031403msgstr "Pagamento com cartão realizado com sucesso!"
     
    14071407msgid "Credit or Debit Card - Koin"
    14081408msgstr "Cartão de Crédito ou Débito - Koin"
     1409
     1410#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1411msgid "Awaiting Analysis Order"
     1412msgstr "Pedido Em Análise"
     1413
     1414#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1415msgid "This email is sent to customers when their order is under analysis."
     1416msgstr "Este e-mail é enviado aos clientes quando seu pedido está em análise."
     1417
     1418#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1419msgid "Your {site_title} order has been received"
     1420msgstr "Seu pedido de {site_title} foi recebido"
     1421
     1422#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1423msgid "Thank you for your order"
     1424msgstr "Obrigado pelo seu pedido"
     1425
     1426#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1427msgid "We will notify you once your payment has been confirmed."
     1428msgstr "Vamos notificá-lo assim que seu pagamento for confirmado."
     1429
     1430#. translators: %s: Customer first name
     1431#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1432#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1433msgid "Hi %s,"
     1434msgstr "Olá %s,"
     1435
     1436#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1437#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1438msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1439msgstr "Seu pedido foi recebido e está em análise. Vamos notificá-lo assim que seu pagamento for confirmado."
     1440
     1441#: app/Views/templates/thankyou-page/credit.php:11
     1442msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1443msgstr "Seu pagamento com cartão de crédito está em análise. Notificaremos você assim que for confirmado."
     1444
     1445#: app/Views/templates/thankyou-page/credit.php:14
     1446msgid "Your credit card payment failed. Please try again"
     1447msgstr "Seu pagamento com cartão de crédito falhou. Por favor, tente novamente"
  • wc-koin-official/tags/1.3.17/languages/wc-koin-official.pot

    r3393160 r3404173  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Koin Official Payments 1.3.16\n"
     5"Project-Id-Version: Koin Official Payments 1.3.17\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-koin-official\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-11-10T16:19:14+00:00\n"
     12"POT-Creation-Date: 2025-11-27T14:05:56+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    199199msgstr ""
    200200
     201#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     202msgid "Awaiting Analysis Order"
     203msgstr ""
     204
     205#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     206msgid "This email is sent to customers when their order is under analysis."
     207msgstr ""
     208
     209#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     210msgid "Your {site_title} order has been received"
     211msgstr ""
     212
     213#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     214msgid "Thank you for your order"
     215msgstr ""
     216
     217#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     218msgid "We will notify you once your payment has been confirmed."
     219msgstr ""
     220
    201221#: app/Controllers/Gateways/Billet.php:27
    202222msgid "Koin - Installment Pix (Pay in installments without a card)"
     
    483503
    484504#: app/Controllers/Gateways/Credit.php:415
    485 #: app/Controllers/Gateways/Gateway.php:644
     505#: app/Controllers/Gateways/Gateway.php:647
    486506msgid "Invalid address fields! Please check that the fields are filled in correctly."
    487507msgstr ""
     
    491511msgstr ""
    492512
    493 #: app/Controllers/Gateways/Gateway.php:95
     513#: app/Controllers/Gateways/Gateway.php:98
    494514msgid "An unknown error has occurred. Please, contact Us."
    495515msgstr ""
    496516
    497 #: app/Controllers/Gateways/Gateway.php:143
     517#: app/Controllers/Gateways/Gateway.php:146
    498518msgid "Refund failed."
    499519msgstr ""
    500520
    501 #: app/Controllers/Gateways/Gateway.php:167
     521#: app/Controllers/Gateways/Gateway.php:170
    502522msgid "Waiting for credit confirmation from Koin."
    503523msgstr ""
    504524
    505 #: app/Controllers/Gateways/Gateway.php:175
     525#: app/Controllers/Gateways/Gateway.php:178
    506526msgid "Test mode activate! In this mode transactions are not real."
    507527msgstr ""
    508528
    509 #: app/Controllers/Gateways/Gateway.php:190
     529#: app/Controllers/Gateways/Gateway.php:193
    510530msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    511531msgstr ""
    512532
    513 #: app/Controllers/Gateways/Gateway.php:193
     533#: app/Controllers/Gateways/Gateway.php:196
    514534msgid "Payment rejected! Invalid card details. Please, try again."
    515535msgstr ""
    516536
    517 #: app/Controllers/Gateways/Gateway.php:196
     537#: app/Controllers/Gateways/Gateway.php:199
    518538msgid "Payment rejected! It was not possible to make the payment."
    519539msgstr ""
    520540
    521 #: app/Controllers/Gateways/Gateway.php:225
     541#: app/Controllers/Gateways/Gateway.php:228
    522542#: app/Controllers/Webhooks/Order.php:131
    523543msgid "Order captured:"
    524544msgstr ""
    525545
    526 #: app/Controllers/Gateways/Gateway.php:256
     546#: app/Controllers/Gateways/Gateway.php:259
    527547msgid "It was not possible to make the payment. Payment rejected!"
    528548msgstr ""
    529549
    530 #: app/Controllers/Gateways/Gateway.php:923
     550#: app/Controllers/Gateways/Gateway.php:926
    531551msgid "Payment method discount"
    532552msgstr ""
     
    595615msgstr ""
    596616
    597 #: app/Controllers/Koin.php:148
     617#: app/Controllers/Koin.php:146
    598618msgid "Missing required parameters for refund."
    599619msgstr ""
    600620
    601 #: app/Controllers/Koin.php:159
     621#: app/Controllers/Koin.php:157
    602622msgid "Failed to process refund request."
    603623msgstr ""
     
    11141134msgstr ""
    11151135
    1116 #: app/Controllers/Status.php:32
     1136#: app/Controllers/Status.php:33
    11171137msgid "Awaiting payment"
    11181138msgstr ""
    11191139
    1120 #: app/Controllers/Status.php:33
     1140#: app/Controllers/Status.php:34
    11211141msgid "Under analysist"
    11221142msgstr ""
     
    11951215msgstr ""
    11961216
    1197 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1217#: app/Services/Koin/Requests/Orders/Refund.php:40
    11981218msgid "Invalid order ID or Koin order ID"
    11991219msgstr ""
    12001220
    1201 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1221#: app/Services/Koin/Requests/Orders/Refund.php:62
    12021222msgid "Error"
    12031223msgstr ""
    12041224
    1205 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1225#: app/Services/Koin/Requests/Orders/Refund.php:69
    12061226msgid "==== KOIN REFUND SUCCESS ===="
    12071227msgstr ""
    12081228
    1209 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1229#: app/Services/Koin/Requests/Orders/Refund.php:72
    12101230msgid "The refund was processed successfully."
    12111231msgstr ""
    12121232
    1213 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1233#: app/Services/Koin/Requests/Orders/Refund.php:79
    12141234msgid "The refund worked successfully."
    12151235msgstr ""
    12161236
    1217 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1237#: app/Services/Koin/Requests/Orders/Refund.php:91
    12181238msgid "==== KOIN REFUND ERROR ===="
    12191239msgstr ""
     
    13371357msgstr ""
    13381358
     1359#. translators: %s: Customer first name
     1360#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1361#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1362msgid "Hi %s,"
     1363msgstr ""
     1364
     1365#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1366#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1367msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1368msgstr ""
     1369
    13391370#: app/Views/templates/myaccount/koin-orders.php:33
    13401371msgctxt "hash before order number"
     
    13741405msgstr ""
    13751406
    1376 #: app/Views/templates/thankyou-page/credit.php:9
     1407#: app/Views/templates/thankyou-page/credit.php:11
     1408msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1409msgstr ""
     1410
     1411#: app/Views/templates/thankyou-page/credit.php:14
     1412msgid "Your credit card payment failed. Please try again"
     1413msgstr ""
     1414
     1415#: app/Views/templates/thankyou-page/credit.php:17
    13771416msgid "Card payment successful!"
    13781417msgstr ""
  • wc-koin-official/tags/1.3.17/readme.txt

    r3393160 r3404173  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.3.16
     6Stable tag: 1.3.17
    77Requires PHP: 7.4
    88License: GPLv3
     
    4242
    4343== Changelog ==
     44
     45= 1.3.17 = - 2025-11-27
     46- Added email template for "Under Analysis" status
     47- Fixes in cancellation and refund processing
     48- Fix in logic for restocking rejected orders
    4449
    4550= 1.3.16 = - 2025-11-10
  • wc-koin-official/tags/1.3.17/vendor/composer/installed.json

    r3393160 r3404173  
    11{
    22    "packages": [],
    3     "dev": false,
     3    "dev": true,
    44    "dev-package-names": []
    55}
  • wc-koin-official/tags/1.3.17/vendor/composer/installed.php

    r3393160 r3404173  
    22    'root' => array(
    33        'name' => 'apiki/wc-koin-official',
    4         'pretty_version' => '1.3.15',
    5         'version' => '1.3.15.0',
     4        'pretty_version' => '1.3.17',
     5        'version' => '1.3.17.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    99        'aliases' => array(),
    10         'dev' => false,
     10        'dev' => true,
    1111    ),
    1212    'versions' => array(
    1313        'apiki/wc-koin-official' => array(
    14             'pretty_version' => '1.3.15',
    15             'version' => '1.3.15.0',
     14            'pretty_version' => '1.3.17',
     15            'version' => '1.3.17.0',
    1616            'reference' => null,
    1717            'type' => 'wordpress-plugin',
  • wc-koin-official/tags/1.3.17/wc-koin-official.php

    r3393160 r3404173  
    44 * Plugin Name: Koin Official Payments
    55 * Plugin URI:  https://github.com/koinlatam
    6  * Version:     1.3.16
     6 * Version:     1.3.17
    77 * Description: Koin Official Payments Gateways
    88 * Text Domain: wc-koin-official
  • wc-koin-official/trunk/app/Controllers/Gateways/Gateway.php

    r3393160 r3404173  
    5454                do_action('wc_koin_official-after_success_order', $wc_order);
    5555
    56                 $wc_order->update_status(
    57                     $status,
    58                     sprintf(
    59                         "<strong>%s</strong> :",
    60                         WKO_PLUGIN_NAME
    61                     ),
    62                     false
    63                 );
     56                //If the order will be captured instantly, don't go through an intermediate status
     57                if ($koin_status->type !== 'Authorized') {
     58                    $wc_order->update_status(
     59                        $status,
     60                        sprintf(
     61                            "<strong>%s</strong> :",
     62                            WKO_PLUGIN_NAME
     63                        ),
     64                        false
     65                    );
     66                }
    6467
    6568                $this->finishSuccessOrder($wc_order, $body);
     
    160163        global $woocommerce;
    161164
    162         wc_reduce_stock_levels($order->get_id());
     165        wc_maybe_reduce_stock_levels($order->get_id());
    163166
    164167        $order->add_order_note(sprintf(
     
    810813        $discount = 0;
    811814
    812         foreach ($wc_order->get_items('fee') as $item_id => $item_fee) {
     815        foreach ($wc_order->get_items('fee') as $item_fee) {
    813816            $total = floatval($item_fee->get_total());
    814817
  • wc-koin-official/trunk/app/Controllers/Koin.php

    r3279008 r3404173  
    1717 * @since 1.0.0
    1818 */
    19 class Koin 
     19class Koin
    2020{
    2121    private $meta;
    2222    private $logs;
    2323
    24     public function __construct()
    25     {
     24    public function __construct()
     25    {
    2626        $this->meta = new PostMeta;
    2727        $this->logs = new Logs;
    28     }
     28    }
    2929
    3030    /**
     
    3535     * @return array
    3636     */
    37     public function get_order( $order_id, $koin_order_id = false )
     37    public function get_order($order_id, $koin_order_id = false)
    3838    {
    39         if ( ! $koin_order_id ) {
    40             $koin_order_id = $this->meta->get( $order_id, 'koin_order_id' );
     39        if (! $koin_order_id) {
     40            $koin_order_id = $this->meta->get($order_id, '_order_id');
    4141
    42             if ( ! $koin_order_id || ! intval( $koin_order_id ) ) {
     42            if (! $koin_order_id) {
    4343                return [
    4444                    'success'   => false,
    45                     'message' => __( 'Could not fetch order_id from database.', 'wc-koin-official' )
     45                    'message' => __('Could not fetch order_id from database.', 'wc-koin-official')
    4646                ];
    4747            }
    4848        }
    4949
    50         $koin = new Get( $koin_order_id );
     50        $koin = new Get($koin_order_id);
    5151        $response = $koin->handle_request();
    5252
    53         if ( is_wp_error( $response ) || ! $response ) {
     53        if (is_wp_error($response) || ! $response) {
    5454
    55             $message = __( 'Error when making the request', 'wc-koin-official' );
     55            $message = __('Error when making the request', 'wc-koin-official');
    5656
    57             $this->logs->get_order_error( $message, $response );
     57            $this->logs->get_order_error($message, $response);
    5858
    5959            return [
     
    7272     * @return array
    7373     */
    74     public function create_order( $body )
     74    public function create_order($body)
    7575    {
    76         $koin = new Create( $body );
     76        $koin = new Create($body);
    7777        $response = $koin->handle_request();
    7878
    79         if ( is_wp_error( $response ) || ! $response ) {
     79        if (is_wp_error($response) || ! $response) {
    8080
    81             $message = __( 'Error when making the request', 'wc-koin-official' );
     81            $message = __('Error when making the request', 'wc-koin-official');
    8282
    83             $this->logs->create_order_error( $message, $response );
     83            $this->logs->create_order_error($message, $response);
    8484
    8585            return [
     
    9393
    9494    /**
    95      * 
     95     *
    9696     */
    9797    public function capture_order($order_id)
     
    100100        $response = $request->handle_request();
    101101
    102         if (!is_wp_error( $response )) {
     102        if (!is_wp_error($response)) {
    103103            return $response;
    104104        }
     
    118118     * @return array
    119119     */
    120     public function cancel_order( $order_id, $koin_order_id )
     120    public function cancel_order($order_id, $koin_order_id)
    121121    {
    122         if ( ! $order_id || ! $koin_order_id ) {
     122        if (! $order_id || ! $koin_order_id) {
    123123            return [
    124124                'error'   => true,
    125                 'message' => __( 'Could not fetch order_id from database.', 'wc-koin-official' )
     125                'message' => __('Could not fetch order_id from database.', 'wc-koin-official')
    126126            ];
    127127        }
    128128
    129         $koin = new Cancel( $koin_order_id );
    130         $response = $koin->handle_request();
    131 
    132         return $response;
     129        $koin = new Cancel($koin_order_id);
     130        return $koin->handle_request();
    133131    }
    134132
     
    151149
    152150        $koin = new Refund($body);
    153        
     151
    154152        $response = $koin->handle_request();
    155153
  • wc-koin-official/trunk/app/Controllers/Render/CreditThankyou.php

    r2951603 r3404173  
    99/**
    1010 * Render the credit thankyou page
    11  * 
     11 *
    1212 * @package Controller\Render
    1313 * @since 1.0.0
     
    2424    private function get_order()
    2525    {
    26         $key = sanitize_text_field( $_REQUEST['key'] );
     26        $key = sanitize_text_field($_REQUEST['key']);
    2727
    28         if ( $key ) {
    29             $order = wc_get_order_id_by_order_key( $key );
     28        if ($key) {
     29            $order = wc_get_order_id_by_order_key($key);
     30            $this->vars['order'] = $order;
    3031            $this->get_metas($order);
    3132        }
     
    4849    private function get_logo()
    4950    {
    50         $this->vars['logo'] = Config::__image( 'koin/b-koin-258.png' );
     51        $this->vars['logo'] = Config::__image('koin/b-koin-258.png');
    5152    }
    5253
     
    5556        $this->get_order();
    5657        $this->get_logo();
    57        
    58         $this->render( 'templates/thankyou-page/credit.php', $this->vars );
     58
     59        $this->render('templates/thankyou-page/credit.php', $this->vars);
    5960    }
    6061}
  • wc-koin-official/trunk/app/Controllers/Status.php

    r3155300 r3404173  
    1414class Status
    1515{
    16     public function __construct()
    17     {
     16    public function __construct()
     17    {
    1818        $this->register_koin_custom_statuses();
    1919
    20         add_filter( 'wc_order_statuses', [ $this, 'add_koin_custom_statuses' ], 10, 1 );
    21         add_action( 'woocommerce_order_status_changed', [ $this, 'on_koin_status_changed' ], 10, 3 );
    22     }
     20        add_filter('wc_order_statuses', [$this, 'add_koin_custom_statuses'], 10, 1);
     21        add_action('woocommerce_order_status_changed', [$this, 'on_koin_status_changed'], 10, 3);
     22        add_action('woocommerce_order_status_awaiting-analysis_to_failed', [$this, 'maybeRestoreStock'], 10);
     23    }
    2324
    2425    /**
     
    3031    {
    3132        return [
    32             'wc-awaiting-payment'  => __( 'Awaiting payment', 'wc-koin-official' ),
    33             'wc-awaiting-analysis' => __( 'Under analysist', 'wc-koin-official' )
     33            'wc-awaiting-payment'  => __('Awaiting payment', 'wc-koin-official'),
     34            'wc-awaiting-analysis' => __('Under analysist', 'wc-koin-official')
    3435        ];
    3536    }
     
    4445        $statuses = $this->get_koin_status();
    4546
    46         foreach( $statuses as $key => $status ) {
    47             register_post_status( $key, [
    48                 'label'                     => $status ,
     47        foreach ($statuses as $key => $status) {
     48            register_post_status($key, [
     49                'label'                     => $status,
    4950                'public'                    => true,
    5051                'exclude_from_search'       => false,
    5152                'show_in_admin_all_list'    => true,
    5253                'show_in_admin_status_list' => true,
    53             ] );
     54            ]);
    5455        }
    5556    }
     
    6162     * @return array
    6263     */
    63     public function add_koin_custom_statuses( $order_statuses ) {
     64    public function add_koin_custom_statuses($order_statuses)
     65    {
    6466        $statuses = $this->get_koin_status();
    6567
    66         foreach( $statuses as $key => $status ) {
     68        foreach ($statuses as $key => $status) {
    6769            if (!isset($order_statuses[$key])) {
    6870                $order_statuses[$key] = $status;
     
    8183     * @return void
    8284     */
    83     public function on_koin_status_changed( $id, $from, $to )
     85    public function on_koin_status_changed($id, $from, $to)
    8486    {
    85         $order = wc_get_order( $id );
     87        $order = wc_get_order($id);
    8688
    8789        $payment_method  = $order->get_payment_method();
    8890        $payment_methods = Utils::koin_payment_methods();
    8991
    90         if ( array_intersect( $payment_methods, [ $payment_method ] ) ) {
    91             if ( $to === 'cancelled' ) {
    92                 new CancellOrder( $id );
     92        if (array_intersect($payment_methods, [$payment_method]) && $to === 'cancelled') {
     93            $koin = new Koin();
     94            $koin_response = $koin->get_order($id);
     95
     96            $should_cancel = false;
     97            $koin_status = null;
     98
     99            if (! isset($koin_response['error']) && isset($koin_response['body'])) {
     100                $body = json_decode($koin_response['body']);
     101
     102                if (isset($body->status->type)) {
     103                    $koin_status = $body->status->type;
     104
     105                    $cancellable_statuses = ['Opened', 'Authorized'];
     106
     107                    if (in_array($koin_status, $cancellable_statuses)) {
     108                        $should_cancel = true;
     109                    }
     110                }
     111            }
     112
     113            if ($should_cancel) {
     114                new CancellOrder($id);
    93115            }
    94116        }
    95117    }
    96118
     119    /**
     120     * Restores stock levels for an order if the payment method is a Koin payment method.
     121     *
     122     * This method is triggered when an order status changes from awaiting-analysis to failed. It checks if the order
     123     * uses a Koin payment method and, if so, attempts to restore the stock levels
     124     * for the order items.
     125     *
     126     * @param int    $order_id    The ID of the order being processed.
     127     * @return void
     128     */
     129    public function maybeRestoreStock($order_id)
     130    {
     131        $order = wc_get_order($order_id);
     132
     133
     134        $payment_method = $order->get_payment_method();
     135        $payment_methods = Utils::koin_payment_methods();
     136
     137        if (!in_array($payment_method, $payment_methods)) {
     138            return;
     139        }
     140
     141        wc_maybe_increase_stock_levels($order_id);
     142    }
    97143}
  • wc-koin-official/trunk/app/Controllers/Woocommerce.php

    r3364572 r3404173  
    9393        new Webhooks;
    9494        new Status;
     95        new Emails;
    9596        new CheckoutFieldManager;
    9697        new BlockCheckoutFieldManager;
  • wc-koin-official/trunk/app/Helpers/Config.php

    r3393160 r3404173  
    9595    public static function __version()
    9696    {
    97         return '1.3.16';
     97        return '1.3.17';
    9898    }
    9999
  • wc-koin-official/trunk/app/Helpers/Hooks.php

    r3355584 r3404173  
    44
    55
     6use WKO\Controllers\Emails;
    67use WKO\Controllers\Woocommerce;
    78
     
    8081    'registerGatewayUpdateTotal'
    8182]);
     83
     84add_filter('woocommerce_email_classes', [
     85    'WKO\Controllers\Emails',
     86    'register_email_classes'
     87], 10, 1);
     88
     89add_filter('woocommerce_email_actions', [
     90    'WKO\Controllers\Emails',
     91    'add_email_actions'
     92], 10, 1);
     93
     94add_action('plugins_loaded', function () {
     95    new Emails();
     96}, 20);
  • wc-koin-official/trunk/app/Services/Koin/Requests/Orders/Refund.php

    r3393160 r3404173  
    2828        $this->order_id = $body['order_id'];
    2929        $this->koin_order_id = $this->post_m->get($body['order_id'], '_order_id');
     30        $this->header   = [];
    3031    }
    3132
  • wc-koin-official/trunk/app/Services/Koin/Requests/Request.php

    r3258688 r3404173  
    2828    protected function send()
    2929    {
    30         $_header = [
     30        $default_header = [
    3131            'Accept'           => 'application/json',
    3232            'Content-Type'     => 'application/json',
    3333            'W-Module-Version' => HelpersConfig::__version(),
    34             'Authorization'    => $this->get_auth()
     34            'Authorization'    => $this->get_auth(),
     35            'Content-Length'   => $this->body ? strlen(json_encode($this->body)) : 0
    3536        ];
    3637
    37         $header = array_merge($_header, $this->header);
    38 
    39         if (! $this->body) {
    40             $this->body = [];
    41         }
     38        $header = is_array($this->header) ? array_merge($default_header, $this->header) : $default_header;
    4239
    4340        $args = [
    4441            'headers' => $header,
    4542            'timeout' => 10000,
    46             'body'    => json_encode($this->body),
    4743            'method'  => $this->method
    4844        ];
     45
     46        if ($this->body) {
     47            $args['body'] = json_encode($this->body);
     48        }
    4949
    5050        if (get_option('wc_koin_settings_environment') === 'sandbox') {
  • wc-koin-official/trunk/app/Views/templates/thankyou-page/credit.php

    r3377575 r3404173  
    11<?php
    2 if (! defined('ABSPATH')) exit;
     2if (! defined('ABSPATH')) {
     3    exit;
     4}
    35
     6$order_status = wc_get_order($order)->get_status();
     7
     8// Define message based on order status
     9switch ($order_status) {
     10    case 'awaiting-analysis':
     11        $message = __('Your credit card payment is under analysis. We will notify you as soon as it is confirmed.', 'wc-koin-official');
     12        break;
     13    case 'failed':
     14        $message = __('Your credit card payment failed. Please try again', 'wc-koin-official');
     15        break;
     16    default:
     17        $message = __('Card payment successful!', 'wc-koin-official');
     18        break;
     19}
    420?>
    521
     
    723    <img src="<?php echo esc_url($logo) ?>" alt="Koin Logo">
    824    <div>
    9         <p><?php echo esc_html__("Card payment successful!", 'wc-koin-official'); ?></p>
     25        <p><?php echo esc_html($message); ?></p>
    1026    </div>
    1127</div>
  • wc-koin-official/trunk/composer.json

    r3393160 r3404173  
    33    "description": "Koin Official Payments for Woocommerce",
    44    "type": "wordpress-plugin",
    5     "version": "1.3.16",
     5    "version": "1.3.17",
    66    "license": "GPL-3.0",
    77    "require": {
  • wc-koin-official/trunk/languages/wc-koin-official-es_AR.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en cuotas (Pague en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr "Reembolso fallido."
    11451145
    1146 #: app/Controllers/Koin.php:148
     1146#: app/Controllers/Koin.php:146
    11471147msgid "Missing required parameters for refund."
    11481148msgstr "Faltan parámetros necesarios para el reembolso."
    11491149
    1150 #: app/Controllers/Koin.php:159
     1150#: app/Controllers/Koin.php:157
    11511151msgid "Failed to process refund request."
    11521152msgstr "Error al procesar la solicitud de reembolso."
     
    11961196msgstr "Pedido recibido y en análisis."
    11971197
    1198 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1198#: app/Services/Koin/Requests/Orders/Refund.php:40
    11991199msgid "Invalid order ID or Koin order ID"
    12001200msgstr "ID de pedido o ID de pedido de Koin inválido"
    12011201
    1202 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1202#: app/Services/Koin/Requests/Orders/Refund.php:62
    12031203msgid "Error"
    12041204msgstr "Error"
    12051205
    1206 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1206#: app/Services/Koin/Requests/Orders/Refund.php:69
    12071207msgid "==== KOIN REFUND SUCCESS ===="
    12081208msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12091209
    1210 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1210#: app/Services/Koin/Requests/Orders/Refund.php:72
    12111211msgid "The refund was processed successfully."
    12121212msgstr "El reembolso se procesó con éxito."
    12131213
    1214 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1214#: app/Services/Koin/Requests/Orders/Refund.php:79
    12151215msgid "The refund worked successfully."
    12161216msgstr "El reembolso funcionó con éxito."
    12171217
    1218 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1218#: app/Services/Koin/Requests/Orders/Refund.php:91
    12191219msgid "==== KOIN REFUND ERROR ===="
    12201220msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    13781378msgstr "Interés de la tarjeta"
    13791379
    1380 #: app/Controllers/Gateways/Gateway.php:193
     1380#: app/Controllers/Gateways/Gateway.php:196
    13811381msgid "Payment rejected! Invalid card details. Please, try again."
    13821382msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13981398msgstr "Tarjeta de débito"
    13991399
    1400 #: app/Views/templates/thankyou-page/credit.php:9
     1400#: app/Views/templates/thankyou-page/credit.php:17
    14011401msgid "Card payment successful!"
    14021402msgstr "¡Pago con tarjeta exitoso!"
     
    14061406msgid "Credit or Debit Card - Koin"
    14071407msgstr "Tarjeta de crédito o débito - Koin"
     1408
     1409#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1410msgid "Awaiting Analysis Order"
     1411msgstr "En análisis"
     1412
     1413#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1414msgid "This email is sent to customers when their order is under analysis."
     1415msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1416
     1417#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1418msgid "Your {site_title} order has been received"
     1419msgstr "Se ha recibido tu pedido de {site_title}"
     1420
     1421#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1422msgid "Thank you for your order"
     1423msgstr "Gracias por tu pedido"
     1424
     1425#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1426msgid "We will notify you once your payment has been confirmed."
     1427msgstr "Te notificaremos una vez que se confirme tu pago."
     1428
     1429#. translators: %s: Customer first name
     1430#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1431#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1432msgid "Hi %s,"
     1433msgstr "Hola %s,"
     1434
     1435#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1436#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1437msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1438msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1439
     1440#: app/Views/templates/thankyou-page/credit.php:11
     1441msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1442msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1443
     1444#: app/Views/templates/thankyou-page/credit.php:14
     1445msgid "Your credit card payment failed. Please try again"
     1446msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/trunk/languages/wc-koin-official-es_CL.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en Cuotas (Paga en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr ""
     
    11461146"stage"
    11471147
    1148 #: app/Controllers/Koin.php:148
     1148#: app/Controllers/Koin.php:146
    11491149msgid "Missing required parameters for refund."
    11501150msgstr "Faltan parámetros requeridos para el reembolso."
     
    11941194msgstr "Pedido recibido y en análisis."
    11951195
    1196 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1196#: app/Services/Koin/Requests/Orders/Refund.php:40
    11971197msgid "Invalid order ID or Koin order ID"
    11981198msgstr "ID de pedido o ID de pedido Koin inválido"
    11991199
    1200 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1200#: app/Services/Koin/Requests/Orders/Refund.php:62
    12011201msgid "Error"
    12021202msgstr "Error"
    12031203
    1204 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1204#: app/Services/Koin/Requests/Orders/Refund.php:69
    12051205msgid "==== KOIN REFUND SUCCESS ===="
    12061206msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12071207
    1208 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1208#: app/Services/Koin/Requests/Orders/Refund.php:72
    12091209msgid "The refund was processed successfully."
    12101210msgstr "El reembolso fue procesado exitosamente."
    12111211
    1212 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1212#: app/Services/Koin/Requests/Orders/Refund.php:79
    12131213msgid "The refund worked successfully."
    12141214msgstr "El reembolso funcionó exitosamente."
    12151215
    1216 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1216#: app/Services/Koin/Requests/Orders/Refund.php:91
    12171217msgid "==== KOIN REFUND ERROR ===="
    12181218msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    12381238msgstr "Ingrese la meta_key de su campo de documento existente en el proceso de pago que debe ser utilizado por Koin. Este campo es obligatorio cuando 'Sobrescribir campos de documento' está habilitado."
    12391239
    1240 #: app/Controllers/Koin.php:159
     1240#: app/Controllers/Koin.php:157
    12411241msgid "Failed to process refund request."
    12421242msgstr "Error al procesar la solicitud de reembolso."
     
    13801380msgstr "Interés de la tarjeta"
    13811381
    1382 #: app/Controllers/Gateways/Gateway.php:193
     1382#: app/Controllers/Gateways/Gateway.php:196
    13831383msgid "Payment rejected! Invalid card details. Please, try again."
    13841384msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    14001400msgstr "Tarjeta de débito"
    14011401
    1402 #: app/Views/templates/thankyou-page/credit.php:9
     1402#: app/Views/templates/thankyou-page/credit.php:17
    14031403msgid "Card payment successful!"
    14041404msgstr "¡Pago con tarjeta exitoso!"
     
    14081408msgid "Credit or Debit Card - Koin"
    14091409msgstr "Tarjeta de crédito o débito - Koin"
     1410
     1411#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1412msgid "Awaiting Analysis Order"
     1413msgstr "En análisis"
     1414
     1415#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1416msgid "This email is sent to customers when their order is under analysis."
     1417msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1418
     1419#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1420msgid "Your {site_title} order has been received"
     1421msgstr "Se ha recibido tu pedido de {site_title}"
     1422
     1423#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1424msgid "Thank you for your order"
     1425msgstr "Gracias por tu pedido"
     1426
     1427#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1428msgid "We will notify you once your payment has been confirmed."
     1429msgstr "Te notificaremos una vez que se confirme tu pago."
     1430
     1431#. translators: %s: Customer first name
     1432#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1433#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1434msgid "Hi %s,"
     1435msgstr "Hola %s,"
     1436
     1437#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1438#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1439msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1440msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1441
     1442#: app/Views/templates/thankyou-page/credit.php:11
     1443msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1444msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1445
     1446#: app/Views/templates/thankyou-page/credit.php:14
     1447msgid "Your credit card payment failed. Please try again"
     1448msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/trunk/languages/wc-koin-official-es_CO.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en Cuotas (Pague en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr ""
     
    11461146"stage"
    11471147
    1148 #: app/Controllers/Koin.php:148
     1148#: app/Controllers/Koin.php:146
    11491149msgid "Missing required parameters for refund."
    11501150msgstr "Faltan parámetros requeridos para el reembolso."
     
    11941194msgstr "Pedido recibido y en análisis."
    11951195
    1196 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1196#: app/Services/Koin/Requests/Orders/Refund.php:40
    11971197msgid "Invalid order ID or Koin order ID"
    11981198msgstr "ID de pedido o ID de pedido Koin inválido"
    11991199
    1200 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1200#: app/Services/Koin/Requests/Orders/Refund.php:62
    12011201msgid "Error"
    12021202msgstr "Error"
    12031203
    1204 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1204#: app/Services/Koin/Requests/Orders/Refund.php:69
    12051205msgid "==== KOIN REFUND SUCCESS ===="
    12061206msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12071207
    1208 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1208#: app/Services/Koin/Requests/Orders/Refund.php:72
    12091209msgid "The refund was processed successfully."
    12101210msgstr "El reembolso fue procesado exitosamente."
    12111211
    1212 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1212#: app/Services/Koin/Requests/Orders/Refund.php:79
    12131213msgid "The refund worked successfully."
    12141214msgstr "El reembolso funcionó exitosamente."
    12151215
    1216 #: app/Controllers/Koin.php:159
     1216#: app/Controllers/Koin.php:157
    12171217msgid "Failed to process refund request."
    12181218msgstr "Error al procesar la solicitud de reembolso."
    12191219
    1220 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1220#: app/Services/Koin/Requests/Orders/Refund.php:91
    12211221msgid "==== KOIN REFUND ERROR ===="
    12221222msgstr "==== ERROR DE REEMBOLSO DE KOIN ===="
     
    13801380msgstr "Interés de la tarjeta"
    13811381
    1382 #: app/Controllers/Gateways/Gateway.php:193
     1382#: app/Controllers/Gateways/Gateway.php:196
    13831383msgid "Payment rejected! Invalid card details. Please, try again."
    13841384msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    14001400msgstr "Tarjeta de débito"
    14011401
    1402 #: app/Views/templates/thankyou-page/credit.php:9
     1402#: app/Views/templates/thankyou-page/credit.php:17
    14031403msgid "Card payment successful!"
    14041404msgstr "¡Pago con tarjeta exitoso!"
     
    14081408msgid "Credit or Debit Card - Koin"
    14091409msgstr "Tarjeta de crédito o débito - Koin"
     1410
     1411#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1412msgid "Awaiting Analysis Order"
     1413msgstr "En análisis"
     1414
     1415#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1416msgid "This email is sent to customers when their order is under analysis."
     1417msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1418
     1419#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1420msgid "Your {site_title} order has been received"
     1421msgstr "Se ha recibido tu pedido de {site_title}"
     1422
     1423#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1424msgid "Thank you for your order"
     1425msgstr "Gracias por tu pedido"
     1426
     1427#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1428msgid "We will notify you once your payment has been confirmed."
     1429msgstr "Te notificaremos una vez que se confirme tu pago."
     1430
     1431#. translators: %s: Customer first name
     1432#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1433#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1434msgid "Hi %s,"
     1435msgstr "Hola %s,"
     1436
     1437#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1438#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1439msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1440msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1441
     1442#: app/Views/templates/thankyou-page/credit.php:11
     1443msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1444msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1445
     1446#: app/Views/templates/thankyou-page/credit.php:14
     1447msgid "Your credit card payment failed. Please try again"
     1448msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/trunk/languages/wc-koin-official-es_ES.po

    r3393160 r3404173  
    314314
    315315#: app/Controllers/Gateways/Credit.php:415
    316 #: app/Controllers/Gateways/Gateway.php:644
     316#: app/Controllers/Gateways/Gateway.php:647
    317317msgid "Invalid address fields! Please check that the fields are filled in correctly."
    318318msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    319319
    320 #: app/Controllers/Gateways/Gateway.php:95
     320#: app/Controllers/Gateways/Gateway.php:98
    321321msgid "An unknown error has occurred. Please, contact Us."
    322322msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    323323
    324 #: app/Controllers/Gateways/Gateway.php:167
     324#: app/Controllers/Gateways/Gateway.php:170
    325325msgid "Waiting for credit confirmation from Koin."
    326326msgstr "Esperando confirmación de crédito de Koin."
    327327
    328 #: app/Controllers/Gateways/Gateway.php:175
     328#: app/Controllers/Gateways/Gateway.php:178
    329329msgid "Test mode activate! In this mode transactions are not real."
    330330msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    331331
    332 #: app/Controllers/Gateways/Gateway.php:190
     332#: app/Controllers/Gateways/Gateway.php:193
    333333msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    334334msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    335335
    336 #: app/Controllers/Gateways/Gateway.php:196
     336#: app/Controllers/Gateways/Gateway.php:199
    337337msgid "Payment rejected! It was not possible to make the payment."
    338338msgstr "¡Pago rechazado! No fue posible realizar el pago."
    339339
    340 #: app/Controllers/Gateways/Gateway.php:225
     340#: app/Controllers/Gateways/Gateway.php:228
    341341#: app/Controllers/Webhooks/Order.php:131
    342342msgid "Order captured:"
    343343msgstr "Pedido capturado:"
    344344
    345 #: app/Controllers/Gateways/Gateway.php:256
     345#: app/Controllers/Gateways/Gateway.php:259
    346346msgid "It was not possible to make the payment. Payment rejected!"
    347347msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    348348
    349 #: app/Controllers/Gateways/Gateway.php:923
     349#: app/Controllers/Gateways/Gateway.php:926
    350350msgid "Payment method discount"
    351351msgstr "Descuento por método de pago"
     
    594594msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    595595
    596 #: app/Controllers/Status.php:32
     596#: app/Controllers/Status.php:33
    597597msgid "Awaiting payment"
    598598msgstr "Esperando pago"
    599599
    600 #: app/Controllers/Status.php:33
     600#: app/Controllers/Status.php:34
    601601msgid "Under analysist"
    602602msgstr "En análisis"
     
    11391139msgstr "Koin - Pix en Cuotas (Pagar en cuotas sin tarjeta)"
    11401140
    1141 #: app/Controllers/Gateways/Gateway.php:143
     1141#: app/Controllers/Gateways/Gateway.php:146
    11421142msgid "Refund failed."
    11431143msgstr ""
     
    11451145"stage"
    11461146
    1147 #: app/Controllers/Koin.php:148
     1147#: app/Controllers/Koin.php:146
    11481148msgid "Missing required parameters for refund."
    11491149msgstr "Faltan parámetros requeridos para el reembolso."
     
    11931193msgstr "Pedido recibido y en análisis."
    11941194
    1195 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1195#: app/Services/Koin/Requests/Orders/Refund.php:40
    11961196msgid "Invalid order ID or Koin order ID"
    11971197msgstr "ID de pedido o ID de pedido de Koin inválido"
    11981198
    1199 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1199#: app/Services/Koin/Requests/Orders/Refund.php:62
    12001200msgid "Error"
    12011201msgstr "Error"
    12021202
    1203 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1203#: app/Services/Koin/Requests/Orders/Refund.php:69
    12041204msgid "==== KOIN REFUND SUCCESS ===="
    12051205msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12061206
    1207 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1207#: app/Services/Koin/Requests/Orders/Refund.php:72
    12081208msgid "The refund was processed successfully."
    12091209msgstr "El reembolso se procesó con éxito."
    12101210
    1211 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1211#: app/Services/Koin/Requests/Orders/Refund.php:79
    12121212msgid "The refund worked successfully."
    12131213msgstr "El reembolso funcionó con éxito."
    12141214
    1215 #: app/Controllers/Koin.php:159
     1215#: app/Controllers/Koin.php:157
    12161216msgid "Failed to process refund request."
    12171217msgstr "Error al procesar la solicitud de reembolso."
    12181218
    1219 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1219#: app/Services/Koin/Requests/Orders/Refund.php:91
    12201220msgid "==== KOIN REFUND ERROR ===="
    12211221msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    13791379msgstr "Interés de la tarjeta"
    13801380
    1381 #: app/Controllers/Gateways/Gateway.php:193
     1381#: app/Controllers/Gateways/Gateway.php:196
    13821382msgid "Payment rejected! Invalid card details. Please, try again."
    13831383msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13991399msgstr "Tarjeta de débito"
    14001400
    1401 #: app/Views/templates/thankyou-page/credit.php:9
     1401#: app/Views/templates/thankyou-page/credit.php:17
    14021402msgid "Card payment successful!"
    14031403msgstr "¡Pago con tarjeta exitoso!"
     
    14071407msgid "Credit or Debit Card - Koin"
    14081408msgstr "Tarjeta de crédito o débito - Koin"
     1409
     1410#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1411msgid "Awaiting Analysis Order"
     1412msgstr "En análisis"
     1413
     1414#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1415msgid "This email is sent to customers when their order is under analysis."
     1416msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1417
     1418#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1419msgid "Your {site_title} order has been received"
     1420msgstr "Se ha recibido tu pedido de {site_title}"
     1421
     1422#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1423msgid "Thank you for your order"
     1424msgstr "Gracias por tu pedido"
     1425
     1426#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1427msgid "We will notify you once your payment has been confirmed."
     1428msgstr "Te notificaremos una vez que se confirme tu pago."
     1429
     1430#. translators: %s: Customer first name
     1431#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1432#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1433msgid "Hi %s,"
     1434msgstr "Hola %s,"
     1435
     1436#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1437#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1438msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1439msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1440
     1441#: app/Views/templates/thankyou-page/credit.php:11
     1442msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1443msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1444
     1445#: app/Views/templates/thankyou-page/credit.php:14
     1446msgid "Your credit card payment failed. Please try again"
     1447msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/trunk/languages/wc-koin-official-es_MX.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en cuotas (Pague en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr "El reembolso falló."
    11451145
    1146 #: app/Controllers/Koin.php:148
     1146#: app/Controllers/Koin.php:146
    11471147msgid "Missing required parameters for refund."
    11481148msgstr "Faltan parámetros requeridos para el reembolso."
     
    11921192msgstr "Pedido recibido y en análisis."
    11931193
    1194 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1194#: app/Services/Koin/Requests/Orders/Refund.php:40
    11951195msgid "Invalid order ID or Koin order ID"
    11961196msgstr "ID de pedido o ID de pedido Koin inválido"
    11971197
    1198 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1198#: app/Services/Koin/Requests/Orders/Refund.php:62
    11991199msgid "Error"
    12001200msgstr "Error"
    12011201
    1202 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1202#: app/Services/Koin/Requests/Orders/Refund.php:69
    12031203msgid "==== KOIN REFUND SUCCESS ===="
    12041204msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12051205
    1206 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1206#: app/Services/Koin/Requests/Orders/Refund.php:72
    12071207msgid "The refund was processed successfully."
    12081208msgstr "El reembolso se procesó correctamente."
    12091209
    1210 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1210#: app/Services/Koin/Requests/Orders/Refund.php:79
    12111211msgid "The refund worked successfully."
    12121212msgstr "El reembolso funcionó correctamente."
    12131213
    1214 #: app/Controllers/Koin.php:159
     1214#: app/Controllers/Koin.php:157
    12151215msgid "Failed to process refund request."
    12161216msgstr "Error al procesar la solicitud de reembolso."
    12171217
    1218 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1218#: app/Services/Koin/Requests/Orders/Refund.php:91
    12191219msgid "==== KOIN REFUND ERROR ===="
    12201220msgstr "==== ERROR DE REEMBOLSO KOIN ===="
     
    13781378msgstr "Interés de la tarjeta"
    13791379
    1380 #: app/Controllers/Gateways/Gateway.php:193
     1380#: app/Controllers/Gateways/Gateway.php:196
    13811381msgid "Payment rejected! Invalid card details. Please, try again."
    13821382msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13981398msgstr "Tarjeta de débito"
    13991399
    1400 #: app/Views/templates/thankyou-page/credit.php:9
     1400#: app/Views/templates/thankyou-page/credit.php:17
    14011401msgid "Card payment successful!"
    14021402msgstr "¡Pago con tarjeta exitoso!"
     
    14061406msgid "Credit or Debit Card - Koin"
    14071407msgstr "Tarjeta de crédito o débito - Koin"
     1408
     1409#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1410msgid "Awaiting Analysis Order"
     1411msgstr "En análisis"
     1412
     1413#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1414msgid "This email is sent to customers when their order is under analysis."
     1415msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1416
     1417#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1418msgid "Your {site_title} order has been received"
     1419msgstr "Se ha recibido tu pedido de {site_title}"
     1420
     1421#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1422msgid "Thank you for your order"
     1423msgstr "Gracias por tu pedido"
     1424
     1425#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1426msgid "We will notify you once your payment has been confirmed."
     1427msgstr "Te notificaremos una vez que se confirme tu pago."
     1428
     1429#. translators: %s: Customer first name
     1430#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1431#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1432msgid "Hi %s,"
     1433msgstr "Hola %s,"
     1434
     1435#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1436#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1437msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1438msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1439
     1440#: app/Views/templates/thankyou-page/credit.php:11
     1441msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1442msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1443
     1444#: app/Views/templates/thankyou-page/credit.php:14
     1445msgid "Your credit card payment failed. Please try again"
     1446msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/trunk/languages/wc-koin-official-es_PE.po

    r3393160 r3404173  
    315315
    316316#: app/Controllers/Gateways/Credit.php:415
    317 #: app/Controllers/Gateways/Gateway.php:644
     317#: app/Controllers/Gateways/Gateway.php:647
    318318msgid "Invalid address fields! Please check that the fields are filled in correctly."
    319319msgstr "¡Campos de dirección inválidos! Por favor, verifique que los campos estén completados correctamente."
    320320
    321 #: app/Controllers/Gateways/Gateway.php:95
     321#: app/Controllers/Gateways/Gateway.php:98
    322322msgid "An unknown error has occurred. Please, contact Us."
    323323msgstr "Ha ocurrido un error desconocido. Por favor, contáctenos."
    324324
    325 #: app/Controllers/Gateways/Gateway.php:167
     325#: app/Controllers/Gateways/Gateway.php:170
    326326msgid "Waiting for credit confirmation from Koin."
    327327msgstr "Esperando confirmación de crédito de Koin."
    328328
    329 #: app/Controllers/Gateways/Gateway.php:175
     329#: app/Controllers/Gateways/Gateway.php:178
    330330msgid "Test mode activate! In this mode transactions are not real."
    331331msgstr "¡Modo de prueba activado! En este modo, las transacciones no son reales."
    332332
    333 #: app/Controllers/Gateways/Gateway.php:190
     333#: app/Controllers/Gateways/Gateway.php:193
    334334msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    335335msgstr "¡Pago rechazado! La transacción fue rechazada debido a un error de procesamiento. Por favor, contáctenos."
    336336
    337 #: app/Controllers/Gateways/Gateway.php:196
     337#: app/Controllers/Gateways/Gateway.php:199
    338338msgid "Payment rejected! It was not possible to make the payment."
    339339msgstr "¡Pago rechazado! No fue posible realizar el pago."
    340340
    341 #: app/Controllers/Gateways/Gateway.php:225
     341#: app/Controllers/Gateways/Gateway.php:228
    342342#: app/Controllers/Webhooks/Order.php:131
    343343msgid "Order captured:"
    344344msgstr "Pedido capturado:"
    345345
    346 #: app/Controllers/Gateways/Gateway.php:256
     346#: app/Controllers/Gateways/Gateway.php:259
    347347msgid "It was not possible to make the payment. Payment rejected!"
    348348msgstr "No fue posible realizar el pago. ¡Pago rechazado!"
    349349
    350 #: app/Controllers/Gateways/Gateway.php:923
     350#: app/Controllers/Gateways/Gateway.php:926
    351351msgid "Payment method discount"
    352352msgstr "Descuento por método de pago"
     
    595595msgstr "Al activar esta opción tendrás acceso a una opción de sincronización manual del estado dentro de las páginas de pedidos. Solo habilita esta opción si sabes lo que estás haciendo."
    596596
    597 #: app/Controllers/Status.php:32
     597#: app/Controllers/Status.php:33
    598598msgid "Awaiting payment"
    599599msgstr "Esperando pago"
    600600
    601 #: app/Controllers/Status.php:33
     601#: app/Controllers/Status.php:34
    602602msgid "Under analysist"
    603603msgstr "En análisis"
     
    11401140msgstr "Koin - Pix en Cuotas (Paga en cuotas sin tarjeta)"
    11411141
    1142 #: app/Controllers/Gateways/Gateway.php:143
     1142#: app/Controllers/Gateways/Gateway.php:146
    11431143msgid "Refund failed."
    11441144msgstr "El reembolso falló."
    11451145
    1146 #: app/Controllers/Koin.php:148
     1146#: app/Controllers/Koin.php:146
    11471147msgid "Missing required parameters for refund."
    11481148msgstr "Faltan parámetros requeridos para el reembolso."
     
    11921192msgstr "Pedido recibido y en análisis."
    11931193
    1194 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1194#: app/Services/Koin/Requests/Orders/Refund.php:40
    11951195msgid "Invalid order ID or Koin order ID"
    11961196msgstr "ID de pedido o ID de pedido Koin inválido"
    11971197
    1198 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1198#: app/Services/Koin/Requests/Orders/Refund.php:62
    11991199msgid "Error"
    12001200msgstr "Error"
    12011201
    1202 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1202#: app/Services/Koin/Requests/Orders/Refund.php:69
    12031203msgid "==== KOIN REFUND SUCCESS ===="
    12041204msgstr "==== REEMBOLSO KOIN EXITOSO ===="
    12051205
    1206 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1206#: app/Services/Koin/Requests/Orders/Refund.php:72
    12071207msgid "The refund was processed successfully."
    12081208msgstr "El reembolso se procesó con éxito."
    12091209
    1210 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1210#: app/Services/Koin/Requests/Orders/Refund.php:79
    12111211msgid "The refund worked successfully."
    12121212msgstr "El reembolso funcionó con éxito."
    12131213
    1214 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1214#: app/Services/Koin/Requests/Orders/Refund.php:91
    12151215msgid "==== KOIN REFUND ERROR ===="
    12161216msgstr "==== ERROR DE REEMBOLSO KOIN ===="
    12171217
    1218 #: app/Controllers/Koin.php:159
     1218#: app/Controllers/Koin.php:157
    12191219msgid "Failed to process refund request."
    12201220msgstr "Error al procesar la solicitud de reembolso."
     
    13781378msgstr "Interés de la tarjeta"
    13791379
    1380 #: app/Controllers/Gateways/Gateway.php:193
     1380#: app/Controllers/Gateways/Gateway.php:196
    13811381msgid "Payment rejected! Invalid card details. Please, try again."
    13821382msgstr "¡Pago rechazado! Detalles de tarjeta inválidos. Por favor, inténtalo de nuevo."
     
    13981398msgstr "Tarjeta de débito"
    13991399
    1400 #: app/Views/templates/thankyou-page/credit.php:9
     1400#: app/Views/templates/thankyou-page/credit.php:17
    14011401msgid "Card payment successful!"
    14021402msgstr "¡Pago con tarjeta exitoso!"
     
    14061406msgid "Credit or Debit Card - Koin"
    14071407msgstr "Tarjeta de crédito o débito - Koin"
     1408
     1409#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1410msgid "Awaiting Analysis Order"
     1411msgstr "En análisis"
     1412
     1413#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1414msgid "This email is sent to customers when their order is under analysis."
     1415msgstr "Este correo electrónico se envía a los clientes cuando su pedido está en análisis."
     1416
     1417#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1418msgid "Your {site_title} order has been received"
     1419msgstr "Se ha recibido tu pedido de {site_title}"
     1420
     1421#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1422msgid "Thank you for your order"
     1423msgstr "Gracias por tu pedido"
     1424
     1425#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1426msgid "We will notify you once your payment has been confirmed."
     1427msgstr "Te notificaremos una vez que se confirme tu pago."
     1428
     1429#. translators: %s: Customer first name
     1430#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1431#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1432msgid "Hi %s,"
     1433msgstr "Hola %s,"
     1434
     1435#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1436#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1437msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1438msgstr "Tu pedido ha sido recibido y está en análisis. Te notificaremos una vez que se confirme tu pago."
     1439
     1440#: app/Views/templates/thankyou-page/credit.php:11
     1441msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1442msgstr "Su pago con tarjeta de crédito está en análisis. Le notificaremos tan pronto como sea confirmado."
     1443
     1444#: app/Views/templates/thankyou-page/credit.php:14
     1445msgid "Your credit card payment failed. Please try again"
     1446msgstr "Su pago con tarjeta de crédito falló. Por favor, inténtelo de nuevo"
  • wc-koin-official/trunk/languages/wc-koin-official-pt_BR.po

    r3393160 r3404173  
    426426
    427427#: app/Controllers/Gateways/Credit.php:415
    428 #: app/Controllers/Gateways/Gateway.php:644
     428#: app/Controllers/Gateways/Gateway.php:647
    429429msgid "Invalid address fields! Please check that the fields are filled in correctly."
    430430msgstr "Campos de endereço inválidos! Por favor, verifique se os campos estão preenchidos corretamente."
    431431
    432 #: app/Controllers/Gateways/Gateway.php:95
     432#: app/Controllers/Gateways/Gateway.php:98
    433433msgid "An unknown error has occurred. Please, contact Us."
    434434msgstr "Ocorreu um erro desconhecido. Por favor, entre em contato conosco."
    435435
    436 #: app/Controllers/Gateways/Gateway.php:143
     436#: app/Controllers/Gateways/Gateway.php:146
    437437msgid "Refund failed."
    438438msgstr "Falha no reembolso."
    439439
    440 #: app/Controllers/Gateways/Gateway.php:167
     440#: app/Controllers/Gateways/Gateway.php:170
    441441msgid "Waiting for credit confirmation from Koin."
    442442msgstr "Aguardando confirmação de crédito da Koin."
    443443
    444 #: app/Controllers/Gateways/Gateway.php:175
     444#: app/Controllers/Gateways/Gateway.php:178
    445445msgid "Test mode activate! In this mode transactions are not real."
    446446msgstr "Modo de teste ativado! Neste modo as transações não são reais."
    447447
    448 #: app/Controllers/Gateways/Gateway.php:190
     448#: app/Controllers/Gateways/Gateway.php:193
    449449msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    450450msgstr "Pagamento rejeitado! A transação foi recusada devido a um erro de processamento. Por favor, entre em contato conosco."
    451451
    452 #: app/Controllers/Gateways/Gateway.php:196
     452#: app/Controllers/Gateways/Gateway.php:199
    453453msgid "Payment rejected! It was not possible to make the payment."
    454454msgstr "Pagamento rejeitado! Não foi possível realizar o pagamento."
    455455
    456 #: app/Controllers/Gateways/Gateway.php:225
     456#: app/Controllers/Gateways/Gateway.php:228
    457457#: app/Controllers/Webhooks/Order.php:131
    458458msgid "Order captured:"
    459459msgstr "Pedido capturado:"
    460460
    461 #: app/Controllers/Gateways/Gateway.php:256
     461#: app/Controllers/Gateways/Gateway.php:259
    462462msgid "It was not possible to make the payment. Payment rejected!"
    463463msgstr "Não foi possível realizar o pagamento. Pagamento rejeitado!"
    464464
    465 #: app/Controllers/Gateways/Gateway.php:923
     465#: app/Controllers/Gateways/Gateway.php:926
    466466msgid "Payment method discount"
    467467msgstr "Desconto do método de pagamento"
     
    530530msgstr "Erro ao fazer a solicitação"
    531531
    532 #: app/Controllers/Koin.php:148
     532#: app/Controllers/Koin.php:146
    533533msgid "Missing required parameters for refund."
    534534msgstr "Parâmetros necessários para reembolso ausentes."
    535535
    536 #: app/Controllers/Koin.php:159
     536#: app/Controllers/Koin.php:157
    537537msgid "Failed to process refund request."
    538538msgstr "Falha ao processar a solicitação de reembolso."
     
    965965msgstr "Para visualizar os logs clique no link: "
    966966
    967 #: app/Controllers/Status.php:32
     967#: app/Controllers/Status.php:33
    968968msgid "Awaiting payment"
    969969msgstr "Aguardando pagamento"
    970970
    971 #: app/Controllers/Status.php:33
     971#: app/Controllers/Status.php:34
    972972msgid "Under analysist"
    973973msgstr "Em análise"
     
    10461046msgstr "neste link"
    10471047
    1048 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1048#: app/Services/Koin/Requests/Orders/Refund.php:40
    10491049msgid "Invalid order ID or Koin order ID"
    10501050msgstr "ID do pedido ou ID do pedido Koin inválido"
    10511051
    1052 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1052#: app/Services/Koin/Requests/Orders/Refund.php:62
    10531053msgid "Error"
    10541054msgstr "Erro"
    10551055
    1056 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1056#: app/Services/Koin/Requests/Orders/Refund.php:69
    10571057msgid "==== KOIN REFUND SUCCESS ===="
    10581058msgstr "==== REEMBOLSO KOIN BEM-SUCEDIDO ===="
    10591059
    1060 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1060#: app/Services/Koin/Requests/Orders/Refund.php:72
    10611061msgid "The refund was processed successfully."
    10621062msgstr "O reembolso foi processado com sucesso."
    10631063
    1064 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1064#: app/Services/Koin/Requests/Orders/Refund.php:79
    10651065msgid "The refund worked successfully."
    10661066msgstr "O reembolso funcionou com sucesso."
    10671067
    1068 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1068#: app/Services/Koin/Requests/Orders/Refund.php:91
    10691069msgid "==== KOIN REFUND ERROR ===="
    10701070msgstr "==== ERRO DE REEMBOLSO KOIN ===="
     
    13791379msgstr "Juros do Cartão"
    13801380
    1381 #: app/Controllers/Gateways/Gateway.php:193
     1381#: app/Controllers/Gateways/Gateway.php:196
    13821382msgid "Payment rejected! Invalid card details. Please, try again."
    13831383msgstr "Pagamento rejeitado! Dados do cartão inválidos. Por favor, tente novamente."
     
    13991399msgstr "Cartão de Débito"
    14001400
    1401 #: app/Views/templates/thankyou-page/credit.php:9
     1401#: app/Views/templates/thankyou-page/credit.php:17
    14021402msgid "Card payment successful!"
    14031403msgstr "Pagamento com cartão realizado com sucesso!"
     
    14071407msgid "Credit or Debit Card - Koin"
    14081408msgstr "Cartão de Crédito ou Débito - Koin"
     1409
     1410#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     1411msgid "Awaiting Analysis Order"
     1412msgstr "Pedido Em Análise"
     1413
     1414#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     1415msgid "This email is sent to customers when their order is under analysis."
     1416msgstr "Este e-mail é enviado aos clientes quando seu pedido está em análise."
     1417
     1418#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     1419msgid "Your {site_title} order has been received"
     1420msgstr "Seu pedido de {site_title} foi recebido"
     1421
     1422#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     1423msgid "Thank you for your order"
     1424msgstr "Obrigado pelo seu pedido"
     1425
     1426#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     1427msgid "We will notify you once your payment has been confirmed."
     1428msgstr "Vamos notificá-lo assim que seu pagamento for confirmado."
     1429
     1430#. translators: %s: Customer first name
     1431#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1432#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1433msgid "Hi %s,"
     1434msgstr "Olá %s,"
     1435
     1436#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1437#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1438msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1439msgstr "Seu pedido foi recebido e está em análise. Vamos notificá-lo assim que seu pagamento for confirmado."
     1440
     1441#: app/Views/templates/thankyou-page/credit.php:11
     1442msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1443msgstr "Seu pagamento com cartão de crédito está em análise. Notificaremos você assim que for confirmado."
     1444
     1445#: app/Views/templates/thankyou-page/credit.php:14
     1446msgid "Your credit card payment failed. Please try again"
     1447msgstr "Seu pagamento com cartão de crédito falhou. Por favor, tente novamente"
  • wc-koin-official/trunk/languages/wc-koin-official.pot

    r3393160 r3404173  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Koin Official Payments 1.3.16\n"
     5"Project-Id-Version: Koin Official Payments 1.3.17\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-koin-official\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-11-10T16:19:14+00:00\n"
     12"POT-Creation-Date: 2025-11-27T14:05:56+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    199199msgstr ""
    200200
     201#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:22
     202msgid "Awaiting Analysis Order"
     203msgstr ""
     204
     205#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:23
     206msgid "This email is sent to customers when their order is under analysis."
     207msgstr ""
     208
     209#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:49
     210msgid "Your {site_title} order has been received"
     211msgstr ""
     212
     213#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:60
     214msgid "Thank you for your order"
     215msgstr ""
     216
     217#: app/Controllers/Emails/AwaitingAnalysisOrderEmail.php:149
     218msgid "We will notify you once your payment has been confirmed."
     219msgstr ""
     220
    201221#: app/Controllers/Gateways/Billet.php:27
    202222msgid "Koin - Installment Pix (Pay in installments without a card)"
     
    483503
    484504#: app/Controllers/Gateways/Credit.php:415
    485 #: app/Controllers/Gateways/Gateway.php:644
     505#: app/Controllers/Gateways/Gateway.php:647
    486506msgid "Invalid address fields! Please check that the fields are filled in correctly."
    487507msgstr ""
     
    491511msgstr ""
    492512
    493 #: app/Controllers/Gateways/Gateway.php:95
     513#: app/Controllers/Gateways/Gateway.php:98
    494514msgid "An unknown error has occurred. Please, contact Us."
    495515msgstr ""
    496516
    497 #: app/Controllers/Gateways/Gateway.php:143
     517#: app/Controllers/Gateways/Gateway.php:146
    498518msgid "Refund failed."
    499519msgstr ""
    500520
    501 #: app/Controllers/Gateways/Gateway.php:167
     521#: app/Controllers/Gateways/Gateway.php:170
    502522msgid "Waiting for credit confirmation from Koin."
    503523msgstr ""
    504524
    505 #: app/Controllers/Gateways/Gateway.php:175
     525#: app/Controllers/Gateways/Gateway.php:178
    506526msgid "Test mode activate! In this mode transactions are not real."
    507527msgstr ""
    508528
    509 #: app/Controllers/Gateways/Gateway.php:190
     529#: app/Controllers/Gateways/Gateway.php:193
    510530msgid "Payment rejected! The transaction was declined due to a processing error. Please, contact us."
    511531msgstr ""
    512532
    513 #: app/Controllers/Gateways/Gateway.php:193
     533#: app/Controllers/Gateways/Gateway.php:196
    514534msgid "Payment rejected! Invalid card details. Please, try again."
    515535msgstr ""
    516536
    517 #: app/Controllers/Gateways/Gateway.php:196
     537#: app/Controllers/Gateways/Gateway.php:199
    518538msgid "Payment rejected! It was not possible to make the payment."
    519539msgstr ""
    520540
    521 #: app/Controllers/Gateways/Gateway.php:225
     541#: app/Controllers/Gateways/Gateway.php:228
    522542#: app/Controllers/Webhooks/Order.php:131
    523543msgid "Order captured:"
    524544msgstr ""
    525545
    526 #: app/Controllers/Gateways/Gateway.php:256
     546#: app/Controllers/Gateways/Gateway.php:259
    527547msgid "It was not possible to make the payment. Payment rejected!"
    528548msgstr ""
    529549
    530 #: app/Controllers/Gateways/Gateway.php:923
     550#: app/Controllers/Gateways/Gateway.php:926
    531551msgid "Payment method discount"
    532552msgstr ""
     
    595615msgstr ""
    596616
    597 #: app/Controllers/Koin.php:148
     617#: app/Controllers/Koin.php:146
    598618msgid "Missing required parameters for refund."
    599619msgstr ""
    600620
    601 #: app/Controllers/Koin.php:159
     621#: app/Controllers/Koin.php:157
    602622msgid "Failed to process refund request."
    603623msgstr ""
     
    11141134msgstr ""
    11151135
    1116 #: app/Controllers/Status.php:32
     1136#: app/Controllers/Status.php:33
    11171137msgid "Awaiting payment"
    11181138msgstr ""
    11191139
    1120 #: app/Controllers/Status.php:33
     1140#: app/Controllers/Status.php:34
    11211141msgid "Under analysist"
    11221142msgstr ""
     
    11951215msgstr ""
    11961216
    1197 #: app/Services/Koin/Requests/Orders/Refund.php:39
     1217#: app/Services/Koin/Requests/Orders/Refund.php:40
    11981218msgid "Invalid order ID or Koin order ID"
    11991219msgstr ""
    12001220
    1201 #: app/Services/Koin/Requests/Orders/Refund.php:61
     1221#: app/Services/Koin/Requests/Orders/Refund.php:62
    12021222msgid "Error"
    12031223msgstr ""
    12041224
    1205 #: app/Services/Koin/Requests/Orders/Refund.php:68
     1225#: app/Services/Koin/Requests/Orders/Refund.php:69
    12061226msgid "==== KOIN REFUND SUCCESS ===="
    12071227msgstr ""
    12081228
    1209 #: app/Services/Koin/Requests/Orders/Refund.php:71
     1229#: app/Services/Koin/Requests/Orders/Refund.php:72
    12101230msgid "The refund was processed successfully."
    12111231msgstr ""
    12121232
    1213 #: app/Services/Koin/Requests/Orders/Refund.php:78
     1233#: app/Services/Koin/Requests/Orders/Refund.php:79
    12141234msgid "The refund worked successfully."
    12151235msgstr ""
    12161236
    1217 #: app/Services/Koin/Requests/Orders/Refund.php:90
     1237#: app/Services/Koin/Requests/Orders/Refund.php:91
    12181238msgid "==== KOIN REFUND ERROR ===="
    12191239msgstr ""
     
    13371357msgstr ""
    13381358
     1359#. translators: %s: Customer first name
     1360#: app/Views/templates/emails/customer-awaiting-analysis-order.php:20
     1361#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:17
     1362msgid "Hi %s,"
     1363msgstr ""
     1364
     1365#: app/Views/templates/emails/customer-awaiting-analysis-order.php:21
     1366#: app/Views/templates/emails/plain/customer-awaiting-analysis-order.php:18
     1367msgid "Your order has been received and is now under analysis. We will notify you once your payment has been confirmed."
     1368msgstr ""
     1369
    13391370#: app/Views/templates/myaccount/koin-orders.php:33
    13401371msgctxt "hash before order number"
     
    13741405msgstr ""
    13751406
    1376 #: app/Views/templates/thankyou-page/credit.php:9
     1407#: app/Views/templates/thankyou-page/credit.php:11
     1408msgid "Your credit card payment is under analysis. We will notify you as soon as it is confirmed."
     1409msgstr ""
     1410
     1411#: app/Views/templates/thankyou-page/credit.php:14
     1412msgid "Your credit card payment failed. Please try again"
     1413msgstr ""
     1414
     1415#: app/Views/templates/thankyou-page/credit.php:17
    13771416msgid "Card payment successful!"
    13781417msgstr ""
  • wc-koin-official/trunk/readme.txt

    r3393160 r3404173  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.3.16
     6Stable tag: 1.3.17
    77Requires PHP: 7.4
    88License: GPLv3
     
    4242
    4343== Changelog ==
     44
     45= 1.3.17 = - 2025-11-27
     46- Added email template for "Under Analysis" status
     47- Fixes in cancellation and refund processing
     48- Fix in logic for restocking rejected orders
    4449
    4550= 1.3.16 = - 2025-11-10
  • wc-koin-official/trunk/vendor/composer/installed.json

    r3393160 r3404173  
    11{
    22    "packages": [],
    3     "dev": false,
     3    "dev": true,
    44    "dev-package-names": []
    55}
  • wc-koin-official/trunk/vendor/composer/installed.php

    r3393160 r3404173  
    22    'root' => array(
    33        'name' => 'apiki/wc-koin-official',
    4         'pretty_version' => '1.3.15',
    5         'version' => '1.3.15.0',
     4        'pretty_version' => '1.3.17',
     5        'version' => '1.3.17.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    99        'aliases' => array(),
    10         'dev' => false,
     10        'dev' => true,
    1111    ),
    1212    'versions' => array(
    1313        'apiki/wc-koin-official' => array(
    14             'pretty_version' => '1.3.15',
    15             'version' => '1.3.15.0',
     14            'pretty_version' => '1.3.17',
     15            'version' => '1.3.17.0',
    1616            'reference' => null,
    1717            'type' => 'wordpress-plugin',
  • wc-koin-official/trunk/wc-koin-official.php

    r3393160 r3404173  
    44 * Plugin Name: Koin Official Payments
    55 * Plugin URI:  https://github.com/koinlatam
    6  * Version:     1.3.16
     6 * Version:     1.3.17
    77 * Description: Koin Official Payments Gateways
    88 * Text Domain: wc-koin-official
Note: See TracChangeset for help on using the changeset viewer.