This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Adblock Plus 2.0] | |
! Version: | |
! Title: GeoList | |
! Last modified: | |
! Expires: 4 days (update frequency) | |
! Homepage: https://longman.me/ | |
! Licence: https://longman.me/licence.html | |
! | |
! Please report any unblocked adverts or problems | |
! in the gist (https://gist.github.com/akalongman/91b45a1f4871afdfa79d83b0e3d05d1b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.json.*; | |
public class Main { | |
public static void main(String[] args) { | |
String str = ";{\"uuid\":\"d1d06498-294d-430e-a7ca-b21a01e5a5dd\",\"displayName\":\"App\\\\Jobs\\\\SendSmsOneJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\SendSmsOneJob\",\"command\":\"O:22:\\\"App\\\\Jobs\\\\SendSmsOneJob\\\":2:{s:4:\\\"data\\\";s:303:\\\"{\\\"subject\\\":\\\"Photocenter\\\",\\\"message\\\":\\\"ბოლო მესიჯი გამოგზავნილია 11:45\\\",\\\"phone\\\":\\\"995555555\\\",\\\"ignore_blacklist\\\":true,\\\"company_id\\\":115,\\\"type\\\":\\\"transactional_messages\\\",\\\"ip_address\\\":\\\"213.217.16.42\\\",\\\"uuid\\\":\\\"55021d6f-20ec-49db-9269-f51b7166b35d\\\",\\\"sms_type\\\":\\\"a2p\\\"}\\\";s:5:\\\"queue\\\";s:7:\\\"a2p_one\\\";}\"},\"sentry_baggage_data\":\"sentry-trace_id=03203501f21e4a829e635323149697c5,sentry-public_key=2f8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Http\Controllers\Api\V1; | |
use App\Models\Order; | |
use App\Services\OrdersService; | |
use App\Services\PurchaseService; | |
use Illuminate\Http\Request; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function generateRedirectUrl(Order $order): ?string | |
{ | |
if (! $order->isPaymentTypeBank()) { | |
return null; | |
} | |
$requestUri = [ | |
'lang_code' => config('project.payments.merchant.lang_code'), | |
'merch_id' => config('project.payments.merchant.merch_id'), | |
'o.order_id' => $order->getId(), |
OlderNewer