HEX
Server: nginx/1.24.0
System: Linux prod-btpayments-io 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: /var/www/BtPayments/BtPayments-platform/routes/dev.php
<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Dev\EmailController;

Route::get('dev/email', [EmailController::class, 'index']);
Route::get('dev/email/payment-update-to-payer', [EmailController::class, 'paymentUpdateToPayer']);
Route::get('dev/email/payment-update-to-merchant', [EmailController::class, 'paymentUpdateToMerchant']);
Route::get('dev/email/new-withdraw-to-platform', [EmailController::class, 'newWithdrawToPlatform']);
Route::get('dev/email/withdraw-has-processed-to-user', [EmailController::class, 'withdrawHasProcessedToUser']);

Route::get('dev/email/verification-code', [EmailController::class, 'verificationCode']);


Route::get('dev/shopify', function (\Illuminate\Http\Request $request) {
    $shopify = new PHPShopify\ShopifySDK([
        'ShopUrl' => 'thppwe-re.myshopify.com',
        'AccessToken' => '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',
    ]);

    $orderId = '11253128331631';

    $res = $shopify->Order($orderId)->get();

    dd($res);

    // $notifyRecord = \App\Models\CoinPal\CoinPalNotifyRecord::latest()->first();

    // $notifyRecord = \App\Models\CoinPal\CoinPalNotifyRecord::find($request->query('id'));
    // $res = \App\Jobs\Payment\ForwardCoinPalNotificationToMerchant::dispatch($notifyRecord);

    // dd('done', $res);
});