Plugin Directory

Changeset 2777074


Ignore:
Timestamp:
08/29/2022 09:54:00 AM (4 years ago)
Author:
sprinque
Message:

v.1.0.6

Location:
sprinque/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • sprinque/trunk/assets/js/frontend.js

    r2774385 r2777074  
    505505                success: function (response) {
    506506                    if(response.status === 'true') {
    507                         $('.search_already_added_company').hide();
    508                         $('.verify_your_email').show();
    509                         $('#email-otp-send').html(email);
    510                         buyer_email = email;
    511                         merchant_buyer_id = response.result.merchant_buyer_id;
    512                         sprinque_send_otp_verification();
     507                        if(response.otp_validated === 'false') {
     508                            $('.search_already_added_company').hide();
     509                            $('.verify_your_email').show();
     510                            $('#email-otp-send').html(email);
     511                            buyer_email = email;
     512                            merchant_buyer_id = response.result.merchant_buyer_id;
     513                            sprinque_send_otp_verification();
     514                        } else {
     515                            showTab('.verifying_your_account');
     516                            autorize_company_payment();
     517                        }
    513518                    } else {
    514519                        $('.error-confirm-order').show().html(response.message);
  • sprinque/trunk/languages/sprinque-de_DE.po

    r2774385 r2777074  
    115115#: include/payment_method.php:515
    116116msgid ""
    117 "Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
    118 "URLs"
    119 msgstr ""
    120 "Finden Sie es in Ihrem Profil im Srinque. Übersicht > Mein Konto > API-"
    121 "Schlüssel und URLs"
     117"Find it in your Profile at the Srinque. Overview > My Account > API Keys and URLs"
     118msgstr ""
     119"Du findest ihn in deinem Profil bei Sprinque. Übersicht > Mein Konto > API-Schlüssel und URLs"
    122120
    123121#: templates/frontend/srinque_pay_modal_form.php:82
     
    251249"a decision is made. <br>We will notify you by email once the review is "
    252250"complete."
    253 msgstr ""
    254 "Die Genehmigung kann bis zu 24 Stunden dauern. Ihre Bestellung wird erst "
    255 "bestätigt, wenn eine Entscheidung getroffen wurde. <br>Wir werden Sie per E-"
    256 "Mail benachrichtigen, sobald die Überprüfung abgeschlossen ist."
     251msgstr "Die Genehmigung kann bis zu 24 Stunden dauern. Deine Bestellung ist erst bestätigt, wenn eine Entscheidung getroffen wurde. Wir werden dich per E-Mail benachrichtigen, sobald die Prüfung abgeschlossen ist."
    257252
    258253#: templates/frontend/srinque_pay_modal_form.php:64
     
    300295msgid "You have been approved for a payment term of"
    301296msgstr "Sie genehmigt wurden, und für die eine Zahlung Begriff"
     297
     298#: include/payment_method.php:495
     299msgid "Instructions"
     300msgstr "Anweisungen"
     301
     302#: include/payment_method.php:497
     303msgid "Instructions that will be added to the thank you page and emails."
     304msgstr "Anweisungen, die auf der "Danke"-Seite und in den E-Mails hinzugefügt werden."
     305
     306#: include/payment_method.php:490
     307msgid "Payment method description that the customer will see on your checkout."
     308msgstr "Beschreibung der Zahlungsmethode, die der Kunde an der Kasse sehen wird."
     309
     310#: include/payment_method.php:483
     311msgid This controls the title for the payment method the customer sees during checkout."
     312msgstr "Dies steuert den Titel für die Zahlungsmethode, die der Kunde beim Checkout sieht."
     313
     314#: include/payment_method.php:481
     315msgid "Title"
     316msgstr "Titel"
  • sprinque/trunk/languages/sprinque-en_US.po

    r2774385 r2777074  
    2626#: templates/frontend/srinque_pay_modal_form.php:42
    2727msgid "Apartment, suite, etc (optional)"
    28 msgstr ""
     28msgstr "Apartment, suite, etc. (optional)"
    2929
    3030#: include/payment_method.php:513
     
    115115#: include/payment_method.php:515
    116116msgid ""
    117 "Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
    118 "URLs"
    119 msgstr ""
     117"Find it in your Profile at the Srinque. Overview > My Account > API Keys and URLs"
     118msgstr "You can find your API token in the Sprinque portal Settings > API keys and urls page"
    120119
    121120#: templates/frontend/srinque_pay_modal_form.php:82
     
    150149#: templates/frontend/srinque_pay_modal_form.php:32
    151150msgid "Not all required fields is filled"
    152 msgstr ""
     151msgstr "Not all required fields are filled"
    153152
    154153#: templates/frontend/srinque_pay_modal_form.php:115
     
    243242"a decision is made. <br>We will notify you by email once the review is "
    244243"complete."
    245 msgstr ""
     244msgstr "This may take up to 24 hours for approval. Your Order is not confirmed until a decision is made. <br>We will notify you by email once the review is complete."
    246245
    247246#: templates/frontend/srinque_pay_modal_form.php:64
     
    283282msgid "You have been approved for a payment term of"
    284283msgstr ""
     284
     285#: include/payment_method.php:495
     286msgid "Instructions"
     287msgstr ""
     288
     289#: include/payment_method.php:497
     290msgid "Instructions that will be added to the thank you page and emails."
     291msgstr "Instructions that will be added to the “Thank You” page and emails."
     292
     293#: include/payment_method.php:490
     294msgid "Payment method description that the customer will see on your checkout."
     295msgstr ""
     296
     297#: include/payment_method.php:483
     298msgid This controls the title for the payment method the customer sees during checkout."
     299msgstr "This controls the title for the payment method the customer sees during checkout."
     300
     301#: include/payment_method.php:481
     302msgid "Title"
     303msgstr "Title"
  • sprinque/trunk/languages/sprinque-nl_NL.po

    r2774385 r2777074  
    2626#: templates/frontend/srinque_pay_modal_form.php:42
    2727msgid "Apartment, suite, etc (optional)"
    28 msgstr "Appartement, toevoeging, etc (optioneel)"
     28msgstr "Appartement, toevoeging, etc. (optioneel)"
    2929
    3030#: include/payment_method.php:513
     
    115115#: include/payment_method.php:515
    116116msgid ""
    117 "Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
    118 "URLs"
     117"Find it in your Profile at the Srinque. Overview > My Account > API Keys and URLs"
    119118msgstr ""
    120 "Vind het in je profiel onder Sprinque. Overzicht > mijn account > API "
    121 "sleutel en URLs"
     119"Vind het in je profiel onder Sprinque. Overzicht > mijn account > API sleutel en URLs"
    122120
    123121#: templates/frontend/srinque_pay_modal_form.php:82
     
    248246"a decision is made. <br>We will notify you by email once the review is "
    249247"complete."
    250 msgstr ""
    251 "Dit kan 24 uur duren. Je besetelling is nog niet bevestigd tot de beslissing "
    252 "is gemaakt. <br> We sturen je een bericht zodra de beoordeling voltooid is."
     248msgstr "Dit kan 24 uur duren. Je besetelling is nog niet bevestigd tot de beslissing is gemaakt. <br> We sturen je een bericht zodra de beoordeling voltooid is."
    253249
    254250#: templates/frontend/srinque_pay_modal_form.php:64
     
    292288msgid "You have been approved for a payment term of"
    293289msgstr "Je bent goedgekeurd voor een betalingstermijn van"
     290
     291#: include/payment_method.php:495
     292msgid "Instructions"
     293msgstr "Instructies"
     294
     295#: include/payment_method.php:497
     296msgid "Instructions that will be added to the thank you page and emails."
     297msgstr "Instructies die worden toegevoegd aan de bedankt pagina en e-mails."
     298
     299#: include/payment_method.php:490
     300msgid "Payment method description that the customer will see on your checkout."
     301msgstr "Beschrijving van de betaalmethode die de klant ziet in de checkout."
     302
     303#: include/payment_method.php:483
     304msgid This controls the title for the payment method the customer sees during checkout."
     305msgstr "Hiermee regel je de beschrijving van de betaalmethode die de klant ziet in de checkout."
     306
     307#: include/payment_method.php:481
     308msgid "Title"
     309msgstr "Titel"
  • sprinque/trunk/languages/sprinque.po

    r2771284 r2777074  
    6666#: include/payment_method.php:483
    6767msgid ""
    68 "This controls the title for the payment method the customer sees during "
    69 "checkout."
     68"This controls the title for the payment method the customer sees during checkout."
    7069msgstr ""
    7170
     
    9291#: include/payment_method.php:512
    9392msgid ""
    94 "Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
    95 "URLs"
     93"Find it in your Profile at the Srinque. Overview > My Account > API Keys and URLs"
    9694msgstr ""
    9795
  • sprinque/trunk/languages/sprinque.pot

    r2774385 r2777074  
    116116#: include/payment_method.php:515
    117117msgid ""
    118 "Find it in your Profile at the Srinque. Overview > My Account > API Keys and "
    119 "URLs"
     118"Find it in your Profile at the Srinque. Overview > My Account > API Keys and URLs"
    120119msgstr ""
    121120
  • sprinque/trunk/readme.txt

    r2774385 r2777074  
    66Tested up to: 6.0
    77Requires PHP: 5.3
    8 Stable tag: 1.0.5
     8Stable tag: 1.0.6
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3030== Changelog ==
    3131
     32= 1.0.6 - August 26, 2022 =
     33* Fixed issues when a webhook trigger multiple awaiting orders
     34* Fixed issue when validating email modal appear redundantly
     35* Improved translations
     36
    3237= 1.0.5 - August 23, 2022 =
    3338* Improved translations
  • sprinque/trunk/sprinque.php

    r2774385 r2777074  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.0.5
     7Version: 1.0.6
    88Text Domain: sprinque
    99Domain Path: /languages
     
    317317                'order'      => 'DESC',
    318318                'status'     => [ 'awaiting-review' ],
    319                 'meta_query' => array(
    320                     array(
    321                         'key'     => 'review_order',
    322                         'value'   => $webhook['buyer_id'],
    323                         'compare' => '=',
    324                     ),
    325                 ),
     319                'meta_key'      => 'review_order',
     320                'meta_value'    => $webhook['buyer_id'],
     321                'meta_compare'  => '='
    326322            ) );
    327323
     
    429425    public function include_scripts_and_styles() {
    430426        // Register styles
    431         wp_enqueue_style( 'wpm_srinque_pay', PLUGIN_SRINQUE_PATH . '/assets/css/frontend.css', false, '1.0.82', 'all' );
     427        wp_enqueue_style( 'wpm_srinque_pay', PLUGIN_SRINQUE_PATH . '/assets/css/frontend.css', false, '1.0.84', 'all' );
    432428
    433429        // Register scripts
    434         wp_enqueue_script( 'wpm_srinque_pay', PLUGIN_SRINQUE_PATH . '/assets/js/frontend.js', array( 'jquery' ), '1.0.82', 'all' );
     430        wp_enqueue_script( 'wpm_srinque_pay', PLUGIN_SRINQUE_PATH . '/assets/js/frontend.js', array( 'jquery' ), '1.0.84', 'all' );
    435431        wp_localize_script( 'wpm_srinque_pay', 'admin', array(
    436432            'ajaxurl' => admin_url( 'admin-ajax.php' ),
Note: See TracChangeset for help on using the changeset viewer.