<?php
/**
 * Created by PhpStorm.
 * User: TOSHIBA
 * Date: 24/06/2020
 * Time: 21:23
 */


return  [

    "timeout_message" => "Nous n'avons pas pu enregistrer votre commande en ce moment
     mais pas d'inquiétude, vous retrouverez votre commande dans l'onglet Mes commandes
     dans 10 minutes si le paiement a été bien effectuer et votre compte débité.
     Bien vouloir contacter le service Call Center via le lien ci-dessous
     si vous ne retrouvez pas votre commande dans l'onglet Mes Commandes au-delà de plus de 30 minutes.",


    "mtn-momo-cmr" => [
        'id'=> 2,
        "operator_code"=> null,
        "timeout_transaction" => 10, // (en min)
        "time_check_status" => (20 * 1000), // (en ms) = 20s,
        "waiting_alert" => [
            "message" => "The transaction has been initiated. If you have not been automatically notified, dial *126#, then confirm with your secret code. [By Ets Zeal-Tech Consulting]",
            "style" => "background: #FECD1B; !important; color: #000 !important;", //(jaune)
            "mark" => [
                "message" => "composez *126#",
                "style" => [
                    "background" => "background: #000;",
                    "color" => "color: #fff;"
                ],
            ]
        ],
        "validation" => [
            "prefix" => 237,
            "max_lenght_without_prefix" => 9,
            "max_lenght_with_prefix" => 12,
        ]
    ],

    "orange-momo-cmr" => [
        'id'=> 2,
        "operator_code"=> "OM",
        "timeout_transaction" => 5, // (en min)
        "time_check_status" => (20 * 1000), // (en ms) = 20s,
        "waiting_alert" =>[
            "message" => "La transaction a été initié. Si vous n'avez été automatiquement notifié, composez #150*50#, puis validez avec votre code secret.",
            "style" => "background: #EF7F13; !important; color: #fff !important;", //(jaune)
            "mark" => [
                "message" => "composez #150*50#",
                "style" => [
                    "background" => "background: #EF7F13;", // (orange)
                    "color" => "color: #fff;"
                ],
            ]
        ],
        "validation" => [
            "prefix" => 237,
            "max_lenght_without_prefix" => 9,
            "max_lenght_with_prefix" => 12,
        ]
    ],

    "mobi-cash-gab" => [
        "id"=> 10,
        "tel_marchand"=> "060323778",
        "operator_code"=> "MC",
        "timeout_transaction" => 2, // (en min)
        "time_check_status" => (20 * 1000), // (en ms) = 20s,
        "waiting_alert" =>[
            "messages" => [
                //"sur votre téléphone pour valider le paiement."
            ],
            "style" => [
                "background" => "background: #F07F05;", //(orange-mobicash)
                "color" => "color: #fff;"
            ],
            "mark" => [
                "message" => "veuillez réessayer après 2min",
                "style" => [
                    "background" => "background: #fff;",
                    "color" => "color: #157CBF;" // (bleue-mobicash)
                ],
            ]
        ],
        "validation" => [
            "prefix" => 241,
            "max_lenght_without_prefix" => 9,
            "max_lenght_with_prefix" => 11,
        ]
    ],

    "airtel-momo-gab" => [
        "id"=> 3,
        "tel_marchand"=> "076666000",
        "operator_code"=> "AM",
        "timeout_transaction" => 2, // (en min)
        "time_check_status" => (20 * 1000), // (en ms) = 20s,
        "waiting_alert" =>[
            "messages" => [
                ""
                // "sur votre téléphone pour valider le paiement."
            ],
            "style" => [
                "background" => "background: #FD0002;", //(rouge-airtel)
                "color" => "color: #fff;"
            ],
            "mark" => [
                "message" => "veuillez réessayer après 2min",
                "style" => [
                    "background" => "background: #fff;",
                    "color" => "color: #FD0002;" //
                ],
            ]
        ],
        "validation" => [
            "prefix" => 241,
            "max_lenght_without_prefix" => 9,
            "max_lenght_with_prefix" => 11,
        ]
    ],

    "paypal-rest" => [
        "operator_code"=> "PAYPAL",
        "timeout_transaction" => 10, // (en min)
        "time_check_status" => (20 * 1000), // (en ms) = 20s,
        "waiting_alert" =>[
            "message" => "The transaction has been initiated. Validate the transaction in the window that will open",
            "style" => "background: #3490dc; !important; color: #fff !important;", //(jaune)
        ],
    ],


    "save-order-when-cron-check-transaction-status" => [
       \App\Services\SaveOrderService::class,
    ]

];
