<commit_before>define(
    [
        'jquery',
        'ko',
        'mage/storage',
        'Magento_Checkout/js/view/payment/default',
        'Magento_Checkout/js/model/full-screen-loader',
        'Magento_Checkout/js/model/quote',
        'Magento_Customer/js/view/customer',
        'Magento_Checkout/js/model/url-builder',
        'Magento_Checkout/js/model/error-processor',
        'Magento_Catalog/js/price-utils',
        'mage/validation',
    ],
    function (
        $,
        ko,
        storage,
        Component,
        fullScreenLoader,
        quote,
        customer,
        urlBuilder,
        errorProcessor,
        priceUtils
    ) {
        'use strict';

        const convStoreMinimumPurchaseAmount = 150;

        return Component.extend({
            defaults: {
                template: 'Omise_Payment/payment/offline-conveniencestore-form'
            },

            isPlaceOrderActionAllowed: ko.observable(quote.billingAddress() != null),

            /**
             * Get payment method code
             *
             * @return {string}
             */
            getCode: function () {
                return 'omise_offline_conveniencestore';<commit_msg>conv-store js renderer, added missing redirect on success declaration<commit_after>define(
    [
        'jquery',
        'ko',
        'Magento_Checkout/js/view/payment/default',
        'Magento_Checkout/js/model/full-screen-loader',
        'Magento_Checkout/js/action/redirect-on-success',
        'Magento_Checkout/js/model/quote',
        'Magento_Customer/js/view/customer',
        'Magento_Checkout/js/model/error-processor',
        'Magento_Catalog/js/price-utils',
        'mage/validation',
    ],
    function (
        $,
        ko,
        Component,
        fullScreenLoader,
        redirectOnSuccessAction,
        quote,
        customer,
        errorProcessor,
        priceUtils
    ) {
        'use strict';

        const convStoreMinimumPurchaseAmount = 150;

        return Component.extend({
            defaults: {
                template: 'Omise_Payment/payment/offline-conveniencestore-form'
            },

            isPlaceOrderActionAllowed: ko.observable(quote.billingAddress() != null),

            /**
             * Get payment method code
             *
             * @return {string}
             */
            getCode: function () {
                return 'omise_offline_conveniencestore';
{'fraction_non_alphanumeric': 0.10414104141041411, 'fraction_numerical': 0.0024600246002460025, 'mean_word_length': 1.711111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1468909', 'n_tokens_mistral': 693, 'n_tokens_neox': 687, 'n_words': 95}