D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
public_html
/
wabot.delyntro.com
/
app
/
Services
/
Filename :
MidtransService.php
back
Copy
<?php /* Copyright © Magd Almuntaser, OneXGen Technology. All rights reserved. Project: MPWA Whatsapp Gateway | Multi Device Licensed under the CC BY-NC-ND 4.0 License. For details, visit https://creativecommons.org/licenses/by-nc-nd/4.0/. */ namespace App\Services; use Midtrans\Config; class MidtransService { public function __construct() { Config::$serverKey = config('payments.midtrans.server_key'); Config::$clientKey = config('payments.midtrans.client_key'); Config::$isProduction = config('payments.midtrans.is_production') === 'false' ? false : true; Config::$isSanitized = true; Config::$is3ds = true; } }